[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-12-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7efad6256e58 by Stefan Krah in branch '3.2': Issue #11149: Also enable -fwrapv if $CC is a full path http://hg.python.org/cpython/rev/7efad6256e58 New changeset e48df59af394 by Stefan Krah in branch 'default': Merge second fix for issue #11149. htt

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-11-21 Thread Joshua Root
Joshua Root added the comment: The fix that was committed doesn't work if CC is a full path like /usr/bin/clang. -- nosy: +jmr ___ Python tracker ___ __

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-15 Thread Stefan Krah
Stefan Krah added the comment: The buildbots are fine, though I think that in this instance Gentoo-Non-Debug-3.x is the only bot that actually exercises the new code path. So I tested manually on FreeBSD/clang-3.0 and I don't see anything surprising. -- resolution: -> fixed stage: pat

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-14 Thread Stefan Krah
Stefan Krah added the comment: No, that's me playing around. I tried to use clang as the compiler for the build slave. I can't figure out yet why the segfaults occur. When I'm running the test manually, everything seems to work. -- ___ Python tracke

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-14 Thread STINNER Victor
STINNER Victor added the comment: The new issue #12980 may be a regression introduced by this issue. -- ___ Python tracker ___ ___ Py

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f1e8c246a7b by Stefan Krah in branch '3.2': Issue #11149: recent versions of clang require the -fwrapv flag. http://hg.python.org/cpython/rev/0f1e8c246a7b New changeset 637c67b34a1a by Stefan Krah in branch 'default': Merge fix for issue #11149. h

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-14 Thread Stefan Krah
Stefan Krah added the comment: > Does the test suite catch this bug? I think all of those fail due to the bug in pow(): 20 tests failed: test_array test_builtin test_bytes test_decimal test_float test_fractions test_getargs2 test_index test_int test_itertools test_list test_long te

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-14 Thread Mark Dickinson
Mark Dickinson added the comment: >>> 2**64 0 Urk! I'd call that a release blocker. -- ___ Python tracker ___ ___ Python-bugs-list

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread STINNER Victor
STINNER Victor added the comment: "Recent clang and Python2.7 (without the patch): >>> 2**64 0" Does the test suite catch this bug? -- ___ Python tracker ___ _

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread Stefan Krah
Stefan Krah added the comment: Recent clang and Python2.7 (without the patch): Python 2.7.2+ (2.7:e8d8eb9e05fd, Sep 14 2011, 00:35:51) [GCC 4.2.1 Compatible Clang 3.0 (trunk 139637)] on freebsd8 Type "help", "copyright", "credits" or "license" for more information. >>> 2**63 -92233720368547758

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +a...@netbsd.org, skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-05-22 Thread Ismail Donmez
Ismail Donmez added the comment: Can someone please review this patch? test_list fails with clang without this patch. -- ___ Python tracker ___

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-05-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Brett, can you test this? -- assignee: -> brett.cannon nosy: +rhettinger ___ Python tracker ___ ___

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-03-20 Thread Brett Cannon
Brett Cannon added the comment: Someone having the time to do a patch review. -- keywords: +needs review stage: -> patch review ___ Python tracker ___ _

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-03-20 Thread Ismail Donmez
Ismail Donmez added the comment: Whats holding this up? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-13 Thread Ismail Donmez
Ismail Donmez added the comment: @Antoine Pitrou , that is tracked by http://bugs.python.org/issue1621 -- ___ Python tracker ___ ___

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is a potential crasher. It would also be nice if you listed those cases where Python assumes signed overflow behaviour. Can you open a separate issue for that? -- nosy: +mark.dickinson, pitrou priority: normal -> high versions: +Python 2.7, Python

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-11 Thread Ismail Donmez
Ismail Donmez added the comment: I think the patch is good to go, any comments/questions ? -- ___ Python tracker ___ ___ Python-bugs-

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Ismail Donmez
Ismail Donmez added the comment: This is only reproducable with clang 2.9 trunk builds due to new optimizations. Also note that clang commits confirm that -fwrapv must be provided if you assume signed integer overflow wraps. This was also the case with a spec test. I tested this on OSX 10.6.6

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Brett Cannon
Brett Cannon added the comment: I am using LLVM/Clang 2.8 and test_list passes fine for me as-is. Does it only fail under 32 or 64-bit conditions? Configure compiles under 32-bits for me even though I have -arch x86_64 set. -- nosy: +brett.cannon _

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread STINNER Victor
STINNER Victor added the comment: Ah, there is already a test for that: ok, it's fine and enough. -- ___ Python tracker ___ ___ Pytho

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Ismail Donmez
Ismail Donmez added the comment: Currently test_overflow inside test_list fails without this patch. Is that good enough or should we create a specific test? -- ___ Python tracker _

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread STINNER Victor
STINNER Victor added the comment: You should maybe add a test into _testcapi for this issue. -- nosy: +haypo ___ Python tracker ___ _

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-02-08 Thread Ismail Donmez
New submission from Ismail Donmez : clang (as with gcc 4.x) assumes signed integer overflow is undefined. But Python depends on the fact that signed integer overflow wraps. Currently configure script adds -fwrapv flag for GCC (added by me back in the day), same should be done with clang. Pat