more ices
[ICEs.git] / 133948 / 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=bad-code.c
9 CC=powerpc-gentoo-linux-uclibc-gcc
10 CFLAGS=""
11 STRING="junk at end of line"
12
13 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"