------- Comment #2 from jamborm at gcc dot gnu dot org 2010-04-13 11:31 ------- (In reply to comment #1) > Confirmed. > > I think the testcase is broken. We now force always-inline functions to > be inlined during early inlining (which you can't turn off completely > now, similar to IPA inlining before the patch). So we hit > > /* IPA-SRA removes the arguments as dead, so we don't see their values, early > inlining inlines the functions too early to test the real IPA passes (such > as IPA-CP). */ > > The testcase misses a return 0. I don't know the guality too much, where > do the execute XPASSes / FAILs come from?
As far as I remember, IPA-CP does not store the known constant values of removed parameters in the debug info. > > If I remove the always-inline attributes the tests all PASS / XFAIL. Given the new semantics of the attribute, this is probably the right thing to do. > > If I remove the { "-fwhopr" } from the dg-xfail line all works as well. > I recall that the WHOPR XPASS was also a bit of a mystery to me but I do not remember whether I found out why it took place. Anyway, I believe that if you make it XFAIL, it is OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43735