On 9/27/22 09:12, Andrea Corallo via Gcc-patches wrote:
Hi all

this is to address PR 99723.

In the PR GCC crashes as the initialization of common trees is not
performed as no compilation is happening, this is because we raise an
error earlier while processing the arch flags.

This patch changes the code to execute selftests only if no errors
where raised before.

Bootstrapped on aarch64, okay for trunk?

Best Regards

   Andrea

2022-09-27  Andrea Corallo  <andrea.cora...@arm.com>

        * toplev.cc (toplev::main): Don't run self tests in case of
        previous error.

OK

jeff


Reply via email to