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.dg
/
torture
/
pr70333.c
blob
854e6d59e1a7d1b04cd1098793b7eb453404d35b
1
/* { dg-do run } */
2
/* { dg-require-effective-target lp64 } */
3
4
unsigned long int
5
foo
(
signed char
b
,
signed char
e
)
6
{
7
return
((
2ULL
*
b
) * (
e
*
13
)) * (
32
<<
24
);
8
}
9
10
int
11
main
()
12
{
13
if
(
__CHAR_BIT__
==
8
14
&&
sizeof
(
int
) ==
4
15
&&
sizeof
(
long long
) ==
8
16
&&
foo
(-
60
,
1
) !=
0xffffff3d00000000
ULL
)
17
__builtin_abort
();
18
return
0
;
19
}