]> git.wh0rd.org - ICEs.git/blob - hppa-O1/reduce-ice
initial import
[ICEs.git] / hppa-O1 / 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=vfprintf.i
9 CC=hppa2.0-unknown-linux-gnu-gcc
10 CFLAGS="-fPIC -O1"
11 STRING="standard input.*Error: bad expression"
12
13 $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"