From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25437 invoked by alias); 22 May 2007 23:04:53 -0000 Received: (qmail 25427 invoked by uid 22791); 22 May 2007 23:04:52 -0000 X-Spam-Check-By: sourceware.org Received: from doa.scea.com (HELO Paris.playstation.sony.com) (64.157.7.133) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 May 2007 23:04:51 +0000 Received: from constantine.playstation.sony.com ([162.49.67.15]) by Paris.playstation.sony.com (Lotus Domino Release 6.5.5FP2) with ESMTP id 2007052216044116-311166 ; Tue, 22 May 2007 16:04:41 -0700 To: gcc-patches@gcc.gnu.org Cc: aoliva@redhat.com Subject: [Committed] Add testcase for PR 31606 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Andrew_Pinski@PlayStation.Sony.Com Date: Tue, 22 May 2007 23:04:00 -0000 Content-Type: multipart/mixed; boundary="=_mixed 007EC444882572E3_=" Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg01510.txt.bz2 --=_mixed 007EC444882572E3_= Content-Type: text/plain; charset="US-ASCII" Content-length: 325 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. --=_mixed 007EC444882572E3_= Content-Transfer-Encoding: 8bit Content-Type: text/plain; name="addpr31606.diff.txt" Content-Disposition: attachment; filename="addpr31606.diff.txt" Content-length: 520 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; +} --=_mixed 007EC444882572E3_=--