summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2005-12-08 15:46:09 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2005-12-08 15:46:09 +0000
commitdd2c9f746201cd614e594d05ce52f832626c66ab (patch)
treee1639906e1c1e7741a5d5186f82d45bc10d23605 /gcc/except.c
parentccd83be5d60adc34ce892a4650dda435ea3cd60e (diff)
downloadgcc-dd2c9f746201cd614e594d05ce52f832626c66ab.tar.gz
ipa-type-escape.c (analyze_variable): Use gcc_assert instead of abort.
* ipa-type-escape.c (analyze_variable): Use gcc_assert instead of abort. * except.c (output_ttype): Likewise. * tree-object-size.c (collect_object_sizes_for): Likewise. (check_for_plus_in_loops_1): Likewise. (check_for_plus_in_loops): Likewise. (compute_object_sizes): Use gcc_unreachable instead of abort. Co-Authored-By: Christophe Jaillet <christophe.jaillet@wanadoo.fr> From-SVN: r108237
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 0ace54d872e..782a516abfb 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -3486,8 +3486,8 @@ output_ttype (tree type, int tt_format, int tt_format_size)
public = TREE_PUBLIC (type);
}
}
- else if (TREE_CODE (type) != INTEGER_CST)
- abort ();
+ else
+ gcc_assert (TREE_CODE (type) == INTEGER_CST);
}
/* Allow the target to override the type table entry format. */