Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/loop-29.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR 31885 */ |
2 | |
3 /* { dg-do compile } */ | |
4 /* { dg-options "-O2 -fdump-tree-optimized" } */ | |
5 | |
6 struct s { | |
7 int *blah; | |
8 }; | |
9 | |
10 static struct s array[] = { { 0 } }; | |
11 | |
12 void | |
13 foo (struct s *p) | |
14 { | |
15 struct s *q = &array[1]; | |
16 while (p < q) | |
17 p++; | |
18 } | |
19 | |
20 /* { dg-final { scan-tree-dump-not "if" "optimized" } } */ |