]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(libcall_dead_p): Fail not abort for libcall that returns
authorJim Wilson <wilson@gcc.gnu.org>
Fri, 11 Mar 1994 19:50:38 +0000 (11:50 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 11 Mar 1994 19:50:38 +0000 (11:50 -0800)
value via invisible pointer.

From-SVN: r6748

gcc/flow.c

index b578f9003814e11d739dc1cfaa2961804aa1b1f5..74695a726e7b62aa536cf3d5b7b8b8bce0a4596e 100644 (file)
@@ -1736,8 +1736,11 @@ libcall_dead_p (x, needed, note, insn)
                    && GET_CODE (SET_SRC (XVECEXP (call, 0, i))) == CALL)
                  break;
 
+             /* This may be a library call that is returning a value
+                via invisible pointer.  Do nothing special, since
+                ordinary death handling can understand these insns.  */
              if (i < 0)
-               abort ();
+               return 0;
 
              call = XVECEXP (call, 0, i);
            }