This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46317] Incorrect construction vtable on ARM in case of diamond shaped virtual inheritance
- From: "end3er at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Jan 2011 17:35:45 +0000
- Subject: [Bug c++/46317] Incorrect construction vtable on ARM in case of diamond shaped virtual inheritance
- Auto-submitted: auto-generated
- References: <bug-46317-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46317
end3er at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.5.0 |4.2.1
--- Comment #7 from end3er at gmail dot com 2011-01-30 17:35:32 UTC ---
(In reply to comment #6)
> This test case works for me on armv5tel-linux-gnueabi with gcc 4.4.5, 4.5.2,
> and 4.6-20110122.
Oops, you are right actually, I missed one line in my static analysis (I didn't
have an ARM target to live test...):
8298: e285101c add r1, r5, #28
This line actually correctly sets r1 to <construction vtable for C-in-D>+0x10
when compiling with GCC 4.5.0
So the bug is actually only seen with GCC 4.2.1
Sorry for the false positive...