gcc/testsuite/gcc.dg/pr92741.c
raw| 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 | } |