This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/7929: ICE on struct initialization


Joe Buck <jbuck@synopsys.com> writes:

> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7929
> 
> I'm not seeing this error either with the FSF 3.2 release or with the
> CVS 3.2
> branch as of today.  The test case I'm using is
> 
> -----------
> #include <string>
> 
> struct Bar
> {
>      std::string str;
> };
> 
> int main()
> {
>    Bar bar = { "hello" };
> }
> ----------
> There is no crash or diagnostic.  Perhaps a bug was introduced and
> then fixed on
> the branch sometime between Aug 30 and now, or perhaps a local Debian
> patch is
> responsible.  Any objection to closing the bug?
> 
> 
I just upgraded my Debian packages (to the latest version from
unstable) and the bug has vanished!

Regards, Andy
-- 
Andreas Rottmann         | Dru@ICQ        | 118634484@ICQ | a.rottmann@gmx.at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]