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

--- Comment #5 from Andrew Stubbs <ams at gcc dot gnu.org> ---
GCC will automatically generate libgcc calls for types up to 2*BITS_PER_WORD,
but no further. Since BITS_PER_WORD is 32 on GCN this means no automatic TImode
support for anything that would go that route (such as div).

If I enable TImode in scalar_mode_supported_p then libgomp is happy, but
libgfortran will automatically try to generate runtime functions to make use of
it. These inevitably trigger an ICE whenever an unavailable optab is
encountered.

These are solvable problems, but I don't have the engineering resource right
now to go build out full TImode support.

Is there some other way we can make libgomp work?

Reply via email to