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
This commit is contained in:
Andrew Pinski 2007-05-22 23:05:40 +00:00 committed by Andrew Pinski
parent a9535314ca
commit 1897129fc1
2 changed files with 16 additions and 0 deletions

View File

@ -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>.

View File

@ -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;
}