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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
noreorder3.c
blob
a0b637f60cbab1f266b3e77561a1d1c6c31bb4e3
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
__attribute__
((
no_reorder
))
int
foobar
;
5
static int
barbar
;
6
int
bozo
;
7
8
/* { dg-final { scan-assembler "foobar" } } */
9
/* { dg-final { scan-assembler "bozo" } } */
10
/* { dg-final { scan-assembler-not "barbar" } } */