diff --git a/gcc/multiple_target.cc b/gcc/multiple_target.cc index 77e0f21dd055..fd88c22b0029 100644 --- a/gcc/multiple_target.cc +++ b/gcc/multiple_target.cc @@ -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