Wrong stats of `pragma(inline, true)`-functions when compiling with `-cov` flag

Per Nordlöw per.nordlow at gmail.com
Sun Aug 2 11:15:53 UTC 2020

I've noticed that the results of

     dmd -cov

are incorrect for inline-functions such as

void f()
     pragma(inline, true);

eventhough I feed `dmd` neither the `-O` nor `-inline` nor 
`-release` flag.

The problem goes away when I remove the `pragma(inline, 
true)`-directives from the affected function.

Is this a know issue?

More information about the Digitalmars-d mailing list