Hi,
In my program, I use CompareBlock. It works normally until I run the Optimizer. With the optimized code, it always gives a False result.
I've checked the generated asm files and find that with the optimizer, only the first variable's addres is set, so it will always compare with a rendom memory area.
I atttached a very simple test program and the 2 asm outputs.
I use compiler ver. 6.00.00, optimizer ver. 3.6.12.0
Do I something wrong or it isreally a bug?
And a smaller error in PED32new: If I open the About dialog a second time, then it doesn't write the compiler version and the dialog couldn't be closed, so it hangs the whole program.
In my program, I use CompareBlock. It works normally until I run the Optimizer. With the optimized code, it always gives a False result.
I've checked the generated asm files and find that with the optimizer, only the first variable's addres is set, so it will always compare with a rendom memory area.
I atttached a very simple test program and the 2 asm outputs.
I use compiler ver. 6.00.00, optimizer ver. 3.6.12.0
Do I something wrong or it isreally a bug?
And a smaller error in PED32new: If I open the About dialog a second time, then it doesn't write the compiler version and the dialog couldn't be closed, so it hangs the whole program.
Attachments
Filename: | CompTest.zip |
Filesize: | 8.68 KB |
Title: | |
Download counter: | 13 |