[PATCH] Don't combine across likely spilled hard reg setters (PR rtl-optimization/59477)
Thu Jan 16 03:42:00 GMT 2014
On 15 January 2014 21:55, Jakub Jelinek <firstname.lastname@example.org> 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.
More information about the Gcc-patches