Thread overview
[Issue 11906] Compiler assertion when comparing function pointers
Apr 10, 2014
Kenji Hara
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=11906

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/3445

--
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=11906

--- Comment #3 from github-bugzilla@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

--
April 10, 2014
https://issues.dlang.org/show_bug.cgi?id=11906

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--