This is the mail archive of the gcc@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: GCC Runtime Library Exception in gcc/config/* files?


On Fri, Jul 21, 2017 at 2:24 AM, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
>
> there are some files in gcc/config/* that contain the GCC Runtime Library
> Exception
>
> grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config |
> wc
>     186     186    5361
>
> and some files that don't include it
>
> grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config -v
> | wc
>     753     753   20927
>
> 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.

Ian


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