DMD-0.160 regressions
Walter Bright
newshound at digitalmars.com
Wed Jun 7 16:03:26 PDT 2006
Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 784 regressions between DMD-0.158 and DMD-0.160 were found,
> however all of them are inline assembler tests that previously
> failed to compile and now fail to run if compiled with "-fPIC".
The tests rely on accessing static data from inline assembler. Accessing
static data with -fPIC requires special code to be generated, but with
inline assembler you have to add that code in manually. The compiler
won't do it automatically - after all, inline assembler means you
control the flame!
So I don't believe it's a compiler bug.
You can alter the inline assembler to pick the data off the stack
instead of static data, then it should work.
More information about the Digitalmars-d-bugs
mailing list