digitalmars.D.bugs - [Issue 16225] New: Internal error cod1.c 1338 with -O
- via Digitalmars-d-bugs (32/32) Jul 01 2016 https://issues.dlang.org/show_bug.cgi?id=16225
https://issues.dlang.org/show_bug.cgi?id=16225 Issue ID: 16225 Summary: Internal error cod1.c 1338 with -O Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: 4burgos gmail.com When using -O with dmd fails with the following code (reduced): ``` struct C { hash_t foo( ) { int y; return ((cast(ubyte*)&y)[1]); } } ``` ``` nemanjaboric:/home/nemanjaboric/test-clean.reduced $ dmd -O testreduced.d Internal error: backend/cod1.c 1338 ``` ``` DMD64 D Compiler v2.071.1 ``` --
Jul 01 2016