aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-05-22 23:05:40 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-05-22 16:05:40 -0700
commit1897129fc114d2516b74a781e10fa062b702b652 (patch)
tree3291dbf3f327f587c78f820d3f3692cc2f91abde /gcc/testsuite
parenta9535314cace94ac446568e3003668b263309aa9 (diff)
downloadgcc-1897129fc114d2516b74a781e10fa062b702b652.zip
gcc-1897129fc114d2516b74a781e10fa062b702b652.tar.gz
gcc-1897129fc114d2516b74a781e10fa062b702b652.tar.bz2
re PR tree-optimization/31606 (ICE in try_instantiate_multiple_fields, at tree-sra.c:1601)
2007-05-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/31606 * gcc.c-torture/20070522-1.c: New testcase. From-SVN: r124968
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/20070522-1.c11
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ed62efa..0c4e1a2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-22 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ PR middle-end/31606
+ * gcc.c-torture/20070522-1.c: New testcase.
+
2007-05-22 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/sse4_1-check.h: Don't include <stdio.h>.
diff --git a/gcc/testsuite/gcc.c-torture/20070522-1.c b/gcc/testsuite/gcc.c-torture/20070522-1.c
new file mode 100644
index 0000000..4c8b70c
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/20070522-1.c
@@ -0,0 +1,11 @@
+/* This was PR 31606, we were trying to use TImode to expand the
+ struct copy in SRA but TImode is not support on ia32. */
+
+struct Collision {
+ int edge;
+ int triangle;
+ float _M_instance[3] __attribute__((__aligned__));
+};
+void get_collisions(struct Collision a) {
+ struct Collision b = a;
+}