OSDN Git Service

PR c++/11295
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 21:32:37 +0000 (21:32 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 21:32:37 +0000 (21:32 +0000)
* 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

gcc/ChangeLog
gcc/c-common.c

index 6ba6220..8a99a01 100644 (file)
@@ -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.
index c31c671..e8370d5 100644 (file)
@@ -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)