------- Comment #2 from jakub at gcc dot gnu dot org  2008-04-29 08:57 -------
Subject: Bug 35987

Author: jakub
Date: Tue Apr 29 08:56:27 2008
New Revision: 134787

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134787
Log:
        PR c++/35987
        * typeck.c (cp_build_modify_expr) <case PREINCREMENT_EXPR>: Don't build
        COMPOUND_EXPR if the second argument would be error_mark_node.

        * g++.dg/other/error28.C: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/error28.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/typeck.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35987

Reply via email to