------- Comment #8 from cvs-commit at gcc dot gnu dot org 2005-10-02 21:28 ------- Subject: Bug 23840
CVSROOT: /cvs/gcc Module name: gcc Changes by: [EMAIL PROTECTED] 2005-10-02 21:28:50 Modified files: gcc/cp : tree.c ChangeLog gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/expr: stdarg1.C Log message: PR c++/23840 * tree.c (lvalue_p1): A VA_ARG_EXPR with class type is an lvalue, when class rvalues are lvalues. PR c++/23840 * g++.dg/expr/stdarg1.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.442&r2=1.443 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4905&r2=1.4906 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/stdarg1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6123&r2=1.6124 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23840