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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24602|0                           |1
        is obsolete|                            |

--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-13 
10:09:17 UTC ---
Created attachment 25261
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25261
Proposed fix

Hi,
there seems to be 3 bugs cooperating on this problem.
1) we sometimes forget to output alias in comdat group since assemble_alias
gets into wrong code path when called from cgraphunit
2) I made pasto while walking aliases testing always the master node instead of
alias
3) test checking aliases looks only for unremovable function that are called,
instead for functions that are either unremovable or called.

Honza

Reply via email to