This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/65358] wrong parameter passing code with tail call optimization on arm


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]