https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111828
--- Comment #7 from Peter Bergner <bergner at gcc dot gnu.org> --- (In reply to Peter Bergner from comment #6) > That said, I think nearly all (all?) HTM usage on Power uses our HTM > built-in functions. Maybe we could remove OPTION_MASK_HTM from the > power8/power9 default flags and only add it back in if we detect the use of > an HTM built-in function? Looking at GLIBC, Power's elision-lock.c use of our htm.h uses inline asm with HTM instructions and not our HTM built-in functions and it doesn't explicitly add -mhtm to the command line options like S390 does, so I think this idea won't work. :-(