Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 11, 2013 [Issue 11223] New: inline ice with tuple assignment and if/else | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11223 Summary: inline ice with tuple assignment and if/else Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: regression Priority: P4 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: code@dawg.eu --- Comment #0 from Martin Nowak <code@dawg.eu> 2013-10-10 21:23:13 PDT --- cat > bug.d << CODE struct Tuple(T...) { T values; void opAssign(Tuple rhs) { if (0) values = rhs.values; else assert(0); } } void bug() { Tuple!string tmp; tmp = Tuple!string(); } CODE dmd -c -inline bug ---- glue.c:1265: virtual unsigned int Type::totym(): Assertion `0' failed. ---- I reduced that test case from the vibe.d source code. The ICE is triggered by the opAssign in std.typecons.Tuple so this might affects a lot of code and fixing the regression is very important. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 11, 2013 [Issue 11223] inline ice with tuple assignment and if/else | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11223 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-10 23:00:21 PDT --- https://github.com/D-Programming-Language/dmd/pull/2653 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 11, 2013 [Issue 11223] inline ice with tuple assignment and if/else | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11223 --- Comment #2 from github-bugzilla@puremagic.com 2013-10-11 11:40:14 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/250a8734370d223f1757c9796e284cc45a82e6ec fix Issue 11223 - inline ice with tuple assignment and if/else Superseded fix of 36a44cbcea9fbb18b221f77e00f2dca77f21bc88 https://github.com/D-Programming-Language/dmd/commit/9c136af1c21423a252fcf019f3aca112028667f8 Merge pull request #2653 from 9rnsr/fix11223 [REG2.064a] Issue 11223 - inline ice with tuple assignment and if/else -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 11, 2013 [Issue 11223] inline ice with tuple assignment and if/else | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11223 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 12, 2013 [Issue 11223] inline ice with tuple assignment and if/else | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11223 --- Comment #3 from Martin Nowak <code@dawg.eu> 2013-10-12 12:42:12 PDT --- Thanks a lot for the quick fix. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation