https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028
Surya Kumari Jangala <jskumari at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|aarch64-*-* |aarch64-*-* powerpc*-*-* --- Comment #3 from Surya Kumari Jangala <jskumari at gcc dot gnu.org> --- On Power, the test gcc.dg/pr10474.c has been marked as an XFAIL. I analyzed the testcase on power and the reason the shrink wrapping doesn't happen is the same as described in comment 2. The parameter register is saved in a volatile register which is saved on stack in the entry bb. Instead, if the volatile register is saved just before the call, then shrink wrapping will happen.