more ices
[ICEs.git] / bfin-2599 / 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=test.i
12 CC=bfin-uclinux-gcc
13 CFLAGS=""
14 STRING="No such file or directory"
15
16 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"