summaryrefslogtreecommitdiff
path: root/gcc/config/m32r
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-09 15:33:47 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-09 15:33:47 +0000
commit0d3fde44f270f6dfeda960c216c5fbae30d6a605 (patch)
tree572f076f9b1cdef851ccfc445f75d2985f617675 /gcc/config/m32r
parent93c7db8290d872a8befabc751b2983212cfac418 (diff)
downloadgcc-0d3fde44f270f6dfeda960c216c5fbae30d6a605.tar.gz
* final.c (FIRST_INSN_ADDRESS): Remove.
(shorten_branches): Don't use FIRST_INSN_ADDRESS. * system.h (FIRST_INSN_ADDRESS): Poison. * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS. * config/m32r/m32r-protos.h: Remove the prototype for m32r_first_insn_address. * config/m32r/m32r.c (m32r_first_insn_address): Remove. * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise. * doc/md.texi (FIRST_INSN_ADDRESS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r--gcc/config/m32r/m32r-protos.h1
-rw-r--r--gcc/config/m32r/m32r.c13
-rw-r--r--gcc/config/m32r/m32r.h6
3 files changed, 0 insertions, 20 deletions
diff --git a/gcc/config/m32r/m32r-protos.h b/gcc/config/m32r/m32r-protos.h
index 603c0bd51f8..01bbd6d5835 100644
--- a/gcc/config/m32r/m32r-protos.h
+++ b/gcc/config/m32r/m32r-protos.h
@@ -27,7 +27,6 @@ extern void sdata_section (void);
extern void m32r_init (void);
extern void m32r_init_expanders (void);
extern unsigned m32r_compute_frame_size (int);
-extern int m32r_first_insn_address (void);
extern void m32r_expand_prologue (void);
extern void m32r_finalize_pic (void);
extern int direct_return (void);
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index 244264b5a53..6bc4b9475c3 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -1887,19 +1887,6 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */
return total_size;
}
-/* When the `length' insn attribute is used, this macro specifies the
- value to be assigned to the address of the first insn in a
- function. If not specified, 0 is used. */
-
-int
-m32r_first_insn_address (void)
-{
- if (! current_frame_info.initialized)
- m32r_compute_frame_size (get_frame_size ());
-
- return 0;
-}
-
/* The table we use to reference PIC data. */
static rtx global_offset_table;
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h
index d2483e24d73..b515e778bb6 100644
--- a/gcc/config/m32r/m32r.h
+++ b/gcc/config/m32r/m32r.h
@@ -1510,12 +1510,6 @@ L2: .word STATIC
itself with an explicit address than to call an address kept in a
register. */
#define NO_RECURSIVE_FUNCTION_CSE
-
-/* When the `length' insn attribute is used, this macro specifies the
- value to be assigned to the address of the first insn in a
- function. If not specified, 0 is used. */
-#define FIRST_INSN_ADDRESS m32r_first_insn_address ()
-
/* Section selection. */