a4239059a89bb1777b264d1a1432da9a461999d9
[ICEs.git] / 137526 / reduce-ice
1 #!/bin/bash
2 #
3 # Run like:
4 # multidelta -level=# ./reduce-ice $FILE
5 # levels: 0 0 1 1 2 2 10 10
6 #
7
8 FILE=jsmath.i
9 CC=gcc
10 CFLAGS="-m32 -O -fforce-addr"
11 STRING="internal compiler error.*instantiate_virtual_regs_in_insn"
12
13 $CC -c $CFLAGS $FILE 2>&1 | grep "$STRING"