For the lulz: ddmd vs libdparse lexer timings

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 7 04:35:48 PST 2015


"Iain Buclaw via Digitalmars-d"  wrote in message 
news:mailman.4248.1420631820.9932.digitalmars-d at puremagic.com...

> I'd say bug in dmc.

Yeah I'm thinking so, fun.  It looks like dmc sets up the code to copy the 
struct into the variable but never bothers emitting the loop/movsds.

What about this:

struct S
{
}

void main()
{
    S a = void;
    S b = void;
    assert(a == b); // Should this ever fail?
} 



More information about the Digitalmars-d mailing list