The following valid code snippet triggers a segfault on mainline, 4.1 branch, and 4.0 branch. The regression is recent, since GCC 4.1.1 is not affected.
==================================================== template<int> struct A { static const int i; }; template<int N> const int A<N>::i = { A<N>::i }; ==================================================== bug.cc:6: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [4.1/4.2/4.2 regression] ICE with brace-enclosed initializer Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29570