This is the mail archive of the 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 21/07/17 15:50, Ian Lance Taylor wrote:

On Fri, Jul 21, 2017 at 2:24 AM, Sebastian Huber
<>  wrote:
there are some files in gcc/config/* that contain the GCC Runtime Library

grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config |
     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.

For example


has the GCC Runtime Library Exception, but


has it not. I update currently


to support 64-bit, so know I am a bit confused.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  :
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

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