The following invalid code snippet triggers an ICE on mainline and 4.3 branch:
==================================================== template<int> struct A {}; template<typename> struct B : A<sizeof(0=0r)> {}; template<typename> struct C : A<sizeof(0=0r)> {}; ==================================================== bug.cc:5: internal compiler error: in cp_tree_equal, at cp/tree.c:1932 Please submit a full bug report, [etc.] The bug is related to PR35324. -- Summary: [4.3/4.4 regression] ICE with fixed-point types in template parameter Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org BugsThisDependsOn: 35324 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35325