]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree.h (contains_placeholder_p): Now returns bool.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 5 Jul 2003 11:54:57 +0000 (07:54 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 5 Jul 2003 11:54:57 +0000 (07:54 -0400)
commit679035f3f6872dc4ca79348fda123c451275fbc1
treee0c9363247eab231143d008192f4e50d889196bc
parenta8f3bf527144a4ddcffcfd37f022f8bc65de6bef
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: r68969
gcc/stor-layout.c