[Issue 5580] [64-bit] String switch statements broken in 64-bit mode

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 15 18:13:29 PST 2011


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



--- Comment #6 from David Simcha <dsimcha at yahoo.com> 2011-02-15 18:10:56 PST ---
Unfortunately this appears to be a Heisenbug.  When I put print statements in
to figure out what's going on and call the switch statement function manually,
it starts working.  However, the one hint I did get from mucking around in
switch_.d is that replacing the memcmp() call with a manual for loop and
recompiling druntime solves the problem.  Not sure if this is due to the
Heisenbug nature of this thing or if it indicates that the memcmp() call is the
culprit.

-- 
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