c/6957: Internal compiler error in failed_reload, at reload1.c:5050

se@FreeBSD.org se@FreeBSD.org
Fri Jun 7 09:06:00 GMT 2002


>Number:         6957
>Category:       c
>Synopsis:       Internal compiler error in failed_reload, at reload1.c:5050
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 09:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Esser <se@FreeBSD.org>
>Release:        gcc-3.1
>Organization:
>Environment:
FreeBSD 5.0-CURRENT (2002/05/06) on i386

Output of gcc -v:

Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.1 [FreeBSD] 20020509 (prerelease)
>Description:
Error compiling file lib/GL/mesa/src/translate.c (symlink to  extras/Mesa/src/translate.c) of the XFree86-4.2.0 package with optimization (-O, -O2). Compilation succeeds with -O0 and -Os.

The error message is:

../../../../../extras/Mesa/src/trans_tmp.h: In function `trans_1_GLdouble_1ub_elt':
../../../../../extras/Mesa/src/trans_tmp.h:124: could not find a spill register
(insn 96 94 97 (set (subreg:SF (reg:QI 75) 0)
        (plus:SF (reg:SF 8 st(0) [76])
            (reg:SF 9 st(1) [80]))) 525 {*fop_sf_comm_nosse} (insn_list 87 (nil))
    (expr_list:REG_DEAD (reg:SF 8 st(0) [76])
        (nil)))
../../../../../extras/Mesa/src/trans_tmp.h:124: Internal compiler error in failed_reload, at reload1.c:5050
>How-To-Repeat:
Compile the attached (expanded) source file using the following command a

gcc -c -O -pipe -Dasm=__asm -Wall -Wpointer-arith -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL -fPIC translate_E.c
>Fix:

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



More information about the Gcc-bugs mailing list