https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137
--- Comment #26 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 31 Oct 2024, jason at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 > > --- Comment #25 from Jason Merrill <jason at gcc dot gnu.org> --- > (In reply to Jakub Jelinek from comment #24) > > Well, to be precise, it would need to be a per-call property if we want to > > allow people to redefine those and don't use those call flags within the TUs > > where they define it but want to use it in other TUs where the state it > > modifies is just an implementation detail. > > Does LTO support per-TU flags? LTO supports per function flags (those marked 'Optimization').