Seen with gcc 4.4.0: $ gcc temp.cpp -I../.. In file included from temp.cpp:2: ../../gptm/thread_scope_new.h:128: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (identifier_node) in constructor_name_full, at cp/name-lookup.c:1777 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
$ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-dl/configure Thread model: posix gcc version 4.4.0 20090217 (experimental) (GCC) I don't know, but it might relate to bug 43082. -- Summary: internal compiler error: tree check expected class ‘type’ have ‘exceptional’ Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kian dot karas dot dev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43131