This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error SPARC/C++
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error SPARC/C++
- From: dg at cogency dot co dot uk (David Gilbert)
- Date: Thu, 11 Jun 1998 11:37:54 +0100
Hi,
cc1plus got a SEG at:
0xa32e4 in lookup_field (xbasetype=0xb7d4b0, name=0x6edc60, protect=1, want_type=0) at search.c:1182
1182 int vbase_name_p = VBASE_NAME_P (name);
#0 0xa32e4 in lookup_field (xbasetype=0xb7d4b0, name=0x6edc60, protect=1, want_type=0) at search.c:1182
#1 0x30d08 in build_field_call (basetype_path=0xb7d4b0, instance_ptr=0x292870, name=0x6edc60, parms=0x292858) at call.c:168
#2 0x3700c in build_new_method_call (instance=0xc150d8, name=0x6edc60, args=0x292858, basetype_path=0xb7d4b0, flags=3)
at call.c:3579
#3 0x318c0 in build_method_call (instance=0xc150d8, name=0x6edc60, parms=0x292858, basetype_path=0x0, flags=3) at call.c:689
#4 0xa80c0 in finish_object_call_expr (fn=0x6edc60, object=0xc150d8, args=0x292858) at semantics.c:928
#5 0x7ed00 in yyparse () at parse.y:1441
#6 0xaff74 in compile_file (name=0xefffea4c "/var/tmp/cca006KD.ii") at toplev.c:2536
#7 0xb34e0 in main (argc=9, argv=0xefffe79c, envp=0x273800) at toplev.c:4385
Due to the fact this is commercial source I can't release it to anyone
wanting to debug it; however I'd be happy to add debugging if people want
to point me in the right direction.
The code is heavy in exception, templates (including STL), run time type
stuff . The compilation options turn on -g but no optimisation.
The EGCS version is:
gcc version egcs-2.91.40 19980608 (gcc2 ss-980502 experimental)
I know the code works fine with 1.0.2 on Linux/x86, and on egcs-2.90.17
Dave
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - +44-(0)161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------