[patch] Minor improvement to typeclass.h
Phil Edwards
phil@codesourcery.com
Thu Jun 10 19:54:00 GMT 2004
On Thu, Jun 10, 2004 at 11:20:42AM -0700, Zack Weinberg wrote:
> 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.
(Haven't been reading this thread, spologies if I'm out of date.)
I tried getting rid of this header when I was doing compile-time type
reflection/introspection on Gaby's now-dead branch. It turned out that
glibc used it for some twisted purpose, even though gcc doesn't.
--
Behind everything some further thing is found, forever; thus the tree behind
the bird, stone beneath soil, the sun behind Urth. Behind our efforts, let
there be found our efforts.
- Ascian saying, as related by Loyal to the Group of Seventeen
More information about the Gcc-patches
mailing list