https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90106

--- Comment #18 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to JunMa from comment #17)
> (In reply to Christophe Lyon from comment #16)
> > That's what I did... (use -fdump-tree-cdce-details).
> > 
> > The assembler code is:
> >         .arm
> >         .fpu softvfp
> >         .type   foo, %function
> > foo:
> >         @ args = 0, pretend = 0, frame = 0
> >         @ frame_needed = 0, uses_anonymous_args = 0
> >         @ link register save eliminated.
> >         b       sqrtf
> > 
> > which is a tail call ('b' is a jump instruction on arm, not a call).
> 
> Hmm... I think the testcase works with -mfpu=vfp -mfloat-abi=hard.

Indeed, sorry I wasn't specific enough when I said "arm".

The test fails on arm-none-linux-gnueabi, and passes on
arm-none-linux-gnueabihf.

Reply via email to