This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50194] wrong tail call optimization for mixed arm/thumb mode
- From: "carrot at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2011 01:16:34 +0000
- Subject: [Bug target/50194] wrong tail call optimization for mixed arm/thumb mode
- Auto-submitted: auto-generated
- References: <bug-50194-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50194
--- Comment #3 from Carrot <carrot at google dot com> 2011-08-30 01:16:34 UTC ---
Yes, it's a problem of the linker in my testing environment. I've tried to
manually link it with a different linker, it can run successfully. And the
correct stub is generated
2472 0000a9c8 <____gcov_init_from_thumb>:
2473 a9c8: 4778 bx pc
2474 a9ca: 46c0 nop ; (mov r8, r8)
2475 a9cc: eaffff45 b a6e8 <__gcov_init>