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: [committed] Fix typo in rs6000.opt


>  >   - rs6000.h seems to have some externs left over from TARGET_OPTIONS
>  >     variables that no longer exist, and that are not referenced elsewhere.
>  >     E.g. rs6000_long_double_size_string.

I went through all the externs, and here are the unused ones in rs6000.h.

Tested by running make bootstrap on ppc64-linux/ppc32-linux.

Committed as obvious.

	* config/rs6000/rs6000.h: Remove rs6000_long_double_size_string,
	rs6000_isel, rs6000_spe, rs6000_alignment_string,
	rs6000_sched_restricted_insns_priority_str,
	rs6000_sched_restricted_insns_priority, rs6000_abi_string.

Index: config/rs6000/rs6000.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.367
diff -c -p -r1.367 rs6000.h
*** config/rs6000/rs6000.h	1 Jun 2005 00:30:16 -0000	1.367
--- config/rs6000/rs6000.h	8 Jun 2005 23:42:54 -0000
*************** extern struct rs6000_cpu_select rs6000_s
*** 271,277 ****
  
  /* Debug support */
  extern const char *rs6000_debug_name;	/* Name for -mdebug-xxxx option */
- extern const char *rs6000_abi_string;	/* for -mabi={sysv,darwin,eabi,aix,altivec} */
  extern int rs6000_debug_stack;		/* debug stack applications */
  extern int rs6000_debug_arg;		/* debug argument handling */
  
--- 271,276 ----
*************** extern const char *rs6000_traceback_name
*** 282,298 ****
  
  /* These are separate from target_flags because we've run out of bits
     there.  */
- extern const char *rs6000_long_double_size_string;
  extern int rs6000_long_double_type_size;
  extern int rs6000_altivec_abi;
  extern int rs6000_spe_abi;
- extern int rs6000_isel;
- extern int rs6000_spe;
  extern int rs6000_float_gprs;
- extern const char* rs6000_alignment_string;
  extern int rs6000_alignment_flags;
- extern const char *rs6000_sched_restricted_insns_priority_str;
- extern int rs6000_sched_restricted_insns_priority;
  extern const char *rs6000_sched_insert_nops_str;
  extern enum rs6000_nop_insertion rs6000_sched_insert_nops;
  
--- 281,291 ----


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