DMD buggy optimizing
John Demme
me at teqdruid.com
Fri Apr 21 10:40:44 PDT 2006
The most finely grained optimization selection is at the file level. That
is, you can select which files you want optimized if you compile them
individually.
Then, if possible, break out the code you think may be causing the issue
into a separate file and compile it w/o optimizations. Keep in mind that
you can take the affected function bodies out and put them in another file
by the same name and module heading, and keep the function signatures in
the original file, so although they will compile seperately, when you link
them, they'll be part of the same module.
~John Demme
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.
More information about the Digitalmars-d
mailing list