Dirk Mueller - [PATCH] fix bootstrap (tre-ssa-pre.c) (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Hi,

since the CALL_EXPR conversion patches went in, bootstrap is broken for me. The patch below fixes it. Regtest however has not yet completed. I however don't understand how the assert that was added was never triggered before, so I assume any regression that this patch would trigger can only been there before already. Right?

2007-02-20 Dirk Mueller dmueller@suse.de

    * tree-ssa-pre.c (create_value_expr_from): Update gcc_assert()
    after CALL_EXPR conversion to avoid uninitialized value
    warning.

--- tree-ssa-pre.c (revision 122137) +++ tree-ssa-pre.c (working copy) @@ -3209,9 +3209,7 @@ create_value_expr_from (tree expr, basic || TREE_CODE_CLASS (code) == tcc_comparison || TREE_CODE_CLASS (code) == tcc_reference || TREE_CODE_CLASS (code) == tcc_expression - || TREE_CODE_CLASS (code) == tcc_vl_exp - || TREE_CODE_CLASS (code) == tcc_exceptional - || TREE_CODE_CLASS (code) == tcc_declaration); + || TREE_CODE_CLASS (code) == tcc_vl_exp);

if (TREE_CODE_CLASS (code) == tcc_unary) pool = unary_node_pool;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]