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.

Reply via email to