426c79964d72b5a70526b543cc4eed1a63cefc23
[ICEs.git] / 218158 / 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=af_volnorm.i
9 CC=gcc
10 CFLAGS="-mcpu=970 -ffast-math -O3"
11 STRING="internal compiler error: in extract_insn, at recog.c:1990"
12
13 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"