X-Git-Url: https://git.wh0rd.org/?p=ICEs.git;a=blobdiff_plain;f=411691%2Freduce-ice;fp=411691%2Freduce-ice;h=5a0127416ccde92bc45eaabaae2e846cb2800b4f;hp=0000000000000000000000000000000000000000;hb=bd3239d2bbe0de3a200b266503e3330b1e391489;hpb=dbff64cb4b7530861c2309c794efdd4e0cf47a23 diff --git a/411691/reduce-ice b/411691/reduce-ice new file mode 100755 index 0000000..5a01274 --- /dev/null +++ b/411691/reduce-ice @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Run like: +# multidelta -level=# ./reduce-ice $FILE +# levels: 0 0 1 1 2 2 10 10 +# + +FILE=id_manager.i +CC=g++-4.6.2 +CFLAGS="-O2" +STRING="internal compiler error: Segmentation fault" + +$CC -pipe -c $CFLAGS -o /dev/null $FILE 2>&1 | grep "$STRING"