aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2022-09-27 16:20:28 +0200
committerAndrea Corallo <andrea.corallo@arm.com>2022-10-10 15:22:26 +0200
commit248c8aeebc49aae3fd96bd587367d12e7c8b3c3a (patch)
tree6bbbede33dbae45a3bef2af20bca4cd317457a78 /gcc/tree-cfg.cc
parentd0bbecb1c418b680505faa998fe420f0fd4bbfc1 (diff)
downloadgcc-248c8aeebc49aae3fd96bd587367d12e7c8b3c3a.zip
gcc-248c8aeebc49aae3fd96bd587367d12e7c8b3c3a.tar.gz
gcc-248c8aeebc49aae3fd96bd587367d12e7c8b3c3a.tar.bz2
Don't ICE running selftests if errors were raised [PR99723]
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.corallo@arm.com> PR other/99723 * toplev.cc (toplev::main): Don't run self tests in case of previous error.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions