https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519
--- Comment #20 from Peter Bergner <bergner at gcc dot gnu.org> --- (In reply to Alan Modra from comment #18) > 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.) I agree with Segher that we can't state that all old inline asm that uses "m" is buggy if/when compiled with -mcpu=power10. There's just way too much use of it. That said, I'm interested in why you don't think a new special pcrel constraint would be sufficient?