|
From: Christian B. <bor...@de...> - 2011-09-05 21:34:02
|
> I can't see any alternative to adding more expect files. If the > differences in stack traces were in hg_intercepts.c then we might > be able to throw in some __attribute__((noinline)) directives, to > make the stack traces more consistent. But the differences are in > libpthread itself, so that doesn't help. Ok, I will add more exp files. > <somewhat obvious observation> > If gcc is doing partial inlining now (which version, btw?) then > this is going to be a general problem, not just an s390-specific > one. > </somewhat obvious observation> It was probably the wrong name - creating special purpose versions of a function might a better description. see http://gcc.gnu.org/gcc-4.5/changes.html: [...] The function attribute noinline no longer prevents GCC from cloning the function. A new attribute noclone has been introduced for this purpose. Cloning a function means that it is duplicated and the new copy is specialized for certain contexts (for example when a parameter is a known constant). [...] Maybe I can massage the test suite to filter out any \.clone\.[0-9]+ patterns. Christian |