DMD buggy optimizing
Craig Black
cblack at ara.com
Fri Apr 21 08:32:04 PDT 2006
"Dave" <Dave_member at pathlink.com> wrote in message
news:e2apq1$2uo7$1 at digitaldaemon.com...
> Michael wrote:
>> Is it possible to mark a certain section of code as not optimizing? My
>> program
>> works fine in debug mode but then when I use the release build it refuses
>> to
>> work, and there is no way for me to debug it either.
>>
>> If we could mark a certain section of code as "dont optimize" then this
>> would
>> solve the problem. I know rougly where the problem is, but not exactly.
>>
>
> You really need to provide more info. than that... Compiler switches, post
> some code showing exactly where it quits working or ideally isolate the
> problem down to as few lines of code as you can, etc.
Yes, but who knows when Walter will get around to fixing it? Compler
optimization is by nature complex and error prone. I think being able to
selectively optimize is a good idea. This will allow us to identify
optimization bugs more easily.
-Craig
More information about the Digitalmars-d
mailing list