aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-09-07 05:32:35 +0000
committerRichard Stallman <rms@gnu.org>1992-09-07 05:32:35 +0000
commit21d12b804d4031c15fcc61b1558f74ce9413e123 (patch)
treed9b3dbd279505d56bed54a9571aa6eac92420035 /gcc
parent2040c37b079c4b2cf071055cdae7d3a9f65151ba (diff)
downloadgcc-21d12b804d4031c15fcc61b1558f74ce9413e123.zip
gcc-21d12b804d4031c15fcc61b1558f74ce9413e123.tar.gz
gcc-21d12b804d4031c15fcc61b1558f74ce9413e123.tar.bz2
(simplify_binary_operation): For DIV by 0, do nothing.
From-SVN: r2066
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 24dbac6..e76a130 100644
--- 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;