From: Andrew Pinski Date: Wed, 15 Sep 2004 21:45:28 +0000 (+0000) Subject: re PR rtl-optimization/17427 (powerpc-linux does not bootstrap on HEAD with --disable... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f021b673a02a6648a45215ca0472d8ba6cd393b;p=gcc.git re PR rtl-optimization/17427 (powerpc-linux does not bootstrap on HEAD with --disable-checking) 2004-09-15 Andrew Pinski PR rtl-opt/17427 * gcse.c (process_insert_insn): insn_invalid_p has side effects. Move it out of gcc_assert. From-SVN: r87565 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf5b444dadb..b87ba75660c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-15 Andrew Pinski + + PR rtl-opt/17427 + * gcse.c (process_insert_insn): insn_invalid_p has side effects. + Move it out of gcc_assert. + 2004-09-15 Joseph S. Myers * attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c, diff --git a/gcc/gcse.c b/gcc/gcse.c index 3e0ede4cfa1..32d4d44562d 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -4006,7 +4006,8 @@ process_insert_insn (struct expr *expr) { rtx insn = emit_insn (gen_rtx_SET (VOIDmode, reg, exp)); - gcc_assert (!insn_invalid_p (insn)); + if (insn_invalid_p (insn)) + gcc_unreachable (); }