public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3620
@ 2001-07-10 8:26 Peter Niemayer
0 siblings, 0 replies; only message in thread
From: Peter Niemayer @ 2001-07-10 8:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3620; it has been noted by GNATS.
From: Peter Niemayer <niemayer.viag@isg.de>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org, mak@is.s.u-tokyo.ac.jp
Cc:
Subject: Re: c++/3620
Date: Tue, 10 Jul 2001 17:18:40 +0200
> Synopsis: GCC3.0 optimization on anonymous union causes ICE
> Description: ICE occurs with the following code and -O option:
> --------------------------------------test.cpp
> void something(char *);
>
> int main()
> {
> union {
> char d[sizeof(int)];
> int ll;
> };
> something(d);
> return ll;
> }
> -----------------------------------------------
Interestingly, this bug is very similar to one that I reported a long
time ago (PR 228) and that was also fixed a long time ago:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=228&database=gcc
This old bug is still fixed with gcc-3.0 - so maybe the fix of the old
bug introduced the new one?
Regards,
Peter Niemayer
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-10 8:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-10 8:26 c++/3620 Peter Niemayer
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).