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] Minor improvement to typeclass.h


Jeffrey A Law <law@redhat.com> writes:

>> I think this file should be under the libgcc exception.
> Why?
>
> typeclass.h isn't used inside libgcc at all, nor is it installed
> for use by users.  It's usage appears to be strictly within GCC
> itself -- which would indicate to me it ought to be straight GPL.

It defines the return values of __builtin_classify_type.  Assuming
that's an extension we still need (it's not used anywhere in the
current source tree, and the documentation mentions it only in the
junk description of how we used to implement stdarg.h) it might be a
useful header to install, and therefore ought to be under the libgcc
exception, in case we decide to do that in the future.

zw


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