https://issues.dlang.org/show_bug.cgi?id=15200

--- Comment #2 from [email protected] ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/204df57a5ab578423dc655be6d4a2a733caa0362
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.

https://github.com/D-Programming-Language/dmd/commit/1e5d3b0427cc77199c1d03607256ff8518adf1e9
Merge pull request #5192 from 9rnsr/fix15200

[REG2.068.2] Issue 15200 - ICE(glue.c) when compiling with -inline

--

Reply via email to