projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d60a67
)
(may_trap_p, case EXPR_LIST): New case.
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 25 Aug 1994 22:48:42 +0000
(18:48 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 25 Aug 1994 22:48:42 +0000
(18:48 -0400)
From-SVN: r7983
gcc/rtlanal.c
patch
|
blob
|
history
diff --git
a/gcc/rtlanal.c
b/gcc/rtlanal.c
index 188fb93a15903b7659823c0578457839998074bb..d52bd646686ff1c83c5d911213522d575d53cf7f 100644
(file)
--- 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)