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-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Don't
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
alias-3.c
blob
270ac42b6191ab1ead57499ad234349be4256511
1
/* { dg-require-alias "" } */
2
/* { dg-skip-if "" { powerpc-ibm-aix* } } */
3
static int
a
=
0
;
4
extern
int
b
__attribute__
((
alias
(
"a"
)));
5
__attribute__
((
noinline
))
6
static
inc
()
7
{
8
b
++;
9
}
10
int
11
main
()
12
{
13
a
=
0
;
14
inc
();
15
if
(
a
!=
1
)
16
__builtin_abort
();
17
return
0
;
18
}