comparison gcc/testsuite/gcc.dg/pr92741.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fno-inline" } */
2
3 typedef int vh __attribute__ ((__vector_size__ (2 * sizeof (int))));
4 typedef short int cq __attribute__ ((__vector_size__ (4 * sizeof (short int))));
5
6 static void
7 id (int *r8, vh *tu)
8 {
9 *(vh *) r8 = *tu;
10 }
11
12 void
13 mr (void)
14 {
15 int r8;
16 cq he = { 0, };
17
18 id (&r8, (vh *) &he);
19 }