On 2015.01.16 at 12:03 +0100, Richard Biener wrote: > On Fri, Jan 16, 2015 at 9:34 AM, Markus Trippelsdorf > <mar...@trippelsdorf.de> wrote: > > On 2015.01.16 at 00:15 +0100, Jan Hubicka wrote: > >> Hi, > >> can_remove_node_now_p assumes that the node in question has no direct > >> calls, this > >> however is not checked in inline_call that leads to alias to be removed > >> from > >> comdat group while it should not. > >> > >> Bootstrapped/regtested x86_64-linux, comitted. > > > > Here's a testcase for this issue. OK for trunk? > > Ok.
Thanks, committed. I dropped the -fPIC flag, because it isn't necessary. -- Markus