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

--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Trass3r from comment #5)
> Wpadded only checks for input_location != BUILTINS_LOCATION currently
> (stor-layout.c).
> Maybe something like !DECL_ARTIFICIAL(rli->t) should be added there.

Using input_location is very often wrong:
https://gcc.gnu.org/wiki/DiagnosticsGuidelines#Locations

We are slowly moving to remove it.

Reply via email to