This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55171] [4.7/4.8 Regression] incorrect virtual thunk on mingw
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Nov 2012 12:54:40 +0000
- Subject: [Bug c++/55171] [4.7/4.8 Regression] incorrect virtual thunk on mingw
- Auto-submitted: auto-generated
- References: <bug-55171-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55171
--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-11-24 12:54:40 UTC ---
The pattern is
movl 4(%esp), %eax
movl (%eax), %eax
addl -16(%eax), %eax
As here the saved this-pointer in %eax gets clobbered.