[Python-Dev] Compiler warnings

"Martin v. Löwis" martin at v.loewis.de
Wed Feb 1 20:21:58 CET 2006


Tim Peters wrote:
>>It inlines the function to make this determination.
> 
> 
> Very cool!  Is this a new(ish) behavior?

In 3.4:

http://gcc.gnu.org/gcc-3.4/changes.html

# A new unit-at-a-time compilation scheme for C, Objective-C, C++ and
# Java which is enabled via -funit-at-a-time (and implied by -O2). In
# this scheme a whole file is parsed first and optimized later. The
# following basic inter-procedural optimizations are implemented:
#
#  - ...

The actual "might be uninitialized" warning comes from the SSA branch,
which was merged in 4.0, as somebody else pointed out.

Regards,
Martin


More information about the Python-Dev mailing list