From 0de689b7ada13c7d480491647363e4995ed5ba93 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 15 Feb 1994 19:36:35 -0500 Subject: [PATCH] (real_value_truncate): If requested mode is not supported, return the unmodified input instead of aborting. From-SVN: r6568 --- gcc/real.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/real.c b/gcc/real.c index ea89ef80787..2f065262442 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -882,8 +882,11 @@ real_value_truncate (mode, arg) r = etrunci (arg); return (r); + /* If an unsupported type was requested, presume that + the machine files know something useful to do with + the unmodified value. */ default: - abort (); + return (arg); } PUT_REAL (t, &r); return (r); -- 2.30.2