target/992: i386 cc1 crashes if passed '-msse'

stephen.kennedy@havok.com stephen.kennedy@havok.com
Tue Dec 5 13:26:00 GMT 2000


>Number:         992
>Category:       target
>Synopsis:       i386 cc1 crashes if passed '-msse'
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 05 13:26:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        2.97 20001205 (experimental)
>Organization:
>Environment:
System: Linux stag.telekinesys 2.2.17sk #14 Thu Nov 30 20:11:50 GMT 2000 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-languages=c
>Description:
	cc1 crashes in build_function_type (called from ix86_init_builtins)
	if '-msse' is passed on the command line. A null pointer (value_type)
       	is dereferenced.

>How-To-Repeat:
	Simply run 'cc1 -msse'. It does not even begin parsing input.
	Backtrace is 
#0  build_function_type (value_type=0x0, arg_types=0x401858e0) at ../../gcc/gcc/tree.c:3869
#1  0x82ae0a5 in ix86_init_builtins () at ../../gcc/gcc/config/i386/i386.c:7414
#2  0x8058697 in init_decl_processing () at ../../gcc/gcc/c-decl.c:3058
#3  0x8094188 in compile_file (name=0x82d92ae "stdin") at ../../gcc/gcc/toplev.c:2180
#4  0x8098140 in main (argc=2, argv=0xbffff974) at ../../gcc/gcc/toplev.c:4848
#5  0x4003ce51 in __libc_start_main (main=0x8097ca0 <main>, argc=2, ubp_av=0xbffff974, init=0x80491a0 <_init>, fini=0x82d1b5c <_fini>, rtld_fini=0x4000e264 <_dl_fini>, stack_end=0xbffff96c) at ../sysdeps/generic/libc-start.c:111

>Fix:
	No fix or workaround known.

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


More information about the Gcc-prs mailing list