[Bug target/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 15 12:52:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67226

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Created attachment 36189
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36189&action=edit
reduced test case

I can reproduce the wrong-code on Cortex-A9 with gcc-6-20150809 at -O2/Os/O3,
but not at -O1/O0/Og.



More information about the Gcc-bugs mailing list