https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121471
Bug ID: 121471 Summary: arm: mcrr2 and mrrc2 were obsolted in arm8-a Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rearnsha at gcc dot gnu.org Target Milestone: --- The Armv8-a Arm ARM removes all references to mcrr2 and mrrc2, so the intrinsics that expand to these instructions should be rejected when compiled with -march=armv8-a eg: #include <arm_acle.h> void f() { __arm_mcrr2 (0, 0, 0, 0); }