☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr116454-2.c
☽
☼
gcc/testsuite/gcc.dg/torture/pr116454-2.c
code
plain
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
}