[dmd-internals] [D-Programming-Language/dmd] 7444be: fix Issue 11906 - Compiler assertion when comparin...
GitHub
noreply at github.com
Thu Apr 10 01:23:08 PDT 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 7444be452ddf43ce2e1227427ccf67b3de620b01
https://github.com/D-Programming-Language/dmd/commit/7444be452ddf43ce2e1227427ccf67b3de620b01
Author: k-hara <k.hara.pg at gmail.com>
Date: 2014-04-10 (Thu, 10 Apr 2014)
Changed paths:
M src/cast.c
A test/compilable/ice11906.d
Log Message:
-----------
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.
Commit: 12595153fac365d86d94b6686601ad5bbca739b9
https://github.com/D-Programming-Language/dmd/commit/12595153fac365d86d94b6686601ad5bbca739b9
Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
Date: 2014-04-10 (Thu, 10 Apr 2014)
Changed paths:
M src/cast.c
A test/compilable/ice11906.d
Log Message:
-----------
Merge pull request #3445 from 9rnsr/fix11906
Issue 11906 - Compiler assertion when comparing function pointers
Compare: https://github.com/D-Programming-Language/dmd/compare/776a542fb4ce...12595153fac3
More information about the dmd-internals
mailing list