> The attached patch fixes the regression in gcc.dg/attr-ifunc-4.c (PR 58398). > > The problem is that the resolver function just looks like an alias, but it > actually is > something completely different. So inlining the resolver function has to be > avoided. > > The patch was bootstrapped and regression-tested without any problems > on x86_64-unknown-linux-gnu. > > OK for trunk? > > Regards, > Bernd Edlinger
> 2013-09-17 Bernd Edlinger <bernd.edlin...@hotmail.de> > > PR ipa/58398 > * cgraph.c (cgraph_function_body_availability): Check for ifunc > attribute, and don't inline the resolver in this case. OK, thanks! Honza >