[Issue 9320] Non-POD status of a struct correlated to bad inlining.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 24 23:13:03 PST 2013


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2013-01-24 23:13:00 PST ---
This has nothing to do with inlining; the constructor call is inlined just
fine. It also has nothing to do with POD status, although that does illuminate
the problem.

The problem is that the optimizer does copy propagation only on basic types,
not on structs. It needs to do it on structs, too.

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