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

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 8 22:01:00 GMT 2020


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

--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jim Wilson <wilson@gcc.gnu.org>:

https://gcc.gnu.org/g:b780f68e025b2cf5631183e199ebf672ea463af6

commit r10-6528-gb780f68e025b2cf5631183e199ebf672ea463af6
Author: Jim Wilson <jimw@sifive.com>
Date:   Sat Feb 8 13:57:36 2020 -0800

    RISC-V: Improve caller-save code generation.

    Avoid paradoxical subregs when caller save.  This reduces stack frame size
    due to smaller loads and stores, and more frequent rematerialization.

        PR target/93532
        * config/riscv/riscv.h (HARD_REGNO_CALLER_SAVE_MODE): Define.


More information about the Gcc-bugs mailing list