]> gcc.gnu.org Git - gcc.git/commitdiff
(may_trap_p, case EXPR_LIST): New case.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 25 Aug 1994 22:48:42 +0000 (18:48 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 25 Aug 1994 22:48:42 +0000 (18:48 -0400)
From-SVN: r7983

gcc/rtlanal.c

index 188fb93a15903b7659823c0578457839998074bb..d52bd646686ff1c83c5d911213522d575d53cf7f 100644 (file)
@@ -1603,6 +1603,10 @@ may_trap_p (x)
         we can link this file into other programs.  */
       if (GET_CODE (XEXP (x, 1)) == CONST_INT && INTVAL (XEXP (x, 1)) == 0)
        return 1;
+    case EXPR_LIST:
+      /* An EXPR_LIST is used to represent a function call.  This
+        certainly may trap.  */
+      return 1;
     default:
       /* Any floating arithmetic may trap.  */
       if (GET_MODE_CLASS (GET_MODE (x)) == MODE_FLOAT)
This page took 0.070505 seconds and 5 git commands to generate.