diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-08-25 22:48:42 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-08-25 22:48:42 +0000 |
commit | 4c3aec45bdaf95621cdb4545f652c782d4380ccd (patch) | |
tree | 72e13b7dcad0e3739d0f659c21d1dd849e1f9efb /gcc/rtlanal.c | |
parent | eb32272c39f88aec662781a3852b03a5f864aeb4 (diff) | |
download | gcc-4c3aec45bdaf95621cdb4545f652c782d4380ccd.tar.gz |
(may_trap_p, case EXPR_LIST): New case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |