[Bug target/83496] [7/8 regression] wrong code generated with -Os -mbranch-cost=1
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 25 18:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496
--- Comment #25 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> /var/nbd/lede/build_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/gcc-7.3.0/gcc/
> reorg.c:3895
>
> Line 1787 in reorg.c is this piece of code:
> if (REG_NOTE_KIND (link) != REG_DEAD
> || !REG_P (XEXP (link, 0)))
> continue;
Weird, this looks like some ill-formed REG_DEAD note. I'll try to reproduce on
SPARC tomorrow.
More information about the Gcc-bugs
mailing list