diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-15 19:36:35 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-15 19:36:35 -0500 |
commit | 0de689b7ada13c7d480491647363e4995ed5ba93 (patch) | |
tree | 1482f420f57c21243f75c964a12841ed2d8dc285 /gcc | |
parent | 79777b798cb818ea1ac419e357263158f7b72acd (diff) | |
download | gcc-0de689b7ada13c7d480491647363e4995ed5ba93.zip gcc-0de689b7ada13c7d480491647363e4995ed5ba93.tar.gz gcc-0de689b7ada13c7d480491647363e4995ed5ba93.tar.bz2 |
(real_value_truncate): If requested mode is not supported, return the
unmodified input instead of aborting.
From-SVN: r6568
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/real.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |