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/78397] The stack is not 8 bytes aligned on ARM


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

--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
The __aeabi_read_tp call is to a special helper function and not really
considered to be a 'public interface'; the EABI only requires conformance to
the stack alignment constraints at public interfaces.

As such, I think that really this is a bug in the clang helper libraries and
that they shouldn't be making such an assumption.

The proposed patch is undesirable as it would extra stack activity in genuine
leaf functions as well as in this case and that makes the code less efficient.

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