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 <[email protected]>
  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 <[email protected]>
  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
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to