aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-08-03 16:20:35 -0400
committerJason Merrill <jason@gcc.gnu.org>2002-08-03 16:20:35 -0400
commitde8920be70e85d22a890bc99e0c3a20df4089af0 (patch)
tree0f3eddb683599b1fa6da741865277a804942c1f7 /gcc/expr.h
parent7a9ffd82b6227ee0ebe3f7a4f767e470b847d77a (diff)
downloadgcc-de8920be70e85d22a890bc99e0c3a20df4089af0.zip
gcc-de8920be70e85d22a890bc99e0c3a20df4089af0.tar.gz
gcc-de8920be70e85d22a890bc99e0c3a20df4089af0.tar.bz2
explow.c (int_expr_size): New fn.
* explow.c (int_expr_size): New fn. * expr.c (expand_expr) [CONSTRUCTOR]: Use it. * expr.h: Declare it. From-SVN: r56009
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 64340a2..76b5c80 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -544,6 +544,10 @@ extern unsigned int case_values_threshold PARAMS ((void));
/* Return an rtx for the size in bytes of the value of an expr. */
extern rtx expr_size PARAMS ((tree));
+/* Return a wide integer for the size in bytes of the value of EXP, or -1
+ if the size can vary or is larger than an integer. */
+extern HOST_WIDE_INT int_expr_size PARAMS ((tree));
+
extern rtx lookup_static_chain PARAMS ((tree));
/* Convert a stack slot address ADDR valid in function FNDECL