more ices
[ICEs.git] / 147533 / 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=vartest.i
9 CC=gcc
10 CFLAGS="-D_REENTRANT -fPIC -pipe -fno-strict-aliasing -gstabs+ -march=k8 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -m32"
11 #CFLAGS="-O3 -finline-functions -m32"
12 #-Wall -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
13 STRING="internal compiler error.*dwarf2out_finish"
14
15 $CC -pipe -c $CFLAGS $FILE 2>&1
16 #| grep "$STRING"