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]

[Bug c++/36767] [4.3/4.4 Regression] Segmentation fault with -fprofile-arcs -O2



------- 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


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