[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
Mon Jul 28 10:53:00 GMT 2008



------- Comment #11 from dodji at gcc dot gnu dot org  2008-07-28 10:52 -------
Created an attachment (id=15969)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15969&action=view)
update vars more specifically, adding BIND_EXPR

After talking with Jakub, it appeared that I was forgetting to update VAR_DECLS
that were attached to a BIND_EXPR.
Walking those VAR_DECLS appears to fix the problem.

Regtesting now. Will update the patch with a proper testcase when regtesting
passes.

Please feel free to comment in the meantime.


-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15968|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36767



More information about the Gcc-bugs mailing list