This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
- From: "mueller at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2006 12:48:45 -0000
- Subject: [Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot
- References: <bug-28659-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from mueller at gcc dot gnu dot org 2006-08-13 12:48 -------
I'm currently testing this patch:
--- cp/decl2.c (revision 116108)
+++ cp/decl2.c (working copy)
@@ -1541,7 +1541,7 @@ static tree
min_vis_r (tree *tp, int *walk_subtrees, void *data)
{
int *vis_p = (int *)data;
- if (! TYPE_P (*tp))
+ if (! TYPE_P (*tp) || ! IS_AGGR_TYPE (*tp))
{
*walk_subtrees = 0;
}
--
mueller at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mueller at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-08-08 20:50:40 |2006-08-13 12:48:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28659