This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] i386: Define __HAVE_INDIRECT_RETURN_ATTRIBUTE__


On 07/19/2018 01:56 PM, Jakub Jelinek wrote:
On Thu, Jul 19, 2018 at 01:54:46PM +0200, Florian Weimer wrote:
On 07/19/2018 01:48 PM, H.J. Lu wrote:
Both __has_attribute (indirect_return) and __has_attribute (__indirect_return__)
work here.

Applications can have

#define indirect_return

so the variant without underscore mangling is definitely not correct.

Incorrect for what?  glibc header?  Yes.  The libsanitizer use, where we
control the headers and what we define?  No.

Agreed.  I somehow missed that this wasn't for an installed glibc header.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]