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: Replace almost all occurences of "GNU CC" with "GCC"


On Mon, 25 Nov 2002, Bosscher Steven Civ USAFA/DFAN wrote:

> Applies to mainline. Comment changes only, of course.
> 
> I did not replace stuff in the ChangeLogs and install-old.texi.
> 
> 2002-11-25  Steven Bosscher <s.bosscher@student.tudelft.nl>
>  
>         * Replace all occurrences of "GNU CC" with "GCC"
>           (752 files changed)

You need proper ChangeLog entries for each of the several ChangeLogs
involved.  You can of course generate the lists of files automatically.

> !    object file as having been compiled with GNU CC (or another GNU
>      compiler).  */
>   
>   /* This outputs a lot of .req's to define alias for various registers.
> --- 47,53 ----
>   #include "dbxcoff.h"
>   ^L
>   /* A C statement to output assembler commands which will identify the
> !    object file as having been compiled with GCC (or another GNU
>      compiler).  */

The words " (or another GNU compiler)" should be removed; they were only
relevant with GNU CC interpreted strictly as the C compiler only.

> ! /* A C string constant that tells the GNU CC driver program options to pass to
>      the assembler.  It can also specify how to translate options you give to GNU
> !    CC into options for GNU CC to pass to the assembler.  */
>   
>   #if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GNU_AS) != 0
>   /* GNU AS.  */
> --- 5,13 ----
>   
>   #define TARGET_VERSION fprintf (stderr, " (IA-64) ELF");
>   
> ! /* A C string constant that tells the GCC driver program options to pass to
>      the assembler.  It can also specify how to translate options you give to GNU
> !    CC into options for GCC to pass to the assembler.  */

Note the reference to "GNU CC" spread over two lines, which wasn't fixed.  
There may be other cases of this.

> ! /* This grammar is based on the GNU CC grammar.  */
> ! /* This grammar is based on the GCC grammar.  */

This is a reference specifically to the C compiler, for which a change to 
"GNU C" (the language) is more appropriate.

> Index: gcc/po/sv.po

Changes to .po files must go via the translation project, else they'll be 
lost at the next import from there.

> Index: libiberty/clock.c
> Index: libiberty/cp-demangle.c
> Index: libiberty/dyn-string.c
> Index: libiberty/fibheap.c
> Index: libiberty/partition.c
> Index: libiberty/sort.c
> Index: libiberty/splay-tree.c
> Index: libiberty/strtod.c
> Index: libiberty/vsprintf.c

These are part of libiberty, not just GCC, so shouldn't mention GCC at
all.

> Index: libobjc/objc/thr.h

The licence notices in this file are duplicated.  (Changing GNU CC to GCC
there, then fixing the duplication later, is fine.)

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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