aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-09-09 15:58:21 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-09-09 15:58:21 +0000
commit1a2caa7a8018a5f0c3b1df9710ec2baad90c24db (patch)
treec4ffa2ad3dad1e3ec528b5e2c71f6e4281357d6b /gcc/tree.c
parent282899df0fb5881ddaf70814d095286221d6019e (diff)
downloadgcc-1a2caa7a8018a5f0c3b1df9710ec2baad90c24db.zip
gcc-1a2caa7a8018a5f0c3b1df9710ec2baad90c24db.tar.gz
gcc-1a2caa7a8018a5f0c3b1df9710ec2baad90c24db.tar.bz2
cgraphunit.c (cgraph_mark_functions_to_output): Renable node dumping for development builds.
* cgraphunit.c (cgraph_mark_functions_to_output): Renable node dumping for development builds. * emit-rtl.c (verify_rtx_sharing): Give verbose failure for development builds only. * genattrtab.c (write_eligible_delay): Fix typo in previous commit. * tree.c (iterative_hash_expr): Replace gcc_unreachable with gcc_assert. From-SVN: r87241
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7b9c53f..c7031e1 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4044,8 +4044,10 @@ iterative_hash_expr (tree t, hashval_t val)
/* Decls we can just compare by pointer. */
val = iterative_hash_pointer (t, val);
}
- else if (IS_EXPR_CODE_CLASS (class))
+ else
{
+ gcc_assert (IS_EXPR_CODE_CLASS (class));
+
val = iterative_hash_object (code, val);
/* Don't hash the type, that can lead to having nodes which
@@ -4080,8 +4082,6 @@ iterative_hash_expr (tree t, hashval_t val)
for (i = first_rtl_op (code) - 1; i >= 0; --i)
val = iterative_hash_expr (TREE_OPERAND (t, i), val);
}
- else
- gcc_unreachable ();
return val;
break;
}