mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 04:10:26 +08:00
ipa/107897 - avoid property verification ICE after error
The target clone pass is the only small IPA pass that doesn't disable itself after errors but has properties whose verification can fail because we cut off build SSA passes after errors. PR ipa/107897 * multiple_target.cc (pass_target_clone::gate): Disable after errors.
This commit is contained in:
parent
e161040732
commit
5894a81796
@ -539,7 +539,8 @@ public:
|
||||
bool
|
||||
pass_target_clone::gate (function *)
|
||||
{
|
||||
return true;
|
||||
/* If there were any errors avoid pass property verification errors. */
|
||||
return !seen_error ();
|
||||
}
|
||||
|
||||
} // anon namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user