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

* Re: [Committed] Add testcase for PR 31606
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Botcazou @ 2007-07-14 16:43 UTC (permalink / raw)
  To: Andrew_Pinski; +Cc: gcc-patches, aoliva

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

Unfortunately it has probably never been run...

-- 
Eric Botcazou

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

* Re: [Committed] Add testcase for PR 31606
  2007-07-14 16:43 ` Eric Botcazou
@ 2007-08-06 21:54   ` Andrew Pinski
  2007-08-07  8:04     ` Eric Botcazou
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Pinski @ 2007-08-06 21:54 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: Andrew_Pinski, gcc-patches, aoliva

On 7/14/07, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
> >         * gcc.c-torture/20070522-1.c: New testcase.
>
> Unfortunately it has probably never been run...

Thanks for saying I put it in the wrong spot.  Anyways here is the
commit I did (well there is no patch as it is just a moving around a
file).

Thanks,
Andrew Pinski

2007-08-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * gcc.c-torture/20070522-1.c: Move to ...
        * gcc.c-torture/compile/20070522-1.c: Here.

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

* Re: [Committed] Add testcase for PR 31606
  2007-08-06 21:54   ` Andrew Pinski
@ 2007-08-07  8:04     ` Eric Botcazou
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Botcazou @ 2007-08-07  8:04 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: Andrew_Pinski, gcc-patches, aoliva

> Thanks for saying I put it in the wrong spot.

If the game is too easy, no point in playing it at all. :-)

--
Eric Botcazou

^ 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).