https://issues.dlang.org/show_bug.cgi?id=9655
Ketmar Dark <ket...@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ket...@ketmar.no-ip.org --- Comment #8 from Ketmar Dark <ket...@ketmar.no-ip.org> --- (In reply to bearophile_hugs from comment #6) > This is not enough. What do you have to do if you want to be certain to have > distinct D functions pointers even if the function body may or may not be > the same? (There is C code out there that relies on this guaranteed, like > some evolutionary algorithm that breeds functions). Are D functions tagged > with extern(C) exempt from this optimization? that code is foobared. please, don't use it. --