diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2003-06-29 10:31:52 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2003-06-29 08:31:52 +0000 |
commit | df7fb8f96876acbd6ff0ea802ac985721076503b (patch) | |
tree | b64621000a16a9d160e4ebf77955293976dfe397 /gcc/fold-const.c | |
parent | dfb827711d414c450d840fc4a0a809656616bdf5 (diff) | |
download | gcc-df7fb8f96876acbd6ff0ea802ac985721076503b.zip gcc-df7fb8f96876acbd6ff0ea802ac985721076503b.tar.gz gcc-df7fb8f96876acbd6ff0ea802ac985721076503b.tar.bz2 |
re PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed to unsigned char)
PR optimization/11210
* fold-const (decode_field_reference): Revert 2003-06-26 patch.
From-SVN: r68662
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index b160a4e..b35d733 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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) { |