]> git.wh0rd.org - ICEs.git/blobdiff - 321325/reduce-ice
more
[ICEs.git] / 321325 / reduce-ice
diff --git a/321325/reduce-ice b/321325/reduce-ice
new file mode 100755 (executable)
index 0000000..19e6f9d
--- /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=lgc_pg-scenarios.pre.i
+CC=gcc-4.5.0
+CFLAGS="-O2 -m32"
+STRING="internal compiler error: Segmentation fault"
+
+$CC -pipe -c $CFLAGS $FILE 2>&1 | grep "$STRING"