http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51998
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-01-31 13:56:41 UTC --- Created attachment 26534 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26534 Patch in testing Hi, I am testing the attached patch. It also plugs symmetric problem on varpool. The cycle testing code in varasm I was mentioning is used for weakrefs only. Porbably that checks could go, but I would preffer to wait for 4.8. There are too many changes in 4.7 concerning aliases already. Honza