Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
686905fe
Commit
686905fe
authored
Mar 08, 2016
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #24324: merge from 3.5
parents
8cd8883d
bec699e4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
7 deletions
+29
-7
Misc/NEWS
Misc/NEWS
+4
-0
aclocal.m4
aclocal.m4
+2
-2
configure
configure
+12
-3
configure.ac
configure.ac
+11
-2
No files found.
Misc/NEWS
View file @
686905fe
...
@@ -811,6 +811,10 @@ Build
...
@@ -811,6 +811,10 @@ Build
- Issue #25136: Support Apple Xcode 7'
s
new
textual
SDK
stub
libraries
.
- Issue #25136: Support Apple Xcode 7'
s
new
textual
SDK
stub
libraries
.
-
Issue
#
24324
:
Do
not
enable
unreachable
code
warnings
when
using
gcc
as
the
option
does
not
work
correctly
in
older
versions
of
gcc
and
has
been
silently
removed
as
of
gcc
-
4.5
.
Windows
Windows
-------
-------
...
...
aclocal.m4
View file @
686905fe
# generated automatically by aclocal 1.1
4.1
-*- Autoconf -*-
# generated automatically by aclocal 1.1
5
-*- Autoconf -*-
# Copyright (C) 1996-201
3
Free Software Foundation, Inc.
# Copyright (C) 1996-201
4
Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# gives unlimited permission to copy and/or distribute it,
...
...
configure
View file @
686905fe
...
@@ -6963,15 +6963,24 @@ fi
...
@@ -6963,15 +6963,24 @@ fi
CFLAGS
=
"
$save_CFLAGS
"
CFLAGS
=
"
$save_CFLAGS
"
CC
=
"
$ac_save_cc
"
CC
=
"
$ac_save_cc
"
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_enable_unreachable_code_warning
"
>
&5
$as_echo
"
$ac_cv_enable_unreachable_code_warning
"
>
&6
;
}
# Don't enable unreachable code warning in debug mode, since it usually
# Don't enable unreachable code warning in debug mode, since it usually
# results in non-standard code paths.
# results in non-standard code paths.
if
test
$ac_cv_enable_unreachable_code_warning
=
yes
&&
test
"
$Py_DEBUG
"
!=
"true"
# Issue #24324: Unfortunately, the unreachable code warning does not work
# correctly on gcc and has been silently removed from the compiler.
# It is supported on clang but on OS X systems gcc may be an alias
# for clang. Try to determine if the compiler is not really gcc and,
# if so, only then enable the warning.
if
test
$ac_cv_enable_unreachable_code_warning
=
yes
&&
\
test
"
$Py_DEBUG
"
!=
"true"
&&
\
test
-z
"
`
$CC
--version
2>/dev/null |
grep
'Free Software Foundation'
`
"
then
then
BASECFLAGS
=
"
$BASECFLAGS
-Wunreachable-code"
BASECFLAGS
=
"
$BASECFLAGS
-Wunreachable-code"
else
ac_cv_enable_unreachable_code_warning
=
no
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_enable_unreachable_code_warning
"
>
&5
$as_echo
"
$ac_cv_enable_unreachable_code_warning
"
>
&6
;
}
# if using gcc on alpha, use -mieee to get (near) full IEEE 754
# if using gcc on alpha, use -mieee to get (near) full IEEE 754
# support. Without this, treatment of subnormals doesn't follow
# support. Without this, treatment of subnormals doesn't follow
...
...
configure.ac
View file @
686905fe
...
@@ -1483,14 +1483,23 @@ yes)
...
@@ -1483,14 +1483,23 @@ yes)
]))
]))
CFLAGS="$save_CFLAGS"
CFLAGS="$save_CFLAGS"
CC="$ac_save_cc"
CC="$ac_save_cc"
AC_MSG_RESULT($ac_cv_enable_unreachable_code_warning)
# Don't enable unreachable code warning in debug mode, since it usually
# Don't enable unreachable code warning in debug mode, since it usually
# results in non-standard code paths.
# results in non-standard code paths.
if test $ac_cv_enable_unreachable_code_warning = yes && test "$Py_DEBUG" != "true"
# Issue #24324: Unfortunately, the unreachable code warning does not work
# correctly on gcc and has been silently removed from the compiler.
# It is supported on clang but on OS X systems gcc may be an alias
# for clang. Try to determine if the compiler is not really gcc and,
# if so, only then enable the warning.
if test $ac_cv_enable_unreachable_code_warning = yes && \
test "$Py_DEBUG" != "true" && \
test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
then
then
BASECFLAGS="$BASECFLAGS -Wunreachable-code"
BASECFLAGS="$BASECFLAGS -Wunreachable-code"
else
ac_cv_enable_unreachable_code_warning=no
fi
fi
AC_MSG_RESULT($ac_cv_enable_unreachable_code_warning)
# if using gcc on alpha, use -mieee to get (near) full IEEE 754
# if using gcc on alpha, use -mieee to get (near) full IEEE 754
# support. Without this, treatment of subnormals doesn't follow
# support. Without this, treatment of subnormals doesn't follow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment