Commit df7fb8f9 by Eric Botcazou Committed by Eric Botcazou

re PR rtl-optimization/11210 (optimizer drops conditional with typecast from…

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
parent dfb82771
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.
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment