https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 56885 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56885&action=edit gcc14-pr113013.patch I don't see how FEs could do anything, especially on declarations like this where the argument types aren't specified. For attributes like this, it is generally responsibility of the function using those to use it only if they are sane, and after all, even the tree-object-size.cc code does that (e.g. verify that such argument exists at all). Just doesn't check that it is convertible to sizetype.