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: Remove another redundant extern from rs6000/sysv4.h


Neil Booth <neil@daikokuya.co.uk> writes:

> Tested on powerpc-foo-elf.
> 
> I might try writing a script that finds externs in config/ that are
> also outside config/, because they're a PITA.

This is OK, if you needed approval.

> 	* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
> 	unnecessary extern declaration.
> 
> Index: config/rs6000/sysv4.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/rs6000/sysv4.h,v
> retrieving revision 1.132
> diff -u -p -b -r1.132 sysv4.h
> --- config/rs6000/sysv4.h	15 Jun 2003 22:10:35 -0000	1.132
> +++ config/rs6000/sysv4.h	16 Jun 2003 05:33:47 -0000
> @@ -630,8 +630,6 @@ extern int rs6000_pic_labelno;
>  #undef	ASM_OUTPUT_ALIGNED_LOCAL
>  #define	ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN)		\
>  do {									\
> -  extern unsigned HOST_WIDE_INT g_switch_value;				\
> -									\
>    if (rs6000_sdata != SDATA_NONE && (SIZE) > 0				\
>        && (SIZE) <= g_switch_value)					\
>      {									\
> 

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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