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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
funcspec-11.c
blob
fc79ac507426861e2bf467758f6f8aa22f8805b0
1
/* PR target/36936 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target ia32 } */
4
/* { dg-options "-O2 -march=i386 -mtune=i686" } */
5
/* { dg-final { scan-assembler "cmov" } } */
6
7
extern
int
foo
(
int
)
__attribute__
((
__target__
(
"arch=i686"
)));
8
9
int
10
foo
(
int
x
)
11
{
12
if
(
x
<
0
)
13
x
=
1
;
14
return
x
;
15
}