]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/8342 (g++.jason/pmf7.C fails on i586-pc-linux-gnu)
authorGlen Nakamura <glen@imodulo.com>
Thu, 21 Nov 2002 21:42:40 +0000 (21:42 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 21 Nov 2002 21:42:40 +0000 (21:42 +0000)
commit1c83ea9fd0f1a301ec09499ae9d8bca527c41e6c
tree0e4821b66a41d5a3caf80bb79e99dcdf59d4d8b8
parentff3afb56237e605084287f26b435bd5cc846c7e0
re PR c++/8342 (g++.jason/pmf7.C fails on i586-pc-linux-gnu)

PR c++/8342
* typeck.c (get_member_function_from_ptrfunc): Make sure that a
SAVE_EXPR for instance_ptr doesn't get evaluated first inside one
of the branches of a COND_EXPR.

From-SVN: r59360
gcc/cp/ChangeLog
gcc/cp/typeck.c