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 #13 from dodji at gcc dot gnu dot org  2008-07-28 17:01 -------
Created an attachment (id=15972)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15972&action=view)
reworked patch

Reworked patch to walk BIND_EXPR_VARs only. I think there is no need to walk
VAR_DECLs via DECL_EXPR() if we walk BIND_EXPR_VARs.

The patch seems to work, regtested on trunk, x86_64.

@jakub: thanks for your comments. I did fix the patch accordingly.


-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15957|0                           |1
        is obsolete|                            |
  Attachment #15969|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]