Page MenuHomePhabricator

[ARM,MVE] Fix user-namespace violation in arm_mve.h.
ClosedPublic

Authored by simon_tatham on Mar 11 2020, 8:36 AM.

Details

Summary

We were generating the declarations of polymorphic intrinsics using
__attribute__((overloadable)). But overloadable is a valid
identifier for an end user to define as a macro in a C program, and if
they do that before including <arm_mve.h>, then we shouldn't cause a
compile error.

Fixed to spell the attribute name __overloadable__ instead.

Diff Detail

Event Timeline

simon_tatham created this revision.Mar 11 2020, 8:36 AM
miyuki accepted this revision.Mar 11 2020, 9:28 AM

LGTM

This revision is now accepted and ready to land.Mar 11 2020, 9:28 AM
This revision was automatically updated to reflect the committed changes.