[Issue 11483] dmd inserts a gc allocation where none is required

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 9 06:37:56 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11483



--- Comment #1 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2013-11-09 06:37:55 PST ---
looks like for workaround you can change 

__traits(compiles, {node.value ;});

to

__traits(compiles, node.value);

or put it in a template.

Doesn't seem to be triggered by std.range.isInputRange and friends.

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


More information about the Digitalmars-d-bugs mailing list