------- Comment #7 from mueller at gcc dot gnu dot org  2006-05-08 08:40 -------
Ah, just missed it by a few minutes :)

I've been using this patch: 

=== CUT ===
--- c-common.c  (revision 113532)
+++ c-common.c  (working copy)
@@ -1077,7 +1077,7 @@ convert_and_check (tree type, tree expr)
   tree t = convert (type, expr);
   if (TREE_CODE (t) == INTEGER_CST)
     {
-      if (TREE_OVERFLOW (t))
+      if (TREE_OVERFLOW (t) && CONSTANT_CLASS_P (expr))
        {
          TREE_OVERFLOW (t) = 0;

=== CUT ===

and it seems to bootstrap and regtest fine (not closely checked against
vanilla tree yet). 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27273

Reply via email to