https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-06-22
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Summary|__builtin_rev_crc32_data8 |__builtin_rev_crc32_data8
|(and family) should be |(and family) should be able
|constexpr functions |to constant fold
Component|c++ |middle-end
Blocks|55004 |
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is NOT just about constexpr but rather it is more about constant folding
the builtins in general.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
[Bug 55004] [meta-bug] constexpr issues