Bug 15688 – dmd segfault with an integer call through comma expression

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-02-15T16:44:00Z
Last change time
2016-03-24T14:04:12Z
Keywords
ice, pull
Assigned to
nobody
Creator
john.loughran.colvin

Comments

Comment #0 by john.loughran.colvin — 2016-02-15T16:44:50Z
% cat bench.d void step2() { (mappings, 0)(); } % dmd bench.d bench.d(3): Error: undefined identifier 'mappings' [1] 81703 segmentation fault dmd bench.d haven't tried with a debug build of dmd, perhaps it would be an assertion there.
Comment #1 by k.hara.pg — 2016-02-15T17:23:29Z
Comment #2 by github-bugzilla — 2016-02-16T02:41:29Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c5b74fea54531de053e691f9f9aa0791dfa3e8d5 fix Issue 15688 - dmd segfault with an integer call through comma expression https://github.com/D-Programming-Language/dmd/commit/d510af014fe97f483f6f6a7492896ac193745121 Merge pull request #5460 from 9rnsr/fix15688 Issue 15688 - dmd segfault with an integer call through comma expression
Comment #3 by k.hara.pg — 2016-03-24T14:04:12Z
*** Issue 15698 has been marked as a duplicate of this issue. ***