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
* gcc.c-torture/execute/960321-1.x: Remove.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr41917.c
1
/* PR rtl-optimization/41917 */
2
3
extern void abort (void);
4
unsigned int a = 1;
5
6
int
7
main (void)
8
{
9
unsigned int b, c, d;
10
11
if (sizeof (int) != 4 || (int) 0xc7d24b5e > 0)
12
return 0;
13
14
c = 0xc7d24b5e;
15
d = a | -2;
16
b = (d == 0) ? c : (c % d);
17
if (b != c)
18
abort ();
19
20
return 0;
21
}