https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113722
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[14 Regression] Constant |[14 Regression] Constant
|folding of |folding of
|__builtin_bswap128 is |__builtin_bswap128 is
|broken |broken since r14-1455
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Priority|P3 |P1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Anyway, at -O0
int
main ()
{
unsigned __int128 a = __builtin_bswap128 ((unsigned __int128) 2);
unsigned __int128 b = 2;
unsigned __int128 c = __builtin_bswap128 (b);
if (a != c)
__builtin_abort ();
}
regressed with r14-1455-g0ede6b5ad77c4791a513ab312b9e278dafc2bff9
I'll have a look.