https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79343
Bug ID: 79343 Summary: [7 Regression] error: PIC register clobbered by '%2' in 'asm' Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- openblas fails to compile on ppc64le-linux starting with r235876. Small testcase: void foo (void) { asm volatile ("" : : : "%2"); } sasum.c: In function ‘foo’: sasum.c:4:3: error: PIC register clobbered by ‘%2’ in ‘asm’ asm volatile ("" : : : "%2"); ^~~ I thought ppc64le ELFv2 is not PIC by default (and it is rejected even with -fno-pic).