[patch] Remove LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP.
Kazu Hirata
kazu@cs.umass.edu
Fri Mar 19 16:07:00 GMT 2004
Hi,
Attached is a patch to remove LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP as
nobody overrides the macro.
>From ChangeLog.5, the last overriding definition of the macro was
removed on 2001-05-03 from i386.h.
Bootstrapped on i686-pc-linux-gnu. OK to apply?
p.s.
There are several macros of this kind (that is, almost unused) in
final.c. I am planning to clean up one by one.
Kazu Hirata
2004-03-19 Kazu Hirata <kazu@cs.umass.edu>
* final.c (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Remove.
(shorten_branches): Hardcode the default value of
LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP.
* system.h (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Poison.
* doc/tm.texi (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Remove.
Index: final.c
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/final.c,v
retrieving revision 1.308
diff -u -r1.308 final.c
--- final.c 3 Mar 2004 08:34:27 -0000 1.308
+++ final.c 19 Mar 2004 14:16:49 -0000
@@ -497,10 +497,6 @@
#define LABEL_ALIGN_AFTER_BARRIER(LABEL) 0
#endif
-#ifndef LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP
-#define LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP 0
-#endif
-
#ifndef JUMP_ALIGN
#define JUMP_ALIGN(LABEL) align_jumps_log
#endif
@@ -867,7 +863,7 @@
if (max_log < log)
{
max_log = log;
- max_skip = LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP;
+ max_skip = 0;
}
break;
}
Index: system.h
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/system.h,v
retrieving revision 1.208
diff -u -r1.208 system.h
--- system.h 19 Mar 2004 00:52:24 -0000 1.208
+++ system.h 19 Mar 2004 14:17:08 -0000
@@ -641,7 +641,7 @@
FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE \
TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE \
DBX_OUTPUT_STANDARD_TYPES BUILTIN_SETJMP_FRAME_VALUE \
- SUNOS4_SHARED_LIBRARIES
+ SUNOS4_SHARED_LIBRARIES LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
Index: doc/tm.texi
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/doc/tm.texi,v
retrieving revision 1.315
diff -u -r1.315 tm.texi
--- doc/tm.texi 14 Mar 2004 22:29:38 -0000 1.315
+++ doc/tm.texi 19 Mar 2004 14:16:49 -0000
@@ -7590,12 +7590,6 @@
define the macro.
@end defmac
-@defmac LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP
-The maximum number of bytes to skip when applying
-@code{LABEL_ALIGN_AFTER_BARRIER}. This works only if
-@code{ASM_OUTPUT_MAX_SKIP_ALIGN} is defined.
-@end defmac
-
@defmac LOOP_ALIGN (@var{label})
The alignment (log base 2) to put in front of @var{label}, which follows
a @code{NOTE_INSN_LOOP_BEG} note.
More information about the Gcc-patches
mailing list