[New-bugs-announce] [issue1621] Python should compile with -Wstrict-overflow when using gcc

Gregory P. Smith report at bugs.python.org
Fri Dec 14 01:43:47 CET 2007

New submission from Gregory P. Smith:

The resolution to http://bugs.python.org/issue1608 looks like it'll add
a -fwrapv gcc flag when building python.  This works around the issue
nicely on one compiler (gcc) but doesn't fix our fundamentally broken code.

We should fix all dependencies on integer overflow behavior, starting by
making everything compile properly with gcc's -Wstrict-overflow and
-Werror flags.

messages: 58602
nosy: gregory.p.smith
severity: normal
status: open
title: Python should compile with -Wstrict-overflow when using gcc
type: security
versions: Python 2.5, Python 2.6, Python 3.0

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list