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
PR target/60941
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20140425-1.c
blob
c447ef95b6c1fa0c065ec18fd8c20de3048c8279
1
/* PR target/60941 */
2
/* Reported by Martin Husemann <martin@netbsd.org> */
3
4
extern
void
abort
(
void
);
5
6
static void
__attribute__
((
noinline
))
7
set
(
unsigned long
*
l
)
8
{
9
*
l
=
31
;
10
}
11
12
int
main
(
void
)
13
{
14
unsigned long
l
;
15
int
i
;
16
17
set
(&
l
);
18
i
= (
int
)
l
;
19
l
= (
unsigned long
)(
2U
<<
i
);
20
if
(
l
!=
0
)
21
abort
();
22
return
0
;
23
}