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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think there is no compliant way to test alignment assumptions during constant
evaluations and after all, one should always see the actual objects and
therefore can check the exact alignment, rather than needing any assumptions.
So, I think it doesn't really matter if this is done on the libstdc++ say
through not using __builtin_assume_aligned if std::is_constant_evaluated() or
on the C++ FE side (folding __builtin_assume_aligned to the first argument
during manifestly constant evaluation).

Reply via email to