Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
September 20, 2013 [Issue 11075] New: ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11075 Summary: ICE(struct.c) after gagged error in struct field initializer Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@yahoo.com.au> 2013-09-20 11:11:04 PDT --- This is a minor change to fail_compilation/ice9806.d from the test suite. struct S1() { int x = undefined_expr; } void test1() { static assert(!is(typeof(S1!().x))); static assert(!is(typeof(S1!().x))); } --- dmd: struct.c:787: virtual void StructDeclaration::semantic(Scope*): Assertion `type->ty != Tstruct || ((TypeStruct *)type)->sym == this' failed. Aborted I found this by enabling full validity checking in CTFE. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 23, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 --- Comment #1 from Don <clugdbug@yahoo.com.au> 2013-09-23 00:39:18 PDT --- Bug 11022 is probably a duplicate. The cause is, that AggregatedDeclaration::semantic2 may encounter errors in initializers, but it doesn't mark the struct as having an error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 02, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2013-10-01 18:20:05 PDT --- https://github.com/D-Programming-Language/dmd/pull/2608 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 02, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simendsjo@gmail.com --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2013-10-01 18:47:06 PDT --- *** Issue 11022 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 09, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thelastmammoth@gmail.com --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2013-10-08 22:32:06 PDT --- *** Issue 10975 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 09, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 --- Comment #5 from Walter Bright <bugzilla@digitalmars.com> 2013-10-08 22:33:27 PDT --- https://github.com/D-Programming-Language/dmd/pull/2645 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 11, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 --- Comment #6 from github-bugzilla@puremagic.com 2013-10-10 23:39:17 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6edc44fa634dc299368c3a9265c232f79c7e3030 fix Issue 11075 - ICE(struct.c) after gagged error in struct field initializer https://github.com/D-Programming-Language/dmd/commit/d6ed310ead5aad02eac5ce25dc63c22b0da343a9 Merge pull request #2645 from WalterBright/fix11075-2 fix Issue 11075 - ICE(struct.c) after gagged error in struct field initializer -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 11, 2013 [Issue 11075] ICE(struct.c) after gagged error in struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=11075 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- 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