aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c3
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)
{