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
/
pr70450.c
blob
ee5e24d0522402ff60f1e83e400aa2ebe8c12627
1
/* { dg-do run } */
2
/* { dg-require-effective-target lp64 } */
3
4
unsigned long int
a
=
2UL
;
5
int
b
=
2
;
6
unsigned long int
c
=
2UL
;
7
8
void
foo
()
9
{
10
c
=
2
* ((
2
*
a
) * (
2
* (-
b
)));
11
}
12
13
int
main
()
14
{
15
foo
();
16
if
(
c
!=
18446744073709551584UL
)
17
__builtin_abort
();
18
return
0
;
19
}