Commit 1b47fe3f by Jakub Jelinek Committed by Jakub Jelinek

re PR debug/45006 (Failed to bootstrap)

	PR debug/45006
	* cfgexpand.c (expand_debug_expr): Only look at TYPE_UNSIGNED of
	operand's type if exp is tcc_unary class tree.

From-SVN: r162348
parent b0b01eb0
2010-07-20 Jakub Jelinek <jakub@redhat.com>
PR debug/45006
* cfgexpand.c (expand_debug_expr): Only look at TYPE_UNSIGNED of
operand's type if exp is tcc_unary class tree.
2010-07-20 Nathan Froyd <froydnj@codesourcery.com> 2010-07-20 Nathan Froyd <froydnj@codesourcery.com>
* config/rs6000/rs6000.md (abs<mode>2_isel, nabs<mode>2_isel): * config/rs6000/rs6000.md (abs<mode>2_isel, nabs<mode>2_isel):
......
...@@ -2427,7 +2427,9 @@ expand_debug_expr (tree exp) ...@@ -2427,7 +2427,9 @@ expand_debug_expr (tree exp)
op0 = simplify_gen_subreg (mode, op0, inner_mode, op0 = simplify_gen_subreg (mode, op0, inner_mode,
subreg_lowpart_offset (mode, subreg_lowpart_offset (mode,
inner_mode)); inner_mode));
else if (TYPE_UNSIGNED (TREE_TYPE (TREE_OPERAND (exp, 0)))) else if (TREE_CODE_CLASS (TREE_CODE (exp)) == tcc_unary
? TYPE_UNSIGNED (TREE_TYPE (TREE_OPERAND (exp, 0)))
: unsignedp)
op0 = gen_rtx_ZERO_EXTEND (mode, op0); op0 = gen_rtx_ZERO_EXTEND (mode, op0);
else else
op0 = gen_rtx_SIGN_EXTEND (mode, op0); op0 = gen_rtx_SIGN_EXTEND (mode, op0);
......
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