annotate gcc/testsuite/gcc.c-torture/compile/pr61684.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR tree-optimization/61684 */
kono
parents:
diff changeset
2 /* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-O1" "-Os" } } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 int a, c;
kono
parents:
diff changeset
5 static int *b = 0;
kono
parents:
diff changeset
6 short d;
kono
parents:
diff changeset
7 static short **e = 0;
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 void
kono
parents:
diff changeset
10 foo ()
kono
parents:
diff changeset
11 {
kono
parents:
diff changeset
12 for (; c < 1; c++)
kono
parents:
diff changeset
13 ;
kono
parents:
diff changeset
14 *e = &d;
kono
parents:
diff changeset
15 a = d && (c && 1) & *b;
kono
parents:
diff changeset
16 }