repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56548.c
blob
2aa61d9cc605e84683a454155c71452ba45ba31e
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
}