https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66838
--- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Fri Jul 17 13:50:38 2015 New Revision: 225935 URL: https://gcc.gnu.org/viewcvs?rev=225935&root=gcc&view=rev Log: Backport from mainline: 2015-07-15 Uros Bizjak <ubiz...@gmail.com> PR rtl-optimization/66838 * postreload.c (reload_cse_move2add): Also process CALL_INSN_FUNCTION_USAGE when resetting information of call-clobbered registers. testsuite/ChangeLog: Backport from mainline: 2015-07-15 Uros Bizjak <ubiz...@gmail.com> PR rtl-optimization/66838 * gcc.target/i386/pr66838.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr66838.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/postreload.c branches/gcc-5-branch/gcc/testsuite/ChangeLog