Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 /* PR tree-optimization/61684 */ |
2 /* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-O1" "-Os" } } */ | |
3 | |
4 int a, c; | |
5 static int *b = 0; | |
6 short d; | |
7 static short **e = 0; | |
8 | |
9 void | |
10 foo () | |
11 { | |
12 for (; c < 1; c++) | |
13 ; | |
14 *e = &d; | |
15 a = d && (c && 1) & *b; | |
16 } |