c++/7504: ICE on call to static method of incomplete type

jmr@fulcrummicro.com jmr@fulcrummicro.com
Tue Aug 6 01:06:00 GMT 2002


>Number:         7504
>Category:       c++
>Synopsis:       ICE on call to static method of incomplete type
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 06 01:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jesse Rosenstock
>Release:        3.3 20020804 (experimental)
>Organization:
>Environment:
System: Linux churchill 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-threads=posix --prefix=/home/user/jmr/app/gcc --enable-shared --enable-languages=c++,java : (reconfigured)  : (reconfigured) 
>Description:
	ICE on call to static method of incomplete type
>How-To-Repeat:
; cat baz.ii
class X;

void f() {
  X::g();
}

; gcc -v baz.ii
Reading specs from /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc/configure --enable-threads=posix --prefix=/home/user/jmr/app/gcc --enable-shared --enable-languages=c++,java : (reconfigured)  : (reconfigured) 
Thread model: posix
gcc version 3.3 20020804 (experimental)
 /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1plus -fpreprocessed baz.ii -quiet -dumpbase baz.ii -auxbase baz -version -o /tmp/cccEYZby.s
GNU C++ version 3.3 20020804 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.3 20020801 (experimental).
baz.ii: In function `void f()':
baz.ii:4: internal compiler error: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list