[Bug target/93532] RISCV g++ hangs with optimization >= -O2

wilson at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 8 22:07:00 GMT 2020


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

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Jim Wilson <wilson at gcc dot gnu.org> ---
Patch applied to mainline.  This is just a minor optimization for gcc-10 as a
combiner patch between gcc-8 and gcc-9 reduces register pressure enough to
prevent the hang.  Hence there is no real need for the patch in gcc-9.  The
patch might be useful in gcc-8, but the problem is hard to reproduce, buildroot
is the only one that ran into the problem, and they can always add the patch to
their tree, so not clear if we really need it on the gcc-8 branch.


More information about the Gcc-bugs mailing list