[Bug c++/40269] New: ICE during procesing class attributes
piotr dot wyderski at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 27 11:34:00 GMT 2009
#include <stdio.h>
class __declspec(dllexport) A {};
int main(int argc, char *argv[]) {
return 0;
}
$ gcc testcase.cpp
testcase.cpp:3: internal compiler error: tree check: expected function_decl,
hav
e type_decl in handle_dll_attribute, at tree.c:4172
Please submit a full bug report,
with preprocessed source if appropriate.
--
Summary: ICE during procesing class attributes
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: piotr dot wyderski at gmail dot com
GCC host triplet: Cygwin/GCC-trunk rev. 147886
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40269
More information about the Gcc-bugs
mailing list