Commit 45b8ddb4 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* expr.c (cplus_expand_expr): Don't reset `target'.

From-SVN: r38787
parent 8cd0792f
2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* expr.c (cplus_expand_expr): Don't reset `target'.
2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk> 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
* cp/decl2.c (cxx_post_options): Call cpp_post_options. * cp/decl2.c (cxx_post_options): Call cpp_post_options.
......
/* Convert language-specific tree expression to rtl instructions, /* Convert language-specific tree expression to rtl instructions,
for GNU compiler. for GNU compiler.
Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
2000 Free Software Foundation, Inc. 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -100,10 +100,6 @@ cplus_expand_expr (exp, target, tmode, modifier) ...@@ -100,10 +100,6 @@ cplus_expand_expr (exp, target, tmode, modifier)
tree type = TREE_TYPE (exp); tree type = TREE_TYPE (exp);
register enum machine_mode mode = TYPE_MODE (type); register enum machine_mode mode = TYPE_MODE (type);
register enum tree_code code = TREE_CODE (exp); register enum tree_code code = TREE_CODE (exp);
int ignore = target == const0_rtx;
if (ignore)
target = 0;
/* No sense saving up arithmetic to be done /* No sense saving up arithmetic to be done
if it's all in the wrong mode to form part of an address. if it's all in the wrong mode to form part of an address.
......
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