Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r72286:25d2e2050596
Date: 2014-06-30 14:03 +0200
http://bitbucket.org/pypy/pypy/changeset/25d2e2050596/

Log:    Turn off this warning

diff --git a/rpython/translator/backendopt/merge_if_blocks.py 
b/rpython/translator/backendopt/merge_if_blocks.py
--- a/rpython/translator/backendopt/merge_if_blocks.py
+++ b/rpython/translator/backendopt/merge_if_blocks.py
@@ -37,8 +37,10 @@
     default.args = [get_new_arg(arg) for arg in default.args]
     for block, case in chain:
         if case.value in values:
-            log.WARNING("unreachable code with value %r in graph %s" % (
-                        case.value, graph))
+            # - ignore silently: it occurs in platform-dependent
+            #   chains of tests, for example
+            #log.WARNING("unreachable code with value %r in graph %s" % (
+            #            case.value, graph))
             continue
         values[case.value] = True
         link = block.exits[1]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to