From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31134 invoked by alias); 29 Jul 2002 14:26:02 -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 31110 invoked by uid 71); 29 Jul 2002 14:26:01 -0000 Resent-Date: 29 Jul 2002 14:26:01 -0000 Resent-Message-ID: <20020729142601.31109.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, jh@suse.cz Resent-Reply-To: gcc-gnats@gcc.gnu.org, gbeauchesne@mandrakesoft.com Received: (qmail 28392 invoked by uid 61); 29 Jul 2002 14:19:57 -0000 Message-Id: <20020729141957.28391.qmail@sources.redhat.com> Date: Mon, 29 Jul 2002 07:26:00 -0000 From: gbeauchesne@mandrakesoft.com Reply-To: gbeauchesne@mandrakesoft.com To: gcc-gnats@gcc.gnu.org Cc: jh@suse.cz X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: jh@suse.cz Subject: target/7434: ICE in change_address_1, at emit-rtl.c:1934 X-SW-Source: 2002-07/txt/msg00766.txt.bz2 List-Id: >Number: 7434 >Category: target >Synopsis: ICE in change_address_1, at emit-rtl.c:1934 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jul 29 07:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Gwenole Beauchesne >Release: GNU C version 3.2 20020729 (prerelease) >Organization: >Environment: x86_64-mandrake-linux-gnu >Description: [gb@gauss gcc]$ ./cc1 ice.c main ice.c: In function `main': ice.c:9: Internal compiler error in change_address_1, at emit-rtl.c:1934 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Try to compile the following testcase, extracted from HDF 5 soures: [gb@gauss gcc]$ cat ice.c int main(void) { static const int align_g[] = { 1, 2, 4, 8, 16 }; char * buf; int i = 0; volatile long double val = 0; val = *((long double *)(buf + align_g[i])); return 0; } This ICEs whatever optimization level you choose. >Fix: Syntactic workaround: remove the "volatile" keyword from long double val declaration. >Release-Note: >Audit-Trail: >Unformatted: