]> git.wh0rd.org - ICEs.git/blobdiff - 290097/reduce-ice
more ices
[ICEs.git] / 290097 / reduce-ice
diff --git a/290097/reduce-ice b/290097/reduce-ice
new file mode 100755 (executable)
index 0000000..45d8763
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Run like:
+#  multidelta -level=# ./reduce-ice $FILE
+#  levels: 0 0 1 1 2 2 10 10
+#
+
+FILE=test.i
+CC=gcc
+CFLAGS="-Wall -std=gnu99 -O3"
+STRING="subscript"
+
+$CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"