Commit 0de689b7 by Richard Kenner

(real_value_truncate): If requested mode is not supported, return the

unmodified input instead of aborting.

From-SVN: r6568
parent 79777b79
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment