[Issue 11906] Compiler assertion when comparing function pointers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 10 01:23:11 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=11906
--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/7444be452ddf43ce2e1227427ccf67b3de620b01
fix Issue 11906 - Compiler assertion when comparing function pointers
If `f->isImportedSymbol()` is true, the translation from `AddrExp(VarExp(f))`
to `SymOffExp(f)` in `AddrExp::optimize` will be skipped.
Therefore, the assertion is just wrong.
https://github.com/D-Programming-Language/dmd/commit/12595153fac365d86d94b6686601ad5bbca739b9
Merge pull request #3445 from 9rnsr/fix11906
Issue 11906 - Compiler assertion when comparing function pointers
--
More information about the Digitalmars-d-bugs
mailing list