re PR c/5354 (function call with two statement expressions yields incorrect result)
authorEric Botcazou <ebotcazou@multimania.com>
Thu, 21 Mar 2002 09:39:18 +0000 (09:39 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 21 Mar 2002 09:39:18 +0000 (01:39 -0800)
commit312687cfa88b0e5ee2600e0349bf285b826521b9
treedb9e6c3c3b0671407dbf927358b92c97787e9d8d
parent48f90839b0860bf9f286f0f13972c4401caf9395
re PR c/5354 (function call with two statement expressions yields incorrect result)

        PR c/5354
        * c-common.c (c_expand_expr): Preserve result of a statement
        expression if needed.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r51121
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/gcc.c-torture/execute/20020320-1.c [new file with mode: 0644]