Meador Inge added the comment:

Nice work Victor.

> Can we turn that particular optimisation off?

/OPT:NOICF is probably what we are looking for [1]:

"""
/OPT:ICF can result in the same address being assigned to different functions 
or read only data members (const variables compiled with /Gy). So, /OPT:ICF can 
break a program that depends on the address of functions or read-only data 
members being different. See /Gy (Enable Function-Level Linking) for more 
information.
"""

Now it makes sense that this only crops up with the PGO builds -- those are the 
only ones where we link with /OPT:ICF.

Can someone try out this option?  I would, but I don't have a Windows box handy.

[1] http://msdn.microsoft.com/en-us/library/bxwfs976.aspx

----------
nosy: +meador.inge

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8847>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to