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: nob...@puremagic.com Reporter: 4bur...@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 ``` --