http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |hubicka at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-01-07 
17:30:24 UTC ---
Well, on second thought, we already have logic for -Os and cold calls that
COMDAT functions are unlikely to be shared across compilation units. There is
nothing that prevents us from enabling this also for -O2.  Additionally Maxim's
code has thinko in it disabling itself for indirect calls in many cases.

Obviously this will still break when process_fun_at will be called more than
one in the unit. But that is for 4.8.

I am testing patch.

Reply via email to