[Issue 3865] D1: ICE(cgcs.c): Assigning to struct literal member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 24 19:38:01 PST 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2013-11-24 19:37:53 PST ---
> struct ICE3865{
>    int x;
> }
> 
> void ice3865() {
>     ICE3865(0).x =3;
> }

Maybe front-end optimizer wrongly constant-folds ICE3865(0).x to 0, then
backend will cause ICE for the invalid AST `0 = 3`.

But, D1 is not supported anymore. So mark as WONTFIX.

-- 
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