public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew_Pinski@PlayStation.Sony.Com
To: gcc-patches@gcc.gnu.org
Cc: aoliva@redhat.com
Subject: [Committed] Add testcase for PR 31606
Date: Tue, 22 May 2007 23:04:00 -0000	[thread overview]
Message-ID: <OF9235C220.95326397-ON882572E3.007E7625-882572E3.007EC44A@playstation.sony.com> (raw)

[-- 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;
+}

             reply	other threads:[~2007-05-22 23:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 23:04 Andrew_Pinski [this message]
2007-07-14 16:43 ` Eric Botcazou
2007-08-06 21:54   ` Andrew Pinski
2007-08-07  8:04     ` Eric Botcazou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF9235C220.95326397-ON882572E3.007E7625-882572E3.007EC44A@playstation.sony.com \
    --to=andrew_pinski@playstation.sony.com \
    --cc=aoliva@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).