flow.c (propagate_block): When a prologue/epilogue insn is marked dead...
authorClinton Popetz <cpopetz@cygnus.com>
Tue, 11 Jan 2000 17:26:28 +0000 (17:26 +0000)
committerClinton Popetz <cpopetz@gcc.gnu.org>
Tue, 11 Jan 2000 17:26:28 +0000 (12:26 -0500)
        * flow.c (propagate_block): When a prologue/epilogue insn
        is marked dead, unconditionally clear libcall_is_dead and
        insn_is_dead, and only dump rtl if warnings aren't being
        suppressed.

From-SVN: r31327

gcc/ChangeLog
gcc/flow.c

index feb6f070ae83191fe46e347b5e78482be98da296..f728c2e59491e34fb0b4078a530e79e3f1ed5c93 100644 (file)
@@ -1,3 +1,10 @@
+2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * flow.c (propagate_block): When a prologue/epilogue insn
+        is marked dead, unconditionally clear libcall_is_dead and
+        insn_is_dead, and only dump rtl if warnings aren't being
+        suppressed.
+
 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
 
        * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
index ae8ec5a1cf23b9f7e180299fc4ebd5b63924cbe6..10bcdcf1fb8f17263fe4a3d8d9e03296b464a3bc 100644 (file)
@@ -3295,14 +3295,17 @@ propagate_block (old, first, last, significant, bnum, flags)
 
          /* We almost certainly don't want to delete prologue or epilogue
             instructions.  Warn about probable compiler losage.  */
-         if ((flags & PROP_KILL_DEAD_CODE)
-             && insn_is_dead
+         if (insn_is_dead
              && reload_completed
              && (HAVE_epilogue || HAVE_prologue)
              && prologue_epilogue_contains (insn))
            {
-             warning ("ICE: would have deleted prologue/epilogue insn");
-             debug_rtx (insn);
+             if (flags & PROP_KILL_DEAD_CODE)
+               { 
+                 warning ("ICE: would have deleted prologue/epilogue insn");
+                 if (!inhibit_warnings)
+                   debug_rtx (insn);
+               }
              libcall_is_dead = insn_is_dead = 0;
            }