https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113409
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On e.g.
void bar (_BitInt(931));
void
foo (_BitInt(931) x)
{
#pragma omp parallel for
for (_BitInt(931) i = 0; i < x; ++i)
bar (i);
}
clang emits
warning: OpenMP loop iteration variable cannot have more than 64 bits size and
will be narrowed [-Wopenmp-loop-form]
warning.
On
void bar (__int128);
void
foo (__int128 x)
{
#pragma omp parallel for // schedule(runtime)
for (__int128 i = 0; i < x; ++i)
bar (i);
}
we actually emit something that probably works and with schedule(runtime)
silently assume it won't be more than 64-bit of iterations.
So supposedly we should treat BITINT_TYPEs the same.