This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Runtime Library Exception in gcc/config/* files?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Cc: Ian Lance Taylor <iant at google dot com>, GCC <gcc at gcc dot gnu dot org>
- Date: Fri, 21 Jul 2017 16:04:04 +0200
- Subject: Re: GCC Runtime Library Exception in gcc/config/* files?
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jakub at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 61861285C8
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 61861285C8
- References: <fb723cff-8db5-68bb-3f1b-fad8bfb82c5f@embedded-brains.de> <CAKOQZ8zHAgHXducZDPe1_GvWMdgCYkGt5QTfGJ=4HbzZDXzXog@mail.gmail.com> <9a658d66-68cb-fea0-0a5f-493c95264ecf@embedded-brains.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jul 21, 2017 at 03:58:35PM +0200, Sebastian Huber wrote:
> > > Does it matter? What should be used for new files?
> > I think that in general we should probably use the Runtime Library
> > Exception for header files that might need to be included by a plugin,
> > which means anything that might be included by tm.h. But I can't
> > think of any reason to use the Exception for .c files.
I think more important than plugins is whether the headers are ever
included in any libgcc (or libobjc) sources.
For plugins there are hundreds of headers pretty much each plugin includes
that are without the Runtime Library Exception, starting with tree.h,
rtl.h and many others.
GPLv3.
Jakub