From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10788 invoked by alias); 11 Jun 2013 09:16:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10685 invoked by uid 48); 11 Jun 2013 09:15:59 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56564] movdqa on possibly-8-byte-aligned struct with -O3 Date: Tue, 11 Jun 2013 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00530.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56564 --- Comment #16 from Dominique d'Humieres --- On x86_64-apple-darwin10.8 at revision 199935, I get the following failures for the tests added at revision 199898: FAIL: gcc.target/i386/pr56564-1.c scan-tree-dump-times optimized "&s" 1 FAIL: gcc.target/i386/pr56564-1.c scan-tree-dump-times optimized "return 0" 1 FAIL: gcc.target/i386/pr56564-3.c scan-tree-dump-times optimized "&s" 1 FAIL: gcc.target/i386/pr56564-3.c scan-tree-dump-times optimized "&t" 1 The optimized dumps are (blank lines removed): [macbook] f90/bug% cat pr56564-1.c.165t.optimized ;; Function foo (foo, funcdef_no=0, decl_uid=1741, symbol_order=2) foo () { : return 0; } ;; Function bar (bar, funcdef_no=1, decl_uid=1744, symbol_order=3) bar () { : return 0; } [macbook] f90/bug% cat pr56564-3.c.165t.optimized ;; Function foo (foo, funcdef_no=0, decl_uid=1741, symbol_order=2) foo () { struct S * D.1770; long int s.0; int _2; int _3; : _5 = __builtin___emutls_get_address (&__emutls_v.s); s.0_1 = (long int) _5; _2 = (int) s.0_1; _3 = _2 & 15; return _3; } ;; Function bar (bar, funcdef_no=1, decl_uid=1744, symbol_order=3) bar () { char * D.1769; char[16] * D.1768; long int _1; int _2; int _3; : _5 = __builtin___emutls_get_address (&__emutls_v.t); _6 = &*_5[0]; _1 = (long int) _6; _2 = (int) _1; _3 = _2 & 15; return _3; }