[Bug testsuite/79126] New: FAIL: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump thread1 "Jumps threaded: 16"
thopre01 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 18 11:14:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79126
Bug ID: 79126
Summary: FAIL: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump
thread1 "Jumps threaded: 16"
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: thopre01 at gcc dot gnu.org
CC: hubicka at gcc dot gnu.org
Target Milestone: ---
Target: arm-none-eabi
Created attachment 40533
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40533&action=edit
Dumps before and after thread1 pass
Hi,
"Jumps threaded" scan-tree-dump in pr77445-2.c fails for Cortex-M0, Cortex-M3
and Cortex-M4 (but not Cortex-M7) when targeting arm-none-eabi. Indeed, the
number of jump threaded is 17 instead of 16. Please find attached the mergephi2
and threaded1 dumps if you want to have a closer look. Couldn't the regex be
written as Jumps threaded: 1[6-9]? Hopefully this would catch all cases and be
safe. I assume that the test tries to see that jump threading has improved.
Compiler was configured with: --target=arm-none-eabi --enable-languages=c,c++
--with-cpu=cortex-m3 --with-mode=thumb --with-newlib
--enable-newlib-register-fini --disable-newlib-supplied-syscalls
--disable-multilib --with-libexpat --with-system-zlib --disable-gdbtk
--enable-plugins --disable-libgomp --disable-libmudflap --disable-libquadmath
--disable-libssp --disable-libstdcxx-pch --disable-nls --disable-rda
--disable-sid --disable-tui --disable-utils --disable-werror
--disable-fixed-point
but I'm guessing the target alone should be enough as long as you pass the
right -mcpu on the command line.
More information about the Gcc-bugs
mailing list