public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: gbeauchesne@mandrakesoft.com
To: gcc-gnats@gcc.gnu.org
Cc: jh@suse.cz
Subject: target/7434: ICE in change_address_1, at emit-rtl.c:1934
Date: Mon, 29 Jul 2002 07:26:00 -0000	[thread overview]
Message-ID: <20020729141957.28391.qmail@sources.redhat.com> (raw)


>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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:


                 reply	other threads:[~2002-07-29 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020729141957.28391.qmail@sources.redhat.com \
    --to=gbeauchesne@mandrakesoft.com \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=jh@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).