static inline int __gthread_active_p (void) { } template <int rank, int dim> class Tensor; template <int dimension> struct G; template <int dim> class T { typedef void A; typedef Tensor<1,dim> F[G<dim>::v]; };
> ./cc1plus -quiet fe.3.ii -flto fe.3.ii:7:2: internal compiler error: tree check: did not expect class 'type', have 'type' (record_type) in contains_placeholder_p, at tree.c:2749 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. which breaks 447.dealII build with LTO. -- Summary: ICE: tree check: did not expect class 'type', have 'type' (record_type) in contains_placeholder_p, at tree.c:2749 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3 Component: lto 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=45018