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]

Committed, MMIX, CRIS: Cleanup of -a -ax cleanup.


These were forgotten in the -a -ax cleanup.  I haven't checked
if there are other similar cases.  Tested by building cris-elf
and mmix-knuth-mmixware.

	* config/mmix/mmix.c (mmix_function_block_profiler,
	mmix_block_profiler, mmix_function_block_profiler_exit): Delete
	unused functions.
	* config/mmix/mmix-protos.h (mmix_function_block_profiler,
	mmix_block_profiler, mmix_function_block_profiler_exit): Delete
	prototypes.

	* config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
	Delete obsoleted macros.

Index: mmix.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix.c,v
retrieving revision 1.5
diff -p -c -r1.5 mmix.c
*** mmix.c	2001/12/03 19:13:34	1.5
--- mmix.c	2001/12/09 16:27:50
*************** mmix_function_profiler (stream, labelno)
*** 1197,1231 ****
    sorry ("function_profiler support for MMIX");
  }

- /* FUNCTION_BLOCK_PROFILER.  */
-
- void
- mmix_function_block_profiler (stream, labelno)
-      FILE *stream ATTRIBUTE_UNUSED;
-      int labelno ATTRIBUTE_UNUSED;
- {
-   sorry ("function_block_profiler support for MMIX");
- }
-
- /* BLOCK_PROFILER.  */
-
- void
- mmix_block_profiler (stream, labelno)
-      FILE *stream ATTRIBUTE_UNUSED;
-      int labelno ATTRIBUTE_UNUSED;
- {
-   sorry ("block_profiler support for MMIX");
- }
-
- /* FUNCTION_BLOCK_PROFILER_EXIT.  */
-
- void
- mmix_function_block_profiler_exit (stream)
-      FILE *stream ATTRIBUTE_UNUSED;
- {
-   sorry ("block_profiler_exit support for MMIX");
- }
-
  /* SETUP_INCOMING_VARARGS.  */

  void
--- 1197,1202 ----
Index: mmix-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix-protos.h,v
retrieving revision 1.1
diff -p -c -r1.1 mmix-protos.h
*** mmix-protos.h	2001/11/03 22:14:57	1.1
--- mmix-protos.h	2001/12/09 16:27:50
*************** extern int mmix_initial_elimination_offs
*** 26,34 ****
  extern int mmix_starting_frame_offset PARAMS ((void));
  extern int mmix_function_arg_regno_p PARAMS ((int, int));
  extern void mmix_function_profiler PARAMS ((FILE *, int));
- extern void mmix_function_block_profiler PARAMS ((FILE *, int));
- extern void mmix_block_profiler PARAMS ((FILE *, int));
- extern void mmix_function_block_profiler_exit PARAMS ((FILE *));
  extern void mmix_trampoline_template PARAMS ((FILE *));
  extern int mmix_trampoline_size;
  extern int mmix_reversible_cc_mode PARAMS ((enum machine_mode));
--- 26,31 ----

Index: cris.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/cris/cris.h,v
retrieving revision 1.15
diff -p -c -r1.15 cris.h
*** cris.h	2001/12/04 18:42:24	1.15
--- cris.h	2001/12/09 16:30:53
*************** struct cum_args {int regs;};
*** 1023,1036 ****
  #define FUNCTION_PROFILER(FILE, LABELNO)  \
   error ("no FUNCTION_PROFILER for CRIS")

- /* No profiling for the time being.  */
- #define FUNCTION_BLOCK_PROFILER(FILE, LABELNO)	\
-  error ("no FUNCTION_BLOCK_PROFILER for CRIS")
-
- /* No profiling for the time being.  */
- #define BLOCK_PROFILER(FILE, BLOCKNO)	\
-  error ("no BLOCK_PROFILER for CRIS")
-
  /* FIXME: Some of the undefined macros might be mandatory.  If so, fix
     documentation.  */

--- 1023,1028 ----

brgds, H-P


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