]> gcc.gnu.org Git - gcc.git/commitdiff
re PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sun, 29 Jun 2003 08:31:52 +0000 (10:31 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 29 Jun 2003 08:31:52 +0000 (08:31 +0000)
PR optimization/11210
* fold-const (decode_field_reference): Revert 2003-06-26 patch.

From-SVN: r68662

gcc/ChangeLog
gcc/fold-const.c

index f6300e7e487e8a7a5b33bd47029759b5cb7ee941..4692b8f1e42621ca841ca17bebaa863aecc557b4 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/11210
+       * fold-const (decode_field_reference): Revert 2003-06-26 patch.
+
 2003-06-29  Neil Booth  <neil@daikokuya.co.uk>
 
        * toplev.c (flag_dummy): Remove.
index b160a4ea0ebe76cd187f174ef6911e092303d7fd..b35d733e220c6cc6d10d047b8a944dbfc968c1d4 100644 (file)
@@ -2742,8 +2742,7 @@ decode_field_reference (exp, pbitsize, pbitpos, pmode, punsignedp,
   if (! INTEGRAL_TYPE_P (TREE_TYPE (exp)))
     return 0;
 
-  /* Signedness matters here.  */
-  STRIP_SIGN_NOPS (exp);
+  STRIP_NOPS (exp);
 
   if (TREE_CODE (exp) == BIT_AND_EXPR)
     {
This page took 0.130623 seconds and 5 git commands to generate.