[Bug c++/21645] [4.1 Regression] G++ ICE while building post-html.cpp in groff
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-18 14:00 --- Confirmed, reduced testcase: struct color { ~color(); }; struct style { color col; style (color); }; style::style(color c) : col(c) { } -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Keywords||ice-on-valid-code Last reconfirmed|-00-00 00:00:00 |2005-05-18 14:00:27 date|| Summary|G++ ICE while building post-|[4.1 Regression] G++ ICE |html.cpp in groff |while building post-html.cpp ||in groff Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21645
[Bug c++/21645] [4.1 Regression] G++ ICE while building post-html.cpp in groff
--- Additional Comments From janis at gcc dot gnu dot org 2005-05-18 22:19 --- This is the same problem that causes cc1plus to segfault building SPEC CPU2000 test eon for powerpc-linux at any level of optimization including -O0. The segfault happens when maybe_fold_offset_to_component_ref calls cxx_types_compatible_p with y==0. The failure shows up with this patch from Jan Hubicka: http://gcc.gnu.org/ml/gcc-cvs/2005-05/msg00624.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21645