[Bug rtl-optimization/57569] [4.8/4.9 Regression] wrong code for struct copy at -O3 on x86_64-linux

amylaar at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 16 13:38:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57569

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amylaar at gcc dot gnu.org

--- Comment #4 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> ---
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



More information about the Gcc-bugs mailing list