This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39823] GCC 4.4.0 produces bad code for libstdc++
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2009 22:09:15 -0000
- Subject: [Bug c++/39823] GCC 4.4.0 produces bad code for libstdc++
- References: <bug-39823-16926@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2009-04-20 22:09 -------
What makes you think there is a problem on the _ZNSs5beginEv side?
0(%ebp) is saved %ebp, 4(%ebp) is caller IP, 8(%ebp) is address of return value
(returned by invisible reference), 12(%ebp) is this pointer. If there is a
crash on dereferencing the this pointer, it is a problem in the caller.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39823