On 2002-06-22 14:44 +0200, Martin Blapp <[EMAIL PROTECTED]> wrote:
> 
> Hi Stefan,
> 
>  Did the GCC-3.1 from ports compile translate.c with optimization
> > turned on ???
> >
> > It didn't, just one or two weeks ago.
> 
> GCC3.1.1 Prerelease.
> 
> Yes it did. I removed the patch andd added -O and -O2 again.

Sorry, but the version from ports failed without the patch,
just a few seconds ago:

$ gcc -v
gcc version 3.1.1 20020527 (prerelease) [FreeBSD]

$ LD_LIBRARY_PATH=../../../../exports/lib gcc31 -c -O2 -pipe -march=i486  -ansi 
-pedantic -Dasm=__asm -Wall -Wpointer-arith   -I../../../../exports/include 
-I../../../../exports/include/X11 -I../../../../include/extensions                
-I../../../../extras/Mesa/src -I../../../../lib/GL/dri  -I../../../.. 
-I../../../../exports/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  
 -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI    -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI 
-DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA                -DUSE_X86_ASM 
-DUSE_MMX_ASM       -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith  
-I../../../../exports/include -I../../../../exports/include/X11 
-I../../../../include/extensions           -I../../../../extras/Mesa/src 
-I../../../../lib/GL/dri  -I../../../.. -I../../../../exports/include   -DCSRG_BASED  
-DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS   -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI    
-DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN 
-DGLX_USE_MESA       -DUSE_X86_ASM -DUSE_MMX_ASM        -fPIC translate.c

In file included from translate.c:779:
../../../../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 99 97 100 (set (subreg:SF (reg:QI 76) 0)
        (plus:SF (reg:SF 8 st(0) [77])
            (reg:SF 9 st(1) [81]))) 525 {*fop_sf_comm_nosse} (insn_list 90 (nil))
    (expr_list:REG_DEAD (reg:SF 8 st(0) [77])
        (nil)))
../../../../extras/Mesa/src/trans_tmp.h:124: Internal compiler error in failed_reload, 
at reload1.c:5050
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I'm going to test with the updated port, later (20020617 prerelease).

Regards, STefan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to