[Bug c++/44625] New: ICE after error: anonymous struct not inside named type
doko at ubuntu dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 22 08:35:00 GMT 2010
seen with 4.3, 4.4, 4.5 and trunk:
Starting program: /scratch/packages/gcc/4.4/gcc-4.4-4.4.4/build/gcc/cc1plus
-fpreprocessed ../../Vector3D.ii -quiet -dumpbase Vector3D.ii -mtune=generic
-auxbase Vector3D -version -fpermissive -o /tmp/ccG8KwAM.s
GNU C++ (Debian 4.4.4-6) version 4.4.4 (x86_64-linux-gnu)
compiled by GNU C version 4.4.4, GMP version 4.3.2, MPFR version
2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 98feda5ccf2f6c27a26b5ced57e2b3dd
In file included from Vector3D.cpp:4:
Vector3D.h: In member function 'Vec<FP_>& Vec<FP_>::operator^=(Vec<FP_>&)':
Vector3D.h:112: error: anonymous struct not inside named type
Vector3D.h: In member function 'Vec<FP_>& Vec<FP_>::operator^=(Vec<FP_>&) [with
FP_ = double]':
Vector3D.cpp:19: instantiated from here
Vector3D.h:112: error: anonymous struct not inside named type
Program received signal SIGSEGV, Segmentation fault.
tsubst_copy_and_build (t=0x0, args=0x7ffff6112fc0,
complain=tf_warning_or_error,
in_decl=0x7ffff62b2c80, function_p=<value optimized out>,
integral_constant_expression_p=<value optimized out>) at
../../src/gcc/cp/pt.c:11716
11716 if (BASELINK_P (member))
(gdb) p member
$1 = (tree) 0x0
--
Summary: ICE after error: anonymous struct not inside named type
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: doko at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
More information about the Gcc-bugs
mailing list