From 55d7d0fa979fee55901c9ed8a65fd59461b70840 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 15 Apr 2008 05:57:00 +0000 Subject: [PATCH] * fold-const.c (fold_overflow_warning): Remove assertion. From-SVN: r134307 --- gcc/ChangeLog | 4 ++++ gcc/fold-const.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 74a2c66e7a1..90a088f25fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-14 Ian Lance Taylor + + * fold-const.c (fold_overflow_warning): Remove assertion. + 2008-04-15 Ben Elliston * config/alpha/alpha.c (alpha_initialize_trampoline): Remove temp, diff --git a/gcc/fold-const.c b/gcc/fold-const.c index ce5673e087c..5319c6f7191 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1012,7 +1012,6 @@ fold_deferring_overflow_warnings_p (void) static void fold_overflow_warning (const char* gmsgid, enum warn_strict_overflow_code wc) { - gcc_assert (!flag_wrapv && !flag_trapv); if (fold_deferring_overflow_warnings > 0) { if (fold_deferred_overflow_warning == NULL -- 2.30.2