summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 21:32:37 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 21:32:37 +0000
commitcba9294ed64b2fd87f083e60f3da9fec97be45d3 (patch)
tree53f3cfa75b0b5ff17b86143bf2ac848f9241193e
parentd0b809979ae8c5aedc6cab484b56c691229ed716 (diff)
downloadppe42-gcc-cba9294ed64b2fd87f083e60f3da9fec97be45d3.tar.gz
ppe42-gcc-cba9294ed64b2fd87f083e60f3da9fec97be45d3.zip
PR c++/11295
* c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call to expand_expr_real call, and pass in alt_rtl as last argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77557 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-common.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6ba6220195b..8a99a014ec1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2004-02-09 James E Wilson <wilson@specifixinc.com>
+ PR c++/11295
+ * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call
+ to expand_expr_real call, and pass in alt_rtl as last argument.
+
PR libstdc++/5625
* builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New.
* builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER.
diff --git a/gcc/c-common.c b/gcc/c-common.c
index c31c671e9a2..e8370d519ee 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -4106,7 +4106,7 @@ c_expand_expr (tree exp, rtx target, enum machine_mode tmode,
expand_stmt (STMT_EXPR_STMT (exp));
expand_end_stmt_expr (rtl_expr);
- result = expand_expr (rtl_expr, target, tmode, modifier);
+ result = expand_expr_real (rtl_expr, target, tmode, modifier, alt_rtl);
if (preserve_result && GET_CODE (result) == MEM)
{
if (GET_MODE (result) != BLKmode)
OpenPOWER on IntegriCloud