diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-03 00:17:11 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-03 00:17:11 +0000 |
commit | 124d58a1566656489e1a34297499ddec51df6eb3 (patch) | |
tree | 736903c43f30ba905e45449a7537cee8badf4917 /gcc/ssa.c | |
parent | 99d5607ad258cc29ea67324e0b77038fc75bd4e5 (diff) | |
download | gcc-124d58a1566656489e1a34297499ddec51df6eb3.tar.gz |
* dce.c: Remove all uses of assert.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* ssa.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35438 138bc75d-0d04-0410-961f-82ee72b054a4
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 |