This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95.2, Next 4.2, compiler errors when nonoptimized
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc-2.95.2, Next 4.2, compiler errors when nonoptimized
- From: James McKelvey <mckelvey at fafnir dot com>
- Date: Wed, 3 Nov 1999 20:55:51 -0800
- Reply-To: mckelvey at fafnir dot com
NeXT Cube running Openstep 4.2.
gmake CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
The native compiler aborts with signal 6 when compiling several files in
stage1. Curiously the bug goes away when -O2 is specified.
I'm not sure how this should really be fixed. Here's the patch for
gcc/Makefile.in anyway.
*** Makefile.in.orig Sun Oct 31 19:54:34 1999
--- Makefile.in Sun Oct 31 19:54:42 1999
***************
*** 69,75 ****
XCFLAGS =
TCFLAGS =
# -W -Wall warnings are disabled for releases.
! CFLAGS = -g
BOOT_CFLAGS = -O2 $(CFLAGS)
#WARN_CFLAGS = -W -Wall
# These exists to be overridden by the x-* and t-* files, respectively.
--- 69,75 ----
XCFLAGS =
TCFLAGS =
# -W -Wall warnings are disabled for releases.
! CFLAGS = -g -O2
BOOT_CFLAGS = -O2 $(CFLAGS)
#WARN_CFLAGS = -W -Wall
# These exists to be overridden by the x-* and t-* files, respectively.
---
Where diesel guitars from faraway bars, blast out the
best songs from our holy wars. Coyote carnival catches
on fire, all the cops in the world pick us up on radar.
Jim McKelvey mckelvey@fafnir.com