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++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot



------- 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


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