Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
July 11, 2012 [Issue 8376] New: 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8376 Summary: 64 bit codegen bug involving dynamically indexed static array and continue statement Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: timon.gehr@gmx.ch --- Comment #0 from timon.gehr@gmx.ch 2012-07-10 20:19:02 PDT --- DMD 2.059 void main() { int i = 0; int[2] a; a[1]=1; while(!a[0]){ if(a[i]) continue; a[i] = 1; } } The code terminates with -m32 and enters an infinite loop with -m64. No other flags are necessary to reproduce. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2012 [Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=8376 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2012 [Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=8376 Maxim Fomin <maxim@maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim@maxim-fomin.ru --- Comment #1 from Maxim Fomin <maxim@maxim-fomin.ru> 2012-11-09 07:05:57 PST --- (In reply to comment #0) > DMD 2.059 > void main() { > int i = 0; > int[2] a; > a[1]=1; > while(!a[0]){ > if(a[i]) continue; > a[i] = 1; > } > } > > The code terminates with -m32 and enters an infinite loop with -m64. No other flags are necessary to reproduce. In windows with -m64 dmd 2.060 produces Internal error: ..\ztc\cgobj.c 1479 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2012 [Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=8376 --- Comment #2 from github-bugzilla@puremagic.com 2012-11-09 14:32:16 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/204a1e0d480f2dfb50860fa2d99320b19fb88623 add test case for Issue 8376 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 09, 2012 [Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=8376 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |WORKSFORME --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2012-11-09 14:32:59 PST --- I could not reproduce it with the current build, but I added it to the test suite anyway, -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 11, 2012 [Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=8376 Denis Shelomovskij <verylonglogin.reg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |verylonglogin.reg@gmail.com Resolution|WORKSFORME | --- Comment #4 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-11-11 08:47:02 MSK --- Reopened. See this pull: https://github.com/D-Programming-Language/dmd/pull/1277 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 11, 2012 [Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=8376 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #5 from Walter Bright <bugzilla@digitalmars.com> 2012-11-11 00:38:22 PST --- https://github.com/D-Programming-Language/dmd/commit/687b4e28923b08756569a4cf1148b069e928c424 -- 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