[Bug tree-optimization/104987] [12 Regression] Recent change causing vrp13.c regressions on several targets

law at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 27 16:52:07 GMT 2022


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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|iq2000-elf, v850e-elf       |iq2000-elf
           Priority|P3                          |P4

--- Comment #8 from Jeffrey A. Law <law at gcc dot gnu.org> ---
V850 simulator fix has been posted to the binutils list.

I've never really hacked the iq2000, but from the looks of things I think it's
mis-compiling mulsi3 in libgcc.  In particular, I don't think it's handling
delay slots properly for the bbi instruction.  reorg has tagged it as a
nullified-if-false branch, but it appears that we're using the wrong form at
assembly time and the instruction in the delay slot always executes.

So P4 as this appears to be an iq2000 specific issue.


More information about the Gcc-bugs mailing list