https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117931
Bug ID: 117931
Summary: gcc.target/arm/lp1243022.c fails since
gcc-6-4265-g477ee35f511
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: christophe.lyon at gmail dot com
Target Milestone: ---
Target: arm
I've bisected gcc.target/arm/lp1243022.c to fail since gcc-6-4265-g477ee35f511
(auto-inc-dec.c] Account for cost of move operation in FORM_PRE_ADD and
FORM_POST_ADD cases)
When compiling with -mthumb -march=armv7-m -mtune=cortex-m3 -mfloat-abi=softfp
, the new code is 20 instructions shorter and looks like an improvement.
The testcase was about REG_INC note (see
https://bugs.launchpad.net/gcc-linaro/+bug/1243022), so it made sense to look
for it in the compiler
dumps.
The regression was reported after
https://gcc.gnu.org/pipermail/gcc-patches/2015-October/432394.html, so very
long ago :-)
Not sure what's the best way to clean that noise in the testsuite?