]> gcc.gnu.org Git - gcc.git/commitdiff
(convert_to_integer): Don't pass truncate into ABS_EXPR.
authorRichard Stallman <rms@gnu.org>
Thu, 29 Jul 1993 06:30:20 +0000 (06:30 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 29 Jul 1993 06:30:20 +0000 (06:30 +0000)
From-SVN: r5037

gcc/convert.c

index d073ac3ee625fa707334b60cdc9db2803ec4a85e..032bb516899351f59e5fd633e83d1464a9c88c28 100644 (file)
@@ -291,7 +291,8 @@ convert_to_integer (type, expr)
 
        case NEGATE_EXPR:
        case BIT_NOT_EXPR:
-       case ABS_EXPR:
+         /* This is not correct for ABS_EXPR,
+            since we must test the sign before truncation.  */
          {
            register tree typex = type;
 
This page took 0.06241 seconds and 5 git commands to generate.