[Bug ipa/123233] [enhancement] control over compile-time specialization

uecker at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 20 11:18:19 GMT 2025


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

--- Comment #2 from uecker at gcc dot gnu.org ---

This is what I do now, if I have to. The idea here is based on the observation
that GCC is already able to do this just fine without having to rewrite the
code, but one can  not rely on it. The problem with macros / templates etc. is
also that it is more errorprone, can easily go to far (producing to many
specialized versions), and that it is difficult to switch back and forth when
deciding whether it is worth it or not which would be very easy with a
lightweight annotations.


More information about the Gcc-bugs mailing list