https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71318
Bug ID: 71318 Summary: Can't disable ISAs via function attribute Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- GCC calls init_optabs to initialize the optabs for the current target machine before compilation. It will use them even when they are disabled by function attribute.