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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems to be a pre-existing problem.

void
bar (void)
{
  __asm ("# %0" : : "g" ((((unsigned __int128) 0x123456789abcdef0ULL) << 64) |
0x0fedcba987654321ULL));
}

fails the same way.

void
baz (void)
{
  __asm ("# %0" : : "g" (0x0fedcba987654321ULL));
}

works with both -fpic and -fno-pic.
If it is solely about the testsuite FAIL, I can certainly add -fno-pic to
dg-options
in there.
But this is instead whether 128-bit integer constants work with "g" in
-fpic/-fpie modes (on 64-bit arches), 65..128 bit _BitInt on 32-bit arches
would expand like the 575 bit one into memory rather than CONST_WIDE_INT.

Reply via email to