[Issue 8376] New: 64 bit codegen bug involving dynamically indexed static array and continue statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 10 20:19:06 PDT 2012
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 at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at 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: -------
More information about the Digitalmars-d-bugs
mailing list