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

--- Comment #8 from Mishmish Dev <mishmish at mishmish dot dev> ---
(In reply to Jakub Jelinek from comment #7)
> (In reply to Mishmish Dev from comment #6)
> > I don't think this is a good idea. Turns -freflection into an ABI switch.
> > 
> > Example of mixing TUs with and without reflection creating ODR violation:
> > https://godbolt.org/z/Ws9xj5Ev3
> 
> In that case I think it is best to leave this in 16.x unresolved.

I currently have an alternative proposal on the mailing list that adds a number
of constexpr annotations to the standard library’s debug headers (conditional
on reflection support, as Jonathan Wakely suggested).

Thread: https://gcc.gnu.org/pipermail/gcc-patches/2026-October/735746.html

Reply via email to