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/compile/20080625-1.c: Skip for M32C.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20010404-1.c
1
/* This testcase caused a floating point exception in the compiler when
2
compiled with -O2. The crash occurs when trying to simplify division
3
and modulo operations. */
4
5
#include <limits.h>
6
7
extern void bar (int);
8
9
void foo ()
10
{
11
int a = INT_MIN;
12
int b = -1;
13
bar (a / b);
14
bar (a % b);
15
}