[Issue 12500] ICE in codegen when multiplying an incremented size_t by a double

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 1 03:41:16 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12500



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-04-01 12:41:15 CEST ---
(In reply to comment #1)
> I can't reproduce with using latest git-head: f92062c

Sorry, wrong! With -m64 I can:

C:\dev\code\d_code> dmd -m64 test.d
DMD v2.066 DEBUG
el:01341804 cnt=0 cs=0 <<=  TYuns long long 013417C4 01341844
 el:013417C4 cnt=0 cs=0 ?  TYdouble 01341C44 01341E44
  el:01341C44 cnt=0 cs=0 >=  TYint 01341784 01341C04
   el:01341784 cnt=0 cs=0 var  TYlong long  foo
   el:01341C04 cnt=0 cs=0 const  TYlong long 0LL
  el:01341E44 cnt=0 cs=0 colon  TYdouble 01341C84 01341E04
   el:01341C84 cnt=0 cs=0 s64_d  TYdouble 01341B84
    el:01341B84 cnt=0 cs=0 var  TYlong long  foo
   el:01341E04 cnt=0 cs=0 +  TYdouble 01341D44 01341DC4
    el:01341D44 cnt=0 cs=0 s64_d  TYdouble 01341D04
     el:01341D04 cnt=0 cs=0 &  TYlong long 01341BC4 01341CC4
      el:01341BC4 cnt=0 cs=0 var  TYlong long  foo
      el:01341CC4 cnt=0 cs=0 const  TYlong long 9223372036854775807LL
    el:01341DC4 cnt=0 cs=0 var  mTYconst|TYdouble  _TMP0
 el:01341844 cnt=0 cs=0 const  TYint 0L
Internal error: backend\cgcs.c 221

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list