libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr116454-1.c
blob6210dcce4a42a226be86252c793867aa5a419b82
1 /* { dg-do run } */
2 /* { dg-additional-options "-ffast-math" } */
4 static int t = 0;
5 _Complex float f()
7 t++;
8 return 0;
10 int main() {
11 t = 0;
12 /* Would cause f() to be incorrectly invoked twice. */
13 f() * 1j;
14 if (t != 1)
15 __builtin_abort();