aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.cc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2023-12-08 21:41:33 -0300
committerAlexandre Oliva <oliva@gnu.org>2023-12-08 21:41:33 -0300
commit5a9e8b0cbbc1a10d73f1809e76bfec73a4386be3 (patch)
treed067c18ddde6c6d6ad3074c501fead4d43509642 /gcc/gcc.cc
parentdd3b75d8f99df9197bb58193037201ccdf994d8b (diff)
downloadgcc-5a9e8b0cbbc1a10d73f1809e76bfec73a4386be3.zip
gcc-5a9e8b0cbbc1a10d73f1809e76bfec73a4386be3.tar.gz
gcc-5a9e8b0cbbc1a10d73f1809e76bfec73a4386be3.tar.bz2
strub: skip emutls after strubm errors
The emutls pass requires PROP_ssa, but if the strubm pass (or any other pre-SSA pass) issues errors, all of the build_ssa_passes are skipped, so the property is not set, but emutls still attempts to run, on targets that use it, despite earlier errors, so it hits the unsatisfied requirement. Adjust emutls to be skipped in case of earlier errors. for gcc/ChangeLog * tree-emutls.cc: Include diagnostic-core.h. (pass_ipa_lower_emutls::gate): Skip if errors were seen.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions