https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96787
Bug ID: 96787 Summary: rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org Target Milestone: --- Created attachment 49122 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49122&action=edit hashtab.c with no added attributes Building r11-2827 configured using --with-cpu=power10, I am seeing some kind of compile failure in libiberty hashtab.o function htab_delete(). Putting __attribute__ ((target("cpu=power9")) in front of that function clears the problem. The manifestation is that genmddeps segfaults. I've attached asm output with (.fixed.s) and without (.broken.s) the attribute on htab_delete().