[Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 27 09:09:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #11)
> (In reply to Martin Liška from comment #6)
> > Created attachment 45822 [details]
> > Reduced test-case
> > 
> > However, this reduced test-case fails with GCC-8 branch for all releases.
> > Started on trunk with r256457 and was fixed on trunk r265421:
> 
> r265421 just make the bug latent.

Yep, I can confirm current trunk is affected with:
diff --git a/gcc/passes.def b/gcc/passes.def
index 446a7c48276..0816bfd7258 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -88,7 +88,6 @@ along with GCC; see the file COPYING3.  If not see
          NEXT_PASS (pass_merge_phi);
           NEXT_PASS (pass_dse);
          NEXT_PASS (pass_cd_dce);
-         NEXT_PASS (pass_phiopt, true /* early_p */);
          NEXT_PASS (pass_early_ipa_sra);
          NEXT_PASS (pass_tail_recursion);
          NEXT_PASS (pass_convert_switch);


More information about the Gcc-bugs mailing list