This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/671: Internal compiler error building bzflag with -O2 on
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/671: Internal compiler error building bzflag with -O2 on
- From: jgilbert at sgi dot com
- Date: 23 Oct 2000 03:03:10 -0000
- Reply-To: jgilbert at sgi dot com
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, jgilbert@sgi.com
>Number: 671
>Category: c++
>Synopsis: Internal compiler error building bzflag with -O2 on
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 22 20:06:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: John Gilbert, jgilbert@sgi.com
>Release: gcc version 2.96 20000731 (Red Hat Linux 7.0)
>Organization:
>Environment:
stock redhat 7.0 full install, amd k6-2 550 on a P5A 128meg
>Description:
Building BZFlag 1.7d9 from bzflag.linuxgames.com
with only return value type fixes returns the following
about 90% through the makefile.
make[3]: Entering directory `/opt/bzflag-1.7d/src/bzflag'
/usr/bin/g++ -D_BSD_SOURCE -D_POSIX_SOURCE -DHALF_RATE_AUDIO -DXF86VIDMODE_EX
T -I/usr/include -I/usr/X11R6/include -Wall -W -fno-exceptions -DVERSION=107040
09 -DROBOT -DINSTALL_DATA_DIR=\"/usr/X11R6/lib/X11/bzflag/data\" -I../../incl
ude -DNDEBUG -O2 -c BackgroundRenderer.cxx
BackgroundRenderer.cxx: In method `void
BackgroundRenderer::drawGroundGrid (SceneRenderer &)':
BackgroundRenderer.cxx:693: Unable to generate reloads for:
(insn 94 91 95 (set (reg:SF 8 st(0))
(float_truncate:SF (reg/v:XF 8 st(0)))) 91 {*truncxfsf2_2} (insn_list 82
(nil))
(expr_list:REG_DEAD (reg/v:XF 8 st(0))
(nil)))
BackgroundRenderer.cxx:693: Internal compiler error in find_reloads, at
reload.c:3493
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [BackgroundRenderer.o] Error 1
I would be happy to send my build script that makes
all the modifications to the makefiles, etc. so that
it compiles better on 7.0. I had same problem with
the full default bzflag optimization flags as well, I turned
off all but O2.
It compiles fine with the full optimizations with 2.91.66
on redhat 6.2.
>How-To-Repeat:
install redhat 7, bzflag 1.7d9 from above address
and build with
make linux
make
I would be happy to help by sending scripts, install
new compiler packages, etc.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: