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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr80501.c
blob
0a33e1fbd3427e5582f3a8e1aaaa72353dd088af
1
/* PR rtl-optimization/80501 */
2
3
signed char
v
=
0
;
4
5
static signed char
6
foo
(
int
x
,
int
y
)
7
{
8
return
x
<<
y
;
9
}
10
11
__attribute__
((
noinline
,
noclone
))
int
12
bar
(
void
)
13
{
14
return
foo
(
v
>=
0
,
__CHAR_BIT__
-
1
) >=
1
;
15
}
16
17
int
18
main
()
19
{
20
if
(
sizeof
(
int
) >
sizeof
(
char
) &&
bar
() !=
0
)
21
__builtin_abort
();
22
return
0
;
23
}