more ices
[ICEs.git] / 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 echo "set FILE, CC, CFLAGS, STRING"
9 exit 1
10
11 FILE=ice.ii
12 CC=g++-3.4.6
13 CFLAGS="-ggdb -m32"
14 STRING="internal compiler error.*dwarf2out_finish"
15
16 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"