OSDN Git Service

* fold-const.c (fold_overflow_warning): Remove assertion.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Apr 2008 05:57:00 +0000 (05:57 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Apr 2008 05:57:00 +0000 (05:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134307 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fold-const.c

index 74a2c66..90a088f 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 ce5673e..5319c6f 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