core.atomic and -profile switch

bearophile bearophileHUGS at lycos.com
Wed Apr 2 04:19:15 PDT 2014


Saurabh Das:

> With error:
> /usr/include/dmd/druntime/import/core/atomic.d(910): Error: asm 
> statements are assumed to throw
>
> Is there a workaround for this? I have a decent sized codebase 
> which I wish to profile for hotspots - but it won't compile 
> with '-profile'.

Isn't this a recent regression?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list