[PATCH] fix bootstrap (tre-ssa-pre.c)
Dirk Mueller
dmueller@suse.de
Tue Feb 20 01:44:00 GMT 2007
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;
More information about the Gcc-patches
mailing list