Bug 10178 – Compiler segfault with zero-length tuple comparison

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-26T18:44:00Z
Last change time
2013-05-27T02:04:05Z
Keywords
ice, pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-05-26T18:44:25Z
This code: struct S {} void main() { S s; assert(s.tupleof == s.tupleof); } Would cause segfault during compilation.
Comment #1 by k.hara.pg — 2013-05-26T18:49:10Z
https://github.com/D-Programming-Language/dmd/pull/2082 This is a regression caused by implementing issue 9873.
Comment #2 by andrei — 2013-05-26T19:01:56Z
Oops I marked this as resolved before merging the code in, will reopen if Kenji doesn't respond in a few minutes.
Comment #3 by github-bugzilla — 2013-05-26T19:20:35Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0fea1d8b0e6e2c3befe1ecea29b3646c57015591 fix Issue 10178 - Compiler segfault with zero-length tuple comparison https://github.com/D-Programming-Language/dmd/commit/9cb54d52ff53e3634b6715988ec09a4f6865e218 Merge pull request #2082 from 9rnsr/fix10178 [REG2.063a] Issue 10178 - Compiler segfault with zero-length tuple comparison
Comment #4 by github-bugzilla — 2013-05-26T21:45:44Z
Comment #5 by github-bugzilla — 2013-05-27T02:03:21Z
Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e7da99729d37fdf53e469a21f5128130d692f9ea Merge pull request #2082 from 9rnsr/fix10178 [REG2.063a] Issue 10178 - Compiler segfault with zero-length tuple comparison
Comment #6 by github-bugzilla — 2013-05-27T02:04:05Z
Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/44fc6690f7da831849af8c8350d22a568e7bb6be Merge pull request #2083 from 9rnsr/fix10178 Fix up for bug 10178