This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35747] [4.3/4.4 regression] ICE with undefined variable in statement expression



------- Comment #4 from jakub at gcc dot gnu dot org  2008-04-22 22:15 -------
Subject: Bug 35747

Author: jakub
Date: Tue Apr 22 22:14:25 2008
New Revision: 134568

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134568
Log:
        PR c++/35747
        * semantics.c (finish_stmt_expr): Call pop_stmt_list even if the stmt
        expression is errorneous.

        * g++.dg/ext/stmtexpr13.C: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/ext/stmtexpr13.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/semantics.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]