* fold-const.c (fold_overflow_warning): Remove assertion.
authorIan Lance Taylor <iant@google.com>
Tue, 15 Apr 2008 05:57:00 +0000 (05:57 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 15 Apr 2008 05:57:00 +0000 (05:57 +0000)
From-SVN: r134307

gcc/ChangeLog
gcc/fold-const.c

index 74a2c66e7a13fdbaf96698db627877074e1afee5..90a088f25fcf9525a326e98e0f9965b5e88b6467 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-14  Ian Lance Taylor  <iant@google.com>
+
+       * fold-const.c (fold_overflow_warning): Remove assertion.
+
 2008-04-15  Ben Elliston  <bje@au.ibm.com>
 
        * config/alpha/alpha.c (alpha_initialize_trampoline): Remove temp,
index ce5673e087cd82bf0791bcfda0558aa064bc4a14..5319c6f71917037e12c73cec4972b2a6fad3c2b2 100644 (file)
@@ -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