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++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477


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

--- Comment #3 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-11-10 21:05:55 UTC ---
Author: froydnj
Date: Wed Nov 10 21:05:50 2010
New Revision: 166558

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166558
Log:
gcc/cp/
    PR c++/46065
    * decl.c (poplevel_named_label_1): Use TREE_CHAIN if necessary.

gcc/testsuite/
    PR c++/46065
    * g++.dg/pr46065.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/pr46065.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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