Commit 703201ea by Kazu Hirata Committed by Kazu Hirata

fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE.

	* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
	if we are in GIMPLE.

From-SVN: r90187
parent e78980b7
2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
if we are in GIMPLE.
2004-11-06 Hans-Peter Nilsson <hp@bitrange.com>
PR rtl-optimization/17933
......
......@@ -1978,6 +1978,11 @@ fold_convert (tree type, tree arg)
tree
non_lvalue (tree x)
{
/* While we are in GIMPLE, NON_LVALUE_EXPR doesn't mean anything to
us. */
if (in_gimple_form)
return x;
/* We only need to wrap lvalue tree codes. */
switch (TREE_CODE (x))
{
......
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