Bug 12243 – [REG 2.065.0] "ICE: cannot append 'char' to 'string'" with -inline

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-24T23:04:00Z
Last change time
2014-02-25T09:08:51Z
Keywords
ice, pull, rejects-valid
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2014-02-24T23:04:13Z
char f() { return 'a'; } void main() { string s; s ~= f(); }
Comment #1 by dlang-bugzilla — 2014-02-24T23:05:00Z
Compile with -inline.
Comment #2 by dlang-bugzilla — 2014-02-24T23:16:24Z
Introduced in https://github.com/D-Programming-Language/dmd/pull/3222 (or its equivalent for the release branch).
Comment #3 by dlang-bugzilla — 2014-02-25T03:10:06Z
Comment #4 by k.hara.pg — 2014-02-25T06:58:55Z
Comment #5 by github-bugzilla — 2014-02-25T09:00:13Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/159e0b73a64f48da956970c60ef7cf558e79b5ec fix Issue 12243 - "ICE: cannot append 'char' to 'string'" with -inline https://github.com/D-Programming-Language/dmd/commit/53bec8515bd571ea949f45b697ee4e8ee1b82fd2 Merge pull request #3334 from 9rnsr/fix12243 [REG2.065] Issue 12243 - "ICE: cannot append 'char' to 'string'" with -inline