------- Comment #2 from rguenth at gcc dot gnu dot org  2009-09-04 11:23 -------
We remove the alias target during applying the inline transform.  And we fail
to remove unreachable alias pairs there.

We usually do that from cgraph_remove_unreachable_nodes.

Once again this shows that these on-the-side things do not play well with
the cgraph.  Why can't we move all the alias-pair stuff to first class
cgraph nodes instead?  Likewise I'd represent asm-thunks in the cgraph and
only "expand" them during expansion when we know they are really necessary.

Anyway - I'm trying to fix this bug by removing unreachable alias pairs which
is hopefully possibly in an IPA way - this queued IPA transforms in cfun
looks a bit fishy.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org


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

Reply via email to