aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2005-12-07 21:55:19 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2005-12-07 21:55:19 +0000
commitc60fb9672ac0873febe871cfe2dc3ee984721c84 (patch)
treea88cb0de9965e1a064c3c510dfc433be199c9ed8
parent3a0fddeed44ee129f34a0b82f1ec22bc930ce417 (diff)
downloadgcc-c60fb9672ac0873febe871cfe2dc3ee984721c84.zip
gcc-c60fb9672ac0873febe871cfe2dc3ee984721c84.tar.gz
gcc-c60fb9672ac0873febe871cfe2dc3ee984721c84.tar.bz2
* expr.c (cxx_expand_expr): Call gcc_unreachable instead of abort.
From-SVN: r108193
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/expr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index cf27990..86b0c71 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,9 @@
2005-12-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+ * expr.c (cxx_expand_expr): Call gcc_unreachable instead of abort.
+
+2005-12-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
* cp-gimplify.c (gimplify_cp_loop): Use fold_build3.
2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index c60380a..4039002 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -113,7 +113,7 @@ cxx_expand_expr (tree exp, rtx target, enum machine_mode tmode, int modifier,
case OFFSET_REF:
/* Offset refs should not make it through to here. */
- abort ();
+ gcc_unreachable ();
case EMPTY_CLASS_EXPR:
/* We don't need to generate any code for an empty class. */