diff options
Diffstat (limited to 'gcc/ssa.c')
-rw-r--r-- | gcc/ssa.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/ssa.c b/gcc/ssa.c index bb4bda71aab..ec9cc48f353 100644 --- a/gcc/ssa.c +++ b/gcc/ssa.c @@ -48,15 +48,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "output.h" #include "ssa.h" -/* We cannot use <assert.h> in GCC source, since that would include - GCC's assert.h, which may not be compatible with the host compiler. */ -#undef assert -#ifdef NDEBUG -# define assert(e) -#else -# define assert(e) do { if (! (e)) abort (); } while (0) -#endif - /* TODO: Handle subregs better, maybe. For now, if a reg that's set in a @@ -1069,7 +1060,8 @@ rename_block (bb, idom) reg = SET_DEST (phi); if (REGNO (reg) >= ssa_max_reg_num) reg = ssa_rename_from_lookup (REGNO (reg)); - assert (reg != NULL_RTX); + if (reg == NULL_RTX) + abort (); reg = ssa_rename_to_lookup (reg); /* It is possible for the variable to be uninitialized on |