[Bug c/71199] New: Support overloadable attribute in GNU C front-end

dje at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 19 13:53:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71199

            Bug ID: 71199
           Summary: Support overloadable attribute in GNU C front-end
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
  Target Milestone: ---

Support C++ function overloading in C using the overloadable attribute.  The
appropriate function is invoked based on the function parameters.  This feature
is defined in the Clang documentation and implemented in Clang.

http://clang.llvm.org/docs/AttributeReference.html#overloadable

The functionality for GNU C is helpful to implement overloaded intrinsic /
built-in functions, such as Altivec vec_add, as inlined functions.


More information about the Gcc-bugs mailing list