]> gcc.gnu.org Git - gcc.git/commitdiff
tm.texi.in (PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
authorAnatoly Sokolov <aesok@post.ru>
Sat, 20 Aug 2011 09:18:35 +0000 (13:18 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Sat, 20 Aug 2011 09:18:35 +0000 (13:18 +0400)
* doc/tm.texi.in (PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
* doc/tm.texi: Regenerate.
* targhooks.c (default_preferred_output_reload_class): Don't use
PREFERRED_OUTPUT_RELOAD_CLASS macro.
* system.h (PREFERRED_OUTPUT_RELOAD_CLASS): Poison.

From-SVN: r177926

gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/system.h
gcc/targhooks.c

index 2a365e7ce21303382c342b7e1390cb0286da1d48..987baa9256940d94c0dda9dcb5fb357e66ee71a9 100644 (file)
@@ -1,3 +1,11 @@
+2011-08-20  Anatoly Sokolov  <aesok@post.ru>
+
+       * doc/tm.texi.in (PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
+       * doc/tm.texi: Regenerate.
+       * targhooks.c (default_preferred_output_reload_class): Don't use
+       PREFERRED_OUTPUT_RELOAD_CLASS macro.
+       * system.h (PREFERRED_OUTPUT_RELOAD_CLASS): Poison.
+
 2011-08-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/48739
index 0a2f120cd58e93e7b65653078b398c6fe747b0a3..7364aa1c5ed59dab2b43c826b68e68cafc6458c0 100644 (file)
@@ -2601,15 +2601,6 @@ this feature to discourage usage of 387 registers when math is done in
 the SSE registers (and vice versa).
 @end defmac
 
-@defmac PREFERRED_OUTPUT_RELOAD_CLASS (@var{x}, @var{class})
-Like @code{PREFERRED_RELOAD_CLASS}, but for output reloads instead of
-input reloads.  If you don't define this macro, the default is to use
-@var{class}, unchanged.
-
-You can also use @code{PREFERRED_OUTPUT_RELOAD_CLASS} to discourage
-reload from using some alternatives, like @code{PREFERRED_RELOAD_CLASS}.
-@end defmac
-
 @deftypefn {Target Hook} reg_class_t TARGET_PREFERRED_OUTPUT_RELOAD_CLASS (rtx @var{x}, reg_class_t @var{rclass})
 Like @code{TARGET_PREFERRED_RELOAD_CLASS}, but for output reloads instead of
 input reloads.
index c53cbe82b662891acfd2ce2532fe67d0c8c3f3b6..4535fd65ceff36b81a7c3852c6101fff9497f209 100644 (file)
@@ -2587,15 +2587,6 @@ this feature to discourage usage of 387 registers when math is done in
 the SSE registers (and vice versa).
 @end defmac
 
-@defmac PREFERRED_OUTPUT_RELOAD_CLASS (@var{x}, @var{class})
-Like @code{PREFERRED_RELOAD_CLASS}, but for output reloads instead of
-input reloads.  If you don't define this macro, the default is to use
-@var{class}, unchanged.
-
-You can also use @code{PREFERRED_OUTPUT_RELOAD_CLASS} to discourage
-reload from using some alternatives, like @code{PREFERRED_RELOAD_CLASS}.
-@end defmac
-
 @hook TARGET_PREFERRED_OUTPUT_RELOAD_CLASS
 Like @code{TARGET_PREFERRED_RELOAD_CLASS}, but for output reloads instead of
 input reloads.
index 9698c613f3506216b4f47c0808b7af5939a17cea..340a560df2aaba2d2f17a3a8e4f629c8d789fb5b 100644 (file)
@@ -866,7 +866,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
        USING_SVR4_H SVR4_ASM_SPEC FUNCTION_ARG FUNCTION_ARG_ADVANCE       \
        FUNCTION_INCOMING_ARG IRA_COVER_CLASSES TARGET_VERSION             \
        MACHINE_TYPE TARGET_HAS_TARGETCM ASM_OUTPUT_BSS                    \
-       SETJMP_VIA_SAVE_AREA FORBIDDEN_INC_DEC_CLASSES
+       SETJMP_VIA_SAVE_AREA FORBIDDEN_INC_DEC_CLASSES                     \
+       PREFERRED_OUTPUT_RELOAD_CLASS
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE  \
index 16d0b189f658fce287049071d859843c3f04582d..8ad517fd5ce378c4c429c4933589be61f0aeef76 100644 (file)
@@ -1287,11 +1287,7 @@ reg_class_t
 default_preferred_output_reload_class (rtx x ATTRIBUTE_UNUSED,
                                       reg_class_t rclass)
 {
-#ifdef PREFERRED_OUTPUT_RELOAD_CLASS
-  return PREFERRED_OUTPUT_RELOAD_CLASS (x, (enum reg_class) rclass);
-#else
   return rclass;
-#endif
 }
 
 /* The default implementation of TARGET_PREFERRED_RENAME_CLASS.  */
This page took 0.142118 seconds and 5 git commands to generate.