This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36767] [4.3/4.4 Regression] Segmentation fault with -fprofile-arcs -O2
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2008 17:01:36 -0000
- Subject: [Bug c++/36767] [4.3/4.4 Regression] Segmentation fault with -fprofile-arcs -O2
- References: <bug-36767-16437@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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