[Issue 8376] 64 bit codegen bug involving dynamically indexed static array and continue statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 9 07:05:58 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8376


Maxim Fomin <maxim at maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim at maxim-fomin.ru


--- Comment #1 from Maxim Fomin <maxim at 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: -------


More information about the Digitalmars-d-bugs mailing list