X-Git-Url: https://git.wh0rd.org/?p=ICEs.git;a=blobdiff_plain;f=reduce-ice;h=328af0972457fb8d922452581cdf6adbcacdba1c;hp=49039675ec26fbfb70ff78b6ce779ba42f727346;hb=dbff64cb4b7530861c2309c794efdd4e0cf47a23;hpb=45516216fc552c838e650d868214d867027a64f6 diff --git a/reduce-ice b/reduce-ice index 4903967..328af09 100755 --- a/reduce-ice +++ b/reduce-ice @@ -1,9 +1,9 @@ -#!/bin/bash +#!/bin/sh # # Run like: # multidelta -level=# ./reduce-ice $FILE # levels: 0 0 1 1 2 2 10 10 -# +# echo "set FILE, CC, CFLAGS, STRING" exit 1 @@ -13,4 +13,4 @@ CC=g++-3.4.6 CFLAGS="-ggdb -m32" STRING="internal compiler error.*dwarf2out_finish" -$CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING" +$CC -pipe -c $CFLAGS $FILE -o /dev/null 2>&1 | grep "$STRING"