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).

Reply via email to