[dmd-internals] [D-Programming-Language/dmd] 204df5: fix Issue 15200 - ICE(glue.c) when compiling with ...
GitHub via dmd-internals
dmd-internals at puremagic.com
Tue Oct 13 12:24:57 PDT 2015
Branch: refs/heads/stable
Home: https://github.com/D-Programming-Language/dmd
Commit: 204df57a5ab578423dc655be6d4a2a733caa0362
https://github.com/D-Programming-Language/dmd/commit/204df57a5ab578423dc655be6d4a2a733caa0362
Author: k-hara <k.hara.pg at gmail.com>
Date: 2015-10-14 (Wed, 14 Oct 2015)
Changed paths:
M src/dtemplate.d
M src/inline.d
A test/runnable/ice15200.d
A test/runnable/imports/ice15200a.d
A test/runnable/imports/ice15200b.d
Log Message:
-----------
fix Issue 15200 - ICE(glue.c) when compiling with -inline
Even if a function is expanded by inlining, the function itself don't have to put in object file. In short, adjusting `ti.minst` in `inline.d` is not correct.
The unspeculation in `expandInline` was added in the PR #4944, but sadly it was just a hack and inherently unneeded. The changes in `TemplateInstance.appendToModuleMember` and `needsCodegen` those were added since 2.068.1-b1, now correctly handle codegen of nested template instances.
Commit: 1e5d3b0427cc77199c1d03607256ff8518adf1e9
https://github.com/D-Programming-Language/dmd/commit/1e5d3b0427cc77199c1d03607256ff8518adf1e9
Author: Walter Bright <walter at walterbright.com>
Date: 2015-10-13 (Tue, 13 Oct 2015)
Changed paths:
M src/dtemplate.d
M src/inline.d
A test/runnable/ice15200.d
A test/runnable/imports/ice15200a.d
A test/runnable/imports/ice15200b.d
Log Message:
-----------
Merge pull request #5192 from 9rnsr/fix15200
[REG2.068.2] Issue 15200 - ICE(glue.c) when compiling with -inline
Compare: https://github.com/D-Programming-Language/dmd/compare/d752f698caaa...1e5d3b0427cc
More information about the dmd-internals
mailing list