OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-05-20 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
multdi-1.c
1
/* PR target/9348 */
2
3
#define u_l_l unsigned long long
4
#define l_l long long
5
6
l_l mpy_res;
7
8
u_l_l mpy (long a, long b)
9
{
10
return (u_l_l) a * (u_l_l) b;
11
}
12
13
int main(void)
14
{
15
mpy_res = mpy(1,-1);
16
if (mpy_res != -1LL)
17
abort ();
18
return 0;
19
}
20