2014-08-16 Andrew Pinski <apinski@cavium.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Aug 2014 05:20:42 +0000 (05:20 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Aug 2014 05:20:42 +0000 (05:20 +0000)
* gcc.c-torture/compile/20140816-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214073 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20140816-1.c [new file with mode: 0644]

index 09179ab..27b724d 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-16  Andrew Pinski  <apinski@cavium.com>
+
+       * gcc.c-torture/compile/20140816-1.c: New testcase.
+
 2014-08-16  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/52819
diff --git a/gcc/testsuite/gcc.c-torture/compile/20140816-1.c b/gcc/testsuite/gcc.c-torture/compile/20140816-1.c
new file mode 100644 (file)
index 0000000..6521b05
--- /dev/null
@@ -0,0 +1,5 @@
+/* This used to ICE with the ccmp patches on aarch64. */
+int f(char);
+int init_emit_regs (int mode) {
+  f(mode == 4 || mode == 13);
+}