public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] Add testcase for PR 31606
@ 2007-05-22 23:04 Andrew_Pinski
  2007-07-14 16:43 ` Eric Botcazou
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew_Pinski @ 2007-05-22 23:04 UTC (permalink / raw)
  To: gcc-patches; +Cc: aoliva

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

Hi,
  This adds a testcase for this bug to make sure it does not show up when 
the patch that caused this is committed.

Alexandre, can you make sure that your latest patch for PR 22156, does not 
break this testcase on i686-linux-gnu.

Thanks,
Andrew Pinski

ChangeLog:

        * gcc.c-torture/20070522-1.c: New testcase.


[-- Attachment #2: addpr31606.diff.txt --]
[-- Type: text/plain, Size: 520 bytes --]

Index: gcc.c-torture/20070522-1.c
===================================================================
--- gcc.c-torture/20070522-1.c	(revision 0)
+++ gcc.c-torture/20070522-1.c	(revision 0)
@@ -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;
+}

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-07  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22 23:04 [Committed] Add testcase for PR 31606 Andrew_Pinski
2007-07-14 16:43 ` Eric Botcazou
2007-08-06 21:54   ` Andrew Pinski
2007-08-07  8:04     ` Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).