On 15 January 2014 21:55, Jakub Jelinek <ja...@redhat.com> wrote: ... > The patch removes the likely_spilled_retval stuff Joern wrote a few years > ago because I believe this change should obsolete that. But, have tried to > reproduce the ICE using sh-elf target and haven't managed to do so, 4.9 is > quite a different compiler from 2005-ish gcc.
You wouldn't see an ICE, but wrong-code. That being said, it sounds like your case 2) should handle this.