Subject | Hash | Author | Date (UTC) |
---|---|---|---|
bpo-30104: configure now detects when cc is clang (#1233) | 35f3d240ee5f0958034bd500949b08764e36f4dc | Victor Stinner | 2017-04-21 10:35:24 |
bpo-30104: Use -fno-strict-aliasing on clang (#1221) | 28205b203a4742c40080b4a2b4b2dcd800716edc | Victor Stinner | 2017-04-21 09:24:34 |
remove configure test for inline keyword (#1231) | 791dc831198f3ecc1531f8e6f05debf4ce234d00 | Benjamin Peterson | 2017-04-21 06:52:19 |
bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entries (#1222) | f60c9e54f501065f3be2a4cfb4c387dfa2f243a9 | Segev Finer | 2017-04-20 23:33:28 |
Add missing .gitignore entries for VS2015 IntelliSense DB (#1223) | 8e675286a92f33837cfffac5914b5175dac5d573 | Segev Finer | 2017-04-20 23:32:26 |
bpo-29802: Fix reference counting in module-level struct functions (#1213) | 40db90c1ce1a59d5f5f2894bb0ce32110000bf27 | Serhiy Storchaka | 2017-04-20 18:19:31 |
Only define get_zone() and get_gmtoff() if needed (#1193) | 8f5cdfa9fc1bb6b4d9a33fc281987252f6398430 | Victor Stinner | 2017-04-20 11:41:09 |
support.threading_cleanup() log a warning on fail (#1195) | d20324a7fab6734bae19b1f070b5c8aae5ff3612 | Victor Stinner | 2017-04-20 11:40:08 |
bpo-30108: Restore sys.path in test_site (#1197) | b85c136903c6d2368162f7c4a58f258c9c69ead0 | Victor Stinner | 2017-04-20 11:39:39 |
bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168) | b4dc6af7a7862a8996cffed30d39d6add5ee58a3 | Dong-hee Na | 2017-04-20 07:31:17 |
bpo-30109: Fix reindent.py (GH-1207) | 58f3c9dc8f5626abe09ac9738c34f6ba99ce2972 | Mariatta | 2017-04-20 05:59:20 |
bpo-10379: Add %char examples to locale.format() docs (GH-1145) | 6dbdedb0b18a5ca850ab8ce512fda24d5a9d0688 | Berker Peksag | 2017-04-20 04:38:43 |
Remove redundant comma in argparse HOWTO (#1141) | 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf | Berker Peksag | 2017-04-20 04:29:35 |
bpo-30078: Add an example of passing a path to unittest (#1178) | f7e62cf8adfb8ab6a6a870903defe8ff218a0383 | Louie Lu | 2017-04-20 03:46:59 |
bpo-30106: Fix tearDown() of test_asyncore (#1194) | 11470b6dcdbc170779499a4a040b93c842a0d194 | Victor Stinner | 2017-04-20 00:55:39 |
bpo-29887: test_normalization handles PermissionError (#1196) | d13d54748d3a7db023d9db37223ea7d40bb8f8e3 | Victor Stinner | 2017-04-20 00:39:59 |
regrtest: always show before/after of modified env (#1192) | ec4b17239d899550be4ee6104b61751bb3c70382 | Victor Stinner | 2017-04-19 22:57:30 |
Fix/optimize test_asyncore.test_quick_connect() (#1188) | 7b9619ae249ed637924d1c76687b411061753e5a | Victor Stinner | 2017-04-19 21:42:46 |
bpo-30030: Revert f50354ad (tempfile) (#1187) | 1e62bf145b4865d03a29a5720a4eb84c321a9829 | Victor Stinner | 2017-04-19 20:59:51 |
bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (#1110) | 66bffd1663489d080349debbf1b472d432351038 | Serhiy Storchaka | 2017-04-19 18:12:46 |
File | Lines added | Lines deleted |
---|---|---|
configure | 21 | 8 |
configure.ac | 21 | 8 |
File configure changed (mode: 100755) (index 40e64adc8a..1c90d3101c) | |||
... | ... | then | |
6812 | 6812 | WRAP="-fwrapv" | WRAP="-fwrapv" |
6813 | 6813 | fi | fi |
6814 | 6814 | ||
6815 | # Clang also needs -fwrapv | ||
6816 | 6815 | case $CC in | case $CC in |
6817 | 6816 | *clang*) | *clang*) |
6818 | WRAP="-fwrapv" | ||
6819 | # bpo-30104: Python/dtoa.c requires to be build with | ||
6820 | # -fno-strict-aliasing to fix compiler issue on the | ||
6821 | # double/ULong[2] union using clang 4.0 and optimization level | ||
6822 | # -O2 or higher | ||
6823 | # https://bugs.llvm.org//show_bug.cgi?id=31928 | ||
6824 | ALIASING="-fno-strict-aliasing" | ||
6817 | cc_is_clang=1 | ||
6825 | 6818 | ;; | ;; |
6819 | *) | ||
6820 | if $CC --version 2>&1 | grep -q clang | ||
6821 | then | ||
6822 | cc_is_clang=1 | ||
6823 | else | ||
6824 | cc_is_clang= | ||
6825 | fi | ||
6826 | 6826 | esac | esac |
6827 | 6827 | ||
6828 | if test -n "${cc_is_clang}" | ||
6829 | then | ||
6830 | # Clang also needs -fwrapv | ||
6831 | WRAP="-fwrapv" | ||
6832 | |||
6833 | # bpo-30104: Python/dtoa.c requires to be build with | ||
6834 | # -fno-strict-aliasing to fix compiler issue on the | ||
6835 | # double/ULong[2] union using clang 4.0 and optimization level | ||
6836 | # -O2 or higher | ||
6837 | # https://bugs.llvm.org//show_bug.cgi?id=31928 | ||
6838 | ALIASING="-fno-strict-aliasing" | ||
6839 | fi | ||
6840 | |||
6828 | 6841 | case $ac_cv_prog_cc_g in | case $ac_cv_prog_cc_g in |
6829 | 6842 | yes) | yes) |
6830 | 6843 | if test "$Py_DEBUG" = 'true' ; then | if test "$Py_DEBUG" = 'true' ; then |
File configure.ac changed (mode: 100644) (index cb79ea891f..e5b725795a) | |||
... | ... | then | |
1452 | 1452 | WRAP="-fwrapv" | WRAP="-fwrapv" |
1453 | 1453 | fi | fi |
1454 | 1454 | ||
1455 | # Clang also needs -fwrapv | ||
1456 | 1455 | case $CC in | case $CC in |
1457 | 1456 | *clang*) | *clang*) |
1458 | WRAP="-fwrapv" | ||
1459 | # bpo-30104: Python/dtoa.c requires to be build with | ||
1460 | # -fno-strict-aliasing to fix compiler issue on the | ||
1461 | # double/ULong[2] union using clang 4.0 and optimization level | ||
1462 | # -O2 or higher | ||
1463 | # https://bugs.llvm.org//show_bug.cgi?id=31928 | ||
1464 | ALIASING="-fno-strict-aliasing" | ||
1457 | cc_is_clang=1 | ||
1465 | 1458 | ;; | ;; |
1459 | *) | ||
1460 | if $CC --version 2>&1 | grep -q clang | ||
1461 | then | ||
1462 | cc_is_clang=1 | ||
1463 | else | ||
1464 | cc_is_clang= | ||
1465 | fi | ||
1466 | 1466 | esac | esac |
1467 | 1467 | ||
1468 | if test -n "${cc_is_clang}" | ||
1469 | then | ||
1470 | # Clang also needs -fwrapv | ||
1471 | WRAP="-fwrapv" | ||
1472 | |||
1473 | # bpo-30104: Python/dtoa.c requires to be build with | ||
1474 | # -fno-strict-aliasing to fix compiler issue on the | ||
1475 | # double/ULong[2] union using clang 4.0 and optimization level | ||
1476 | # -O2 or higher | ||
1477 | # https://bugs.llvm.org//show_bug.cgi?id=31928 | ||
1478 | ALIASING="-fno-strict-aliasing" | ||
1479 | fi | ||
1480 | |||
1468 | 1481 | case $ac_cv_prog_cc_g in | case $ac_cv_prog_cc_g in |
1469 | 1482 | yes) | yes) |
1470 | 1483 | if test "$Py_DEBUG" = 'true' ; then | if test "$Py_DEBUG" = 'true' ; then |