This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ICE] g++-3.3.2
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: rene at rocklinux dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 04 Nov 2003 13:04:14 +0100 (CET)
- Subject: Re: [ICE] g++-3.3.2
- Reply-to: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
> I found a suspect snipset of (maybe unlegal) C++ code that seg-faults
> G++ 3.3.2 (PowerPC, self-build, ROCK Linux):
>
> #include <iostream>
>
> struct state
> {
> std::string name;
> bool av;
> };
>
> int main ()
> {
> state st;
> st = (state) { "a", true };
> std::cout << st.name << std::endl;
> }
>
> The "st = (state) { "a", true };" line is the one that crashes g++:
[snip]
Hi Rene,
this is PR 12726, which is already fixed for gcc 3.3.3:
http://gcc.gnu.org/PR12726
Thanks for letting us know, but please use http://gcc.gnu.org/bugzilla/
for posting problem reports.
Regarding your other problem report: The 3.2 branch is closed, so
nobody is going to fix it there. And since the bug is fixed in more
recent versions of the compiler, no action will be taken.
Regards,
Volker