[Bug c++/36767] [4.3/4.4 Regression] Segmentation fault with -fprofile-arcs -O2
dodji at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 25 00:04:00 GMT 2008
------- Comment #7 from dodji at gcc dot gnu dot org 2008-07-25 00:03 -------
Created an attachment (id=15957)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15957&action=view)
fixes DECL_CONTEXT() of the temporary variables in the initialiser
So this patch seems to make the crash go away for me.
I still need to add add some asserts in the mangler to prevent it from
recursing ad infinitum when a VAR_DECL has a NULL name.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36767
More information about the Gcc-bugs
mailing list