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

--- Comment #4 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
I just tried to understand the code in GCC... Do I understand correctly that
TARGET_FUNCTION_ARG_BOUNDARY, which produces one of the Wpsabi warnings, only
knows about the argument type but doesn't see the function that is being
called?

In other words, the caller of TARGET_FUNCTION_ARG_BOUNDARY would have to set
`warn_psabi` to false? That's where I'm stuck because I can only see
definitions of TARGET_FUNCTION_ARG_BOUNDARY. What's the magic to invoke it?

Reply via email to