This is the mail archive of the gcc@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: [ICE] g++-3.3.2


> 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



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