]> git.wh0rd.org - ICEs.git/blob - sh-ghostscript/reduce-ice
more ices
[ICEs.git] / sh-ghostscript / 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=gdevifno.i
9 CC=sh4-unknown-linux-gnu-gcc
10 CFLAGS="-O2 -pipe"
11 STRING="unable to find a register to spill in class .R0_REGS"
12
13 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"