https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116045
Bug ID: 116045
Summary: -march=znver4 does not enable SHSTK but -march=native
does
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
It looks like i386-isa.def lacks SHSTK and thus PTA_ZNVER4 cannot enable it.
But OTOH with -march=native I do get flags that have no corresponding PTA_*,
like in this case -mshstk