(may_trap_p, case EXPR_LIST): New case.

From-SVN: r7983
This commit is contained in:
Richard Kenner 1994-08-25 18:48:42 -04:00
parent 8d60a67df2
commit b278301b1b
1 changed files with 4 additions and 0 deletions

View 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)