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
Unsigned constants for ISO_FORTRAN_ENV and ISO_C_BINDING.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20030828-1.c
blob
08af4e2ad4bfaf0bb8d6f1efc547124c83749dc7
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
const int
*
p
;
5
6
int
bar
(
void
)
7
{
8
return
*
p
+
1
;
9
}
10
11
int
12
main
(
void
)
13
{
14
/* Variable 'i' is never used but it's aliased to a global pointer. The
15
alias analyzer was not considering that 'i' may be used in the call to
16
bar(). */
17
const int
i
=
5
;
18
p
= &
i
;
19
if
(
bar
() !=
6
)
20
abort
();
21
exit
(
0
);
22
}