trunk fails to build boost with /space/rguenther/src/c++bench/html/sandbox/boost_1_33_1/boost/type_traits/is_pointer.hpp:68: internal compiler error: in finish_static_data_member_decl, at cp/decl2.c:716 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
reduced testcase: template<typename T> struct is_pointer_impl { static const bool value = true; }; namespace { class prefix_name_mapper {}; } static const bool val = is_pointer_impl<prefix_name_mapper>::value; the anonymous namespace is critical. -- Summary: [4.2 Regression] ICE in finish_static_data_member_decl, at cp/decl2.c:716 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28279