digitalmars.D.bugs - [Issue 8163] New: compiler error when assigning a static array return value
- d-bugmail puremagic.com (47/47) May 30 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8163
- d-bugmail puremagic.com (12/12) May 30 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8163
- d-bugmail puremagic.com (12/12) Jun 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8163
- d-bugmail puremagic.com (11/11) Jul 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8163
- d-bugmail puremagic.com (8/8) Jul 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8163
http://d.puremagic.com/issues/show_bug.cgi?id=8163 Summary: compiler error when assigning a static array return value Product: D Version: D2 Platform: x86_64 OS/Version: FreeBSD Status: NEW Keywords: ice Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dawg dawgfoto.de --- Comment #0 from dawg dawgfoto.de 2012-05-30 04:22:46 PDT --- cat > bug.d << CODE // any combination of integral/floating point fields // that sums up to an eightbyte triggers the bug. template test(T...) { struct Point { T fields; } enum N = 2; // N>=2 triggers the bug extern Point[N] bar(); void foo() { Point[N] _ = bar(); } } alias test!(long) _l; alias test!(double) _d; alias test!(float, float) _ff; alias test!(int, int) _ii; alias test!(int, float) _if; alias test!(ushort, ushort, ushort, ushort) _SSSS; alias test!(ubyte, ubyte, ubyte, ubyte, ubyte, ubyte, ubyte, ubyte) _BBBBBBBB; alias test!(ubyte, ubyte, ushort, float) _BBSf; CODE dmd -c bug Internal error: backend/cod1.c 1664 ---- This is most likely related to the recent ABI64 changes. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 30 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8163 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |WORKSFORME --- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2012-05-30 10:55:55 PDT --- It also works in the latest 2.060 head! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 30 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8163 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #2 from dawg dawgfoto.de 2012-06-10 05:26:14 PDT --- It's a x86-64 only bug. I can reproduce it with the given code on linux, FreeBSD and OSX. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 10 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8163 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME --- Comment #3 from Walter Bright <bugzilla digitalmars.com> 2012-07-23 20:31:36 PDT --- My recent work on the 64 bit calling convention seems to have fixed this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8163 --- Comment #4 from github-bugzilla puremagic.com 2012-07-23 20:48:17 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/27928882cfda7eb65c89a9c59768b5456ec6b70c add test case for bug 8163 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 23 2012