Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr48975.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/48975 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O3 -ffast-math -fno-tree-slp-vectorize" } */ | |
4 | |
5 static int | |
6 foo (int x) | |
7 { | |
8 return (x > 0) ? 0 : x + 1; | |
9 } | |
10 | |
11 void | |
12 bar (unsigned int x) | |
13 { | |
14 int l = 1; | |
15 lab: | |
16 while (x) | |
17 x = foo (x); | |
18 } |