From: Stefan Krah <skrah@bytereef.org>
Date: Fri, 18 Aug 2017 11:55:45 +0000 (+0200)
Subject: Issue #30923: Revert flag that is not recognized by an obsolete gcc version. (#3132)
X-Git-Tag: v3.7.0a1~259
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0202bb349986ff264d06b15058dcde4062b7b7a;p=python

Issue #30923: Revert flag that is not recognized by an obsolete gcc version. (#3132)
---

diff --git a/setup.py b/setup.py
index 4f0f522bf8..41aad8210d 100644
--- a/setup.py
+++ b/setup.py
@@ -2119,9 +2119,6 @@ class PyBuildExt(build_ext):
         else:
             raise DistutilsError("_decimal: unsupported architecture")
 
-        if 'gcc' in cc: # Suppressing the warnings in the source is too verbose.
-            extra_compile_args.append('-Wno-implicit-fallthrough')
-
         # Workarounds for toolchain bugs:
         if sysconfig.get_config_var('HAVE_IPA_PURE_CONST_BUG'):
             # Some versions of gcc miscompile inline asm: