This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45049] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in push_overloaded_decl, at cp/name-lookup.c:2160
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2010 12:32:15 -0000
- Subject: [Bug c++/45049] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in push_overloaded_decl, at cp/name-lookup.c:2160
- References: <bug-45049-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jakub at gcc dot gnu dot org 2010-08-18 12:32 -------
This is broken for more than month, by a change which didn't fix any bug, nor
improved code generation nor compilation time; I'd say DECL_CHAIN should drop
the DECL_MINIMAL_CHECK test unless this is resolved soon, either by reverting
those places to use TREE_CHAIN again instead of DECL_CHAIN, or use
if (DECL_P (x)) ... DECL_CHAIN (x) ... else ... TREE_CHAIN (x) ...;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45049