https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080
Christophe Lyon <clyon at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- CC| |clyon at gcc dot gnu.org --- Comment #13 from Christophe Lyon <clyon at gcc dot gnu.org> --- As of r15-3812-g4700ad1c78ccd7, musttail7.c still fails on arm-eabi with default configuration / test flags: FAIL: c-c++-common/musttail7.c -std=c++11 (test for excess errors) Excess errors: /home/tcwg-buildslave/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/gcc/testsuite/c-c++-common/musttail7.c:8:30: error: cannot tail-call: target is not able to optimize the call into a sibling call Note that it passes on arm-eabi when forcing some configuration flags / test flags, for instance: - OK with qemu/-marm/-march=armv7-a/-mfpu=vfpv3-d16/-mfloat-abi=softfp - OK with qemu/-mthumb/-march=armv8-m.main+dsp+fp/-mtune=cortex-m33/-mfloat-abi=hard/-mfpu=auto so maybe the problem is just related to the default (armv4t IIRC) not being handled correctly.