This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65358] wrong parameter passing code with tail call optimization on arm
- From: "hong.gyu.kim at lge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Mar 2015 00:19:37 +0000
- Subject: [Bug target/65358] wrong parameter passing code with tail call optimization on arm
- Auto-submitted: auto-generated
- References: <bug-65358-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65358
--- Comment #13 from Honggyu Kim <hong.gyu.kim at lge dot com> ---
Created attachment 35041
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35041&action=edit
backport patch from linaro
Jongsung Kim (neidhard.kim@lge.com) found a patch that generates this error.
I think this patch is not the root cause but it just triggers some buggy code
by enabling sibcall optimization in this case.
When we applied a patch in a reverse way, sibcall optimiztion is off in this
case then it works fine.
I have attached the patch for your reference.