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 Release: gcc-3.1 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) 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
State-Changed-From-To: open->feedback State-Changed-Why: As far as I can see, Bernd Schmidt has addressed this bug: http://gcc.gnu.org/ml/gcc/2002-06/msg01211.html http://gcc.gnu.org/ml/gcc/2002-06/msg01709.html Would you mind verifying whether this fix indeed resolves your bug? Thanks!
State-Changed-From-To: feedback->closed State-Changed-Why: Closed upon feedback by submitter. Thanks for the careful check!
From: Stefan Esser <se@freebsd.org> To: gerald@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, pfeifer@dbai.tuwien.ac.at, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c/6957: Internal compiler error in failed_reload, at reload1.c:5050 Date: Sat, 29 Jun 2002 22:29:34 +0200 On 2002-06-28 12:47 -0000, gerald@gcc.gnu.org wrote: > Synopsis: Internal compiler error in failed_reload, at reload1.c:5050 > > State-Changed-From-To: open->feedback > State-Changed-By: gerald > State-Changed-When: Fri Jun 28 05:47:50 2002 > State-Changed-Why: > As far as I can see, Bernd Schmidt has addressed this bug: > http://gcc.gnu.org/ml/gcc/2002-06/msg01211.html > http://gcc.gnu.org/ml/gcc/2002-06/msg01709.html > Would you mind verifying whether this fix indeed resolves > your bug? Thanks! > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6957 The bug appears to be fixed! I also verified that the resulting GCC is capable of completing a "make world" on FreeBSD-current, just as an additional regression test ... Regards, STefan