gcc/testsuite/gcc.dg/torture/pr45678-2.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! lp64 } } } } */ |
| 3 | |
| 4 | typedef float V __attribute__ ((vector_size (16))); |
| 5 | V g; |
| 6 | |
| 7 | int |
| 8 | main () |
| 9 | { |
| 10 | float d[4] = { 4, 3, 2, 1 }; |
| 11 | V e; |
| 12 | __builtin_memcpy (&e, &d, sizeof (d)); |
| 13 | V f = { 5, 15, 25, 35 }; |
| 14 | e = e * f; |
| 15 | g = e; |
| 16 | return 0; |
| 17 | } |