From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18535 invoked by alias); 16 Jun 2013 13:38:35 -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 18481 invoked by uid 48); 16 Jun 2013 13:38:32 -0000 From: "amylaar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/57569] [4.8/4.9 Regression] wrong code for struct copy at -O3 on x86_64-linux Date: Sun, 16 Jun 2013 13:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amylaar at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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/msg00843.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57569 Jorn Wolfgang Rennecke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amylaar at gcc dot gnu.org --- Comment #4 from Jorn Wolfgang Rennecke --- Created attachment 30313 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30313&action=edit testcase for gcc.dg/torture This is the testcase adapted to fit into the gcc.dg/torture framework. On i686-pc-linux-gnu, with svn revision 200126, I see the following results: PASS: gcc.dg/torture/pr57569.c -O0 (test for excess errors) PASS: gcc.dg/torture/pr57569.c -O0 execution test PASS: gcc.dg/torture/pr57569.c -O1 (test for excess errors) PASS: gcc.dg/torture/pr57569.c -O1 execution test PASS: gcc.dg/torture/pr57569.c -O2 (test for excess errors) PASS: gcc.dg/torture/pr57569.c -O2 execution test PASS: gcc.dg/torture/pr57569.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/pr57569.c -O3 -fomit-frame-pointer execution test PASS: gcc.dg/torture/pr57569.c -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) FAIL: gcc.dg/torture/pr57569.c -O3 -fomit-frame-pointer -funroll-loops execution test PASS: gcc.dg/torture/pr57569.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gcc.dg/torture/pr57569.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test PASS: gcc.dg/torture/pr57569.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/pr57569.c -O3 -g execution test PASS: gcc.dg/torture/pr57569.c -Os (test for excess errors) PASS: gcc.dg/torture/pr57569.c -Os execution test PASS: gcc.dg/torture/pr57569.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) PASS: gcc.dg/torture/pr57569.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test PASS: gcc.dg/torture/pr57569.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) PASS: gcc.dg/torture/pr57569.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test