Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr56548.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* PR middle-end/56548 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O3" } */ | |
4 /* { dg-additional-options "-march=pentium3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ | |
5 | |
6 short | |
7 foo (short x) | |
8 { | |
9 int i; | |
10 | |
11 for (i = 0; i < 3; i++) | |
12 if (x > 0) | |
13 x--; | |
14 | |
15 return x; | |
16 } |