summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-07 21:14:48 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-07 21:14:48 +0000
commit78a75ebdcef7a63f4bb95ef39795a99ed1d9786a (patch)
tree3614f193205349c343ee4e569d08b222253384a4 /gcc/expr.h
parent24bfa2345430b739a614f7d2949bd3b5c62bb26f (diff)
downloadgcc-78a75ebdcef7a63f4bb95ef39795a99ed1d9786a.tar.gz
* stmt.c (force_label_rtx): New function, based on logic
formerly found in expand_expr. * expr.h: Prototype it. * expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if appropriate. * varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx. * print-tree.c (debug_tree): Free the table after we're done with it. Use putc. treelang: * Make-lang.in: Set -Wno-error for treelang/lex.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index dfd83d43c23..64ee6f1225a 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -595,6 +595,11 @@ extern rtx expand_inline_function PARAMS ((tree, tree, rtx, int, tree, rtx));
/* Return the CODE_LABEL rtx for a LABEL_DECL, creating it if necessary. */
extern rtx label_rtx PARAMS ((tree));
+
+/* As label_rtx, but additionally the label is placed on the forced label
+ list of its containing function (i.e. it is treated as reachable even
+ if how is not obvious). */
+extern rtx force_label_rtx PARAMS ((tree));
#endif
/* Indicate how an input argument register was promoted. */