f937acc67166c115b14ba63e4e41266768090062
[ICEs.git] / 152840 / 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=ice.i
9 CC=sh4-unknown-linux-gnu-gcc-4.1.1
10 CFLAGS="-O2"
11 STRING="internal compiler error: in extract_insn, at recog.c:2084"
12
13 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"