https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78232
Bug ID: 78232 Summary: [7 Regression] FAIL: gcc.dg/torture/pr48124-4.c Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: segher at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Target: arm Hi, Since r241824: commit 6df23cf103de2671effb6adaf49348409141b462 Author: segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Nov 3 16:04:22 2016 +0000 combine lhs zero_extract fix (PR78186) PR rtl-optimization/78186 * combine.c (change_zero_ext): Mask the RHS of a zero_extract as well, when converting to IOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241824 138bc75d-0d04-0410-96 I have noticed execution failures on "old" arm targets: gcc.dg/torture/pr48124-4.c -O1 execution test gcc.dg/torture/pr48124-4.c -O2 execution test gcc.dg/torture/pr48124-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test gcc.dg/torture/pr48124-4.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test gcc.dg/torture/pr48124-4.c -O3 -g execution test gcc.dg/torture/pr48124-4.c -Os execution test For instance on target arm-none-linux-gnueabi --with-cpu=cortex-a9 --with-mode=arm and running the tests with -march=armv5t or on arm-none-eabi with default mode/cpu and no special runtest flags if that's easier.