From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19103 invoked by alias); 2 Oct 2002 23:56:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19065 invoked by uid 71); 2 Oct 2002 23:56:00 -0000 Resent-Date: 2 Oct 2002 23:56:00 -0000 Resent-Message-ID: <20021002235600.19064.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, chambers@cs.washington.edu Received: (qmail 12603 invoked from network); 2 Oct 2002 23:47:43 -0000 Received: from unknown (HELO rousseau.cs.washington.edu) (128.95.1.192) by sources.redhat.com with SMTP; 2 Oct 2002 23:47:43 -0000 Received: (from chambers@localhost) by rousseau.cs.washington.edu (8.9.3/8.9.3/0.4) id QAA09801; Wed, 2 Oct 2002 16:47:42 -0700 (PDT) (envelope-from chambers) Message-Id: <200210022347.QAA09801@rousseau.cs.washington.edu> Date: Wed, 02 Oct 2002 16:56:00 -0000 From: chambers@cs.washington.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: optimization/8128: gcc 3.1 reports "Internal compiler error in subst, at combine.c:3546" X-SW-Source: 2002-10/txt/msg00070.txt.bz2 List-Id: >Number: 8128 >Category: optimization >Synopsis: gcc 3.1 reports "Internal compiler error in subst, at combine.c:3546" >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Wed Oct 02 16:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: >Release: 3.1 >Organization: University of Washington >Environment: System: SunOS rousseau 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-1000 Architecture: sun4 host: sparc-sun-solaris2.8 build: sparc-sun-solaris2.8 target: sparc-sun-solaris2.8 configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls >Description: gcc 3.1 reports "Internal compiler error in subst, at combine.c:3546" >How-To-Repeat: Put this into a file, e.g. t.c: float m() { union { double d; float f; int i; } u; u.i = -1; return u.f; } (The double d; declaration is required to trigger the problem.) Then compile w/ -O, e.g. % gcc -O -c t.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: