public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/7434: ICE in change_address_1, at emit-rtl.c:1934
@ 2002-07-29  7:26 gbeauchesne
  0 siblings, 0 replies; only message in thread
From: gbeauchesne @ 2002-07-29  7:26 UTC (permalink / raw)
  To: gcc-gnats; +Cc: jh


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-29 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-29  7:26 target/7434: ICE in change_address_1, at emit-rtl.c:1934 gbeauchesne

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).