http://d.puremagic.com/issues/show_bug.cgi?id=5591
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5591
--- Comment #5 from hypothermia.fr...@gmail.com 2011-02-17 13:53:00 PST ---
Ok, but as I said earlier this bug happened to me when the pointer call
happened in a member function call. The EBX register contained a 'this' pointer
and the compiler
http://d.puremagic.com/issues/show_bug.cgi?id=5591
--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2011-02-17
14:08:30 PST ---
If you can post a complete code snippet, and the obj2asm output of the asm
produced, that shows that EBX is not preserved across function calls, I can fix
http://d.puremagic.com/issues/show_bug.cgi?id=5591
hypothermia.fr...@gmail.com changed:
What|Removed |Added
Severity|major |critical
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=5591
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords||wrong-code
http://d.puremagic.com/issues/show_bug.cgi?id=5591
--- Comment #1 from hypothermia.fr...@gmail.com 2011-02-15 09:23:06 PST ---
After doing some more tests I found out that if you compile with -O switch, the
code behaves as expected and output is:
foo (EBX = 1,2)
EBX(after foo) = 1
foo (EBX =