[Issue 3918] Parameter use before its use in an AndAnd expression with reals treats NaN as false

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 13:30:57 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3918


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com


--- Comment #4 from yebblies <yebblies at gmail.com> 2012-10-29 07:30:53 EST ---
(In reply to comment #3)
> 
> Then in cod3.c, jmpopcode(), around line 805, we see this code. The two lines
> marked with * mean that it just does a JNE, instead of a JNE/JP combination.
> When there's no CSE, the next return is used, "return XP|JNE", which adds the
> JP in.
> 

I hit this same bit of code when investigating the xmm codegen bugs earlier
this year and tried to fix it by moving the CSE if to under the fp block, and
Walter told me that "floating point expressions are not common
subexpressioned."  Nasty.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list