From 21d12b804d4031c15fcc61b1558f74ce9413e123 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 7 Sep 1992 05:32:35 +0000 Subject: [PATCH] (simplify_binary_operation): For DIV by 0, do nothing. From-SVN: r2066 --- gcc/cse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4