https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- ISTR that clang evaluates constexpr declared things opportunistically as constexpr even when that is not required (your find_gcd<>(ints) call is not in such a context).