[Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
stefaandr at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Aug 23 12:56:00 GMT 2004
template <class super, int (super::tdata::*member)() const =
&super::tdata::operator() >
struct x {};
Reading specs from /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: /esat/alexandria1/stefaan/src/gcc/main/configure
--prefix=/esat/olympia/install --program-suffix=-3.5 --enable-languages=c,c++
Thread model: posix
gcc version 3.5.0 20040822 (experimental)
/esat/olympia/install/libexec/gcc/i686-pc-linux-gnu/3.5.0/cc1plus -quiet -v
-D_GNU_SOURCE test20.cpp -quiet -dumpbase test20.cpp -mtune=pentiumpro
-auxbase-strip test20.o -O -version -o /tmp/cclq0yaF.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../include/c++/3.5.0
/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../include/c++/3.5.0/i686-pc-linux-gnu
/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../include/c++/3.5.0/backward
/esat/olympia/install/include
/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/include
/usr/include
End of search list.
GNU C++ version 3.5.0 20040822 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
test20.cpp:1: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have template_type_parm in
check_accessibility_of_qualified_id, at cp/semantics.c:1388
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE: tree check: expected record_type or union_type or
qual_union_type, have template_type_parm in
check_accessibility_of_qualified_id, at
cp/semantics.c:1388
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stefaandr at hotmail dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17149
More information about the Gcc-bugs
mailing list