#!/bin/bash # # Run like: # multidelta -level=# ./reduce-ice $FILE # levels: 0 0 1 1 2 2 10 10 # FILE=ice.ii CC=g++ CFLAGS="-O2 -ffast-math -m32" STRING="internal compiler error" $CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"