Opened 9 years ago

Closed 9 years ago

#8734 closed Bugs (fixed)

Identical dummy functions fall victim to COMDAT folding

Reported by: Mike Liang <mtliang@…> Owned by: Peter Dimov
Milestone: To Be Determined Component: bind
Version: Boost Development Trunk Severity: Regression
Keywords: Cc:

Description

status/explicit-failures-markup.xml notes that bind/mem_fn_eq_test fails on MSVC with /OPT:ICF due to COMDAT folding.

Changing the functions slightly to produce different code solves the problem.

Attachments (1)

mem_fn_eq_test.cpp.patch (5.9 KB ) - added by Mike Liang <mtliang@…> 9 years ago.
uniquify dummy functions

Download all attachments as: .zip

Change History (2)

by Mike Liang <mtliang@…>, 9 years ago

Attachment: mem_fn_eq_test.cpp.patch added

uniquify dummy functions

comment:1 by Peter Dimov, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.