summaryrefslogtreecommitdiff
path: root/gcc/genattr.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 21:48:36 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 21:48:36 +0000
commit16afa8ae1933c570085475a7ea0fbdf9b8880b47 (patch)
treeb5aed08c2aba5538d50f0915cdd9050b95ec600d /gcc/genattr.c
parentd65b8df84253ce7cbef6fea4afb9af5b870e1751 (diff)
downloadgcc-16afa8ae1933c570085475a7ea0fbdf9b8880b47.tar.gz
PR rtl-optimization/23898
* output.h (get_attr_min_length): Declare. * final.c (get_attr_length_1): New function, broken out of: (get_attr_length). (get_attr_min_length): New function. * bb-reorder.c (copy_bb_p, get_uncond_jump_length): Use it. (duplicate_computed_gotos): Likewise. * genattr.c (insn_min_length): Generate declaration. * genattrtab.c (min_fn, min_attr_value): New functions. (make_length_attrs): Generate insn_min_length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104468 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r--gcc/genattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c
index a103795c750..0e039e7a4b2 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -79,6 +79,7 @@ gen_attr (rtx attr)
puts ("\
extern void shorten_branches (rtx);\n\
extern int insn_default_length (rtx);\n\
+extern int insn_min_length (rtx);\n\
extern int insn_variable_length_p (rtx);\n\
extern int insn_current_length (rtx);\n\n\
#include \"insn-addr.h\"\n");