homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Arfrever, lemburg, mark.dickinson, pitrou, vstinner
Date 2010年05月05日.15:27:23
SpamBayes Score 0.00017910506
Marked as misclassified No
Message-id <4BE18E59.9050703@egenix.com>
In-reply-to <1273068802.3512.1.camel@localhost.localdomain>
Content
Antoine Pitrou wrote:
> 
> Antoine Pitrou <pitrou@free.fr> added the comment:
> 
>> It would be nice to restore the original behaviour, if possible, since
>> the optimization causes difficulties when debugging. One solution
>> would be to add '-O0' to OPT for debug builds (on gcc), as in the
>> attached patch. You then get compiler flags including:
>>
>> "-g -O2 -g -O0"
>>
>> which is somewhat ugly, but the -O0 overrides the -O2 (I think). Does
>> this seem like a reasonable solution?
> 
> Probably good enough.
+1
OPT can also be overridden by the user, to e.g. actually get an
optimized debug build in order to debug compiler optimization
problems.
History
Date User Action Args
2010年05月05日 15:27:24lemburgsetrecipients: + lemburg, mark.dickinson, pitrou, vstinner, Arfrever
2010年05月05日 15:27:23lemburglinkissue8625 messages
2010年05月05日 15:27:23lemburgcreate

AltStyle によって変換されたページ (->オリジナル) /