a4708c2c391e1f2d394d43ebb1ac2bfd7392b0f8
[ICEs.git] / 218508 / 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=test.mi
9 CC=gcc
10 CFLAGS="-fobjc-gc"
11 STRING="internal compiler error: Segmentation fault"
12
13 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"