https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #18 from Alan Modra <amodra at gmail dot com> ---
Isn't this a bug in the assembly? We've changed the ABI, there is no way
anyone can expect all old asm to work with power10 pcrel. To support pcrel you
need new asm.
#ifdef __PCREL__
__asm__ (pcrel version);
#else
__asm__ (non-pcrel version);
#endif
No need for special constraints, I think. (And not sufficient if we had them.)