[Issue 9623] Illegal Win64 linker optimization?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 5 21:52:11 PST 2013


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



--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2013-03-05 21:52:05 PST ---
(In reply to comment #2)
> Related C++ article "Can Two Functions Have the Same Address?"
> http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=561

This quote pretty much sells me:

--
Additionally, Google's compiler team have experimented with Identical Code
Folding (ICF) and reported that "[d]etailed experiments on the x86 platform
show that ICF can reduce the text size [the program section in which functions'
code is stored, DK] of some Google binaries, whose average text size is 50 MB,
by up to 7%."
--

We should settle the issue by updating the D spec to explicitly allow functions
to have the same address.

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