D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2839 - ICE(cgcs.c) with int /= imaginary
Summary: ICE(cgcs.c) with int /= imaginary
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords: ice-on-invalid-code, patch
Depends on:
Blocks:
 
Reported: 2009-04-16 03:40 UTC by Don
Modified: 2014-04-18 09:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Don 2009-04-16 03:40:16 UTC
Probably related to Issue #718.

void main(){
   int x;
   x/= 2i;
}

Internal error: ..\ztc\cgcs.c 221
DMD2.028 compiled in debug mode:
el:00C2C4CC cnt=0 cs=0 =  TYdouble 00C2C45C 00C2C494
 el:00C2C45C cnt=0 cs=0 s32_d  TYdouble 00C2C424
  el:00C2C424 cnt=0 cs=0 var  TYint  x
 el:00C2C494 cnt=0 cs=0 const  TYdouble 0
Internal error: backend\cgcs.c 221
Comment 1 Don 2009-06-09 16:42:42 UTC
The patch for bug 3059 fixes this.
Comment 2 Walter Bright 2009-10-06 02:15:44 UTC
Fixed dmd 1.048 and 2.033