]> git.wh0rd.org - ICEs.git/blobdiff - 434452/reduce-ice
more
[ICEs.git] / 434452 / reduce-ice
diff --git a/434452/reduce-ice b/434452/reduce-ice
new file mode 100755 (executable)
index 0000000..a183ee4
--- /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=ObjectImpl.ii
+CC=armv7a-unknown-linux-gnueabi-g++-4.5.3
+CFLAGS="-O2"
+STRING="internal compiler error: in merge_if_block, at ifcvt.c:3005"
+
+$CC -pipe -c $CFLAGS $FILE -o /dev/null 2>&1 | grep "$STRING"