[Issue 222] "Internal error: ..\ztc\cod1.c 1656" with && and ||

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 16 01:23:31 PDT 2006


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





------- Comment #3 from braddr at puremagic.com  2006-10-16 03:23 -------
Here's a cut/pasteable reprocase.  It doesn't produced the error mentioned in
comment 2, but it does produce the internal error in the summary.

void f() { }

void main() {
    int x = 0 || f();
    int y = 1 && f();
}

$ dmd -v 222.d  (this is dmd 169)
parse     222
semantic  222
semantic2 222
semantic3 222
code      222
generating code for function 'f'
generating code for function 'main'
Internal error: ../ztc/cod1.c 1660


-- 




More information about the Digitalmars-d-bugs mailing list