tree.h (contains_placeholder_p): Now returns bool.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 27 May 2003 18:44:57 +0000 (14:44 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 27 May 2003 18:44:57 +0000 (14:44 -0400)
commit7a6cdb44fd51d6036d32a732363f19c8e51f0d89
tree6be268fb48b8e0a8cb871503b25decd003ae8522
parent86982c71d17f2e9888e649fe5c88b65ff84561d8
tree.h (contains_placeholder_p): Now returns bool.

* tree.h (contains_placeholder_p): Now returns bool.
(CONTAINS_PLACEHOLDER_P): New macro.
(type_contains_placeholder_p): New function.
* tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
(contains_placeholder_p): Now returns bool.
Rework to use CONTAINS_PLACEHOLDER_P macro.
(type_contains_placeholder_p): New function.
* fold-const.c (fold, case COMPONENT_REF): Don't fold if
type_contains_placeholder_p.
(fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
Use CONTAINS_PLACEHOLDER_P macro.
* builtins.c (fold_builtin): Likewise.
* calls.c (initialize_argument_information): Likewise.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
* explow.c (expr_size): Likewise.
* expr.c (store_constructor, get_inner_reference): Likewise.
* function.c (assign_parms): Likewise.
* stor-layout.c (variable_size): Likewise.

From-SVN: r67189
gcc/ChangeLog
gcc/builtins.c
gcc/calls.c
gcc/emit-rtl.c
gcc/explow.c
gcc/expr.c
gcc/fold-const.c
gcc/function.c
gcc/tree.c
gcc/tree.h