diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 188fb93a159..d52bd646686 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -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)