[Bug target/50194] wrong tail call optimization for mixed arm/thumb mode

2011-08-29 Thread carrot at google dot com
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 a9c8 gcov_init_from_thumb:
2473 a9c8:   4778bx  pc
2474 a9ca:   46c0nop ; (mov r8, r8)
2475 a9cc:   ea45b   a6e8 __gcov_init


[Bug target/50194] wrong tail call optimization for mixed arm/thumb mode

2011-08-28 Thread dougkwan at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50194

Doug Kwan dougkwan at google dot com changed:

   What|Removed |Added

 CC||dougkwan at google dot com

--- Comment #2 from Doug Kwan dougkwan at google dot com 2011-08-29 02:50:20 
UTC ---
Did you try -fuse-ld=bfd to see if this problem appear in both linkers?


[Bug target/50194] wrong tail call optimization for mixed arm/thumb mode

2011-08-26 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50194

Richard Earnshaw rearnsha at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||rearnsha at gcc dot gnu.org
 Resolution||INVALID

--- Comment #1 from Richard Earnshaw rearnsha at gcc dot gnu.org 2011-08-26 
09:26:33 UTC ---
That's a bug in your linker, not in the compiler.