[Issue 2560] ICE(cod4.c) on invoking method that takes ref const struct parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 31 03:03:18 PDT 2009


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





--- Comment #9 from HOSOKAWA Kenchi <hskwk at inter7.jp>  2009-08-31 03:03:17 PDT ---
(In reply to comment #8)
> The reason why it doesn't fail for float and double is that they have sizes of
> 4=int.sizeof and 8=long.sizeof, and get inlined at an earlier stage in the
> backend. So structs with size 1,2,4, and 8 are immune from the ICE. Real is
> size 10, so it ICEs. It's nothing to do with floating point at all.

I am reassured by your good analysis. thank you.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list