[Piglit] [PATCH] Add tests for function calls

Jan Vesely jan.vesely at rutgers.edu
Mon Sep 18 02:22:05 UTC 2017


On Sun, 2017-09-17 at 17:02 -0700, Matt Arsenault wrote:
> > On Sep 16, 2017, at 20:15, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> > 
> > afaik, noinline is not defined in CLC, so it should be ifdefed on
> > __clang__
> > 
> 
> It’s not, but my reading of the standard is that it’s required to
> parse any unknown attributes and ignore them. ifdef clang would be
> too restrictive (e.g. it wouldn’t work with the old EDG frontend)

OK, if it helps. ignoring/warning is sensible compiler behaviour.

I haven't found anything about unknown attributes in the specs (CLC or
GCC), so technically it should be UB.

Jan

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170917/a06380f5/attachment.sig>


More information about the Piglit mailing list