Bug in Optimizer at CompareBlock?

wsandor
Benutzer
Avatar
Gender: n/a
Age: 53
Posts: 13
Registered: 07 / 2012
Subject:

Bug in Optimizer at CompareBlock?

 · 
Posted: Yesterday at 16:54  ·  #1
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.
Attachments
Filename: CompTest.zip
Filesize: 8.68 KB
Title:
Download counter: 3
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1389
Registered: 03 / 2005
Subject:

Re: Bug in Optimizer at CompareBlock?

 · 
Posted: Today at 10:22  ·  #2
It sounds like a bug.

I will take a look. But 6.00.00 is not the latest version.
Selected quotes for multi-quoting:   0

Registered users in this topic

Merlin

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 16 · Cache Hits: 15   51   66 · Page-Gen-Time: 0.029048s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI