[Bug rtl-optimization/71591] SIGSEGV in test_uncond_jump (rtl-tests.c:90) with -E -fself-test

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 20 12:44:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is because when preprocessing the backend isn't initialized, so if
-fself-test attempts to run tests that rely on the backend being initialized,
it can't really work.  pc_rtx is NULL among hundreds of other issues.
Trying to initialize the backend just because of -fself-test is weird, I'd say
we should just error loudly in toplev::run_self_tests () if (no_backend).


More information about the Gcc-bugs mailing list