NetBSD Problem Report #43337

From www@NetBSD.org  Fri May 21 17:29:32 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 56F0763B879
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 21 May 2010 17:29:32 +0000 (UTC)
Message-Id: <20100521172931.D821E63B873@www.NetBSD.org>
Date: Fri, 21 May 2010 17:29:31 +0000 (UTC)
From: nwf@cs.jhu.edu
Reply-To: nwf@cs.jhu.edu
To: gnats-bugs@NetBSD.org
Subject: gcc ICE with optimization on vax
X-Send-Pr-Version: www-1.0

>Number:         43337
>Category:       port-vax
>Synopsis:       gcc ICE with optimization on vax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-vax-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 21 17:30:00 +0000 2010
>Closed-Date:    Mon Apr 13 19:20:38 +0000 2020
>Last-Modified:  Mon Apr 13 19:20:38 +0000 2020
>Originator:     Nathaniel Filardo
>Release:        5.0.2
>Organization:
>Environment:
NetBSD uvthree.priv.oc.ietfng.org 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 22:45:58 UTC 2010  builds@b8.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/vax/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/vax/compile/GENERIC vax
>Description:
When attempting to build games/frotz from pkgsrc, this happens:

$ make
...
cc -O2 -DCONFIG_DIR="\"/usr/pkg/etc\""   -DVERSION="\"2.43\""
-DSOUND_DEV="\"/dev/sound\"" -DCOLOR_SUPPORT -DOSS_SOUND     -O1 -fgcse
-fstrength-reduce -fgcse-after-reload -I/usr/include -o src/common/quetzal.o -c src/common/quetzal.c
src/common/quetzal.c: In function 'save_quetzal':
src/common/quetzal.c:562: internal compiler error: in change_address_1, at emit-rtl.c:1819
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.

If instead I run "make DBG=-O0" then games/frotz builds successfully.
>How-To-Repeat:
Build games/frotz with defaults.
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 13 Apr 2020 19:20:38 +0000
State-Changed-Why:
I have a more useful version of this PR in upstream GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85152
It's more useful because it has a small standalone reproducer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.