projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2040c37
)
(simplify_binary_operation): For DIV by 0, do nothing.
author
Richard Stallman
<rms@gnu.org>
Mon, 7 Sep 1992 05:32:35 +0000
(
05:32
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 7 Sep 1992 05:32:35 +0000
(
05:32
+0000)
From-SVN: r2066
gcc/cse.c
patch
|
blob
|
history
diff --git
a/gcc/cse.c
b/gcc/cse.c
index
24dbac6
..
e76a130
100644
(file)
--- a/
gcc/cse.c
+++ b/
gcc/cse.c
@@
-3224,7
+3224,7
@@
simplify_binary_operation (code, mode, op0, op1)
case DIV:
#ifndef REAL_INFINITY
if (f1 == 0)
-
abort ()
;
+
return 0
;
#endif
value = f0 / f1;
break;