libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr102897.c
blob8e0d25ee24c14fc8fce330400d11c262ca20f4e9
1 /* { dg-do compile } */
2 /* Specify C99 to avoid the warning/error on compound literals. */
3 /* { dg-options "-O1 -std=c99 -Wno-psabi" } */
5 /* Verify that there is no ICE. */
7 typedef __attribute__((vector_size(8))) signed char int8x8_t;
8 typedef __attribute__((vector_size(8))) unsigned char uint8x8_t;
10 int8x8_t fn1 (int8x8_t val20, char tmp)
12 uint8x8_t __trans_tmp_3;
13 __trans_tmp_3 = (uint8x8_t){tmp};
14 int8x8_t __a = (int8x8_t) __trans_tmp_3;
15 return __builtin_shuffle (__a, val20, (uint8x8_t){0});