This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45018] New: ICE: tree check: did not expect class 'type', have 'type' (record_type) in contains_placeholder_p, at tree.c:2749
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2010 11:48:49 -0000
- Subject: [Bug lto/45018] New: ICE: tree check: did not expect class 'type', have 'type' (record_type) in contains_placeholder_p, at tree.c:2749
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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