Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr116454-2.c

raw
1 /* { dg-do run } */
2 /* { dg-additional-options "-ffast-math" } */
3 _Complex float arr[2];
4
5 int main() {
6 _Complex float *ptr;
7 ptr = arr;
8 *++ptr * 1j;
9 /* ptr should only increment once, not twice. */
10 if (ptr != arr + 1)
11 __builtin_abort ();
12 }