https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88253
--- Comment #7 from Senthil Kumar Selvaraj <saaadhu at gcc dot gnu.org> --- Author: saaadhu Date: Mon Dec 17 13:26:50 2018 New Revision: 267201 URL: https://gcc.gnu.org/viewcvs?rev=267201&root=gcc&view=rev Log: 2018-12-17 Senthil Kumar Selvaraj <senthilkumar.selva...@microchip.com> Backport from trunk 2018-12-17 Senthil Kumar Selvaraj <senthilkumar.selva...@microchip.com> PR rtl-optimization/88253 * combine.c (combine_simplify_rtx): Test for side-effects before substituting by zero. 2018-12-17 Senthil Kumar Selvaraj <senthilkumar.selva...@microchip.com> Backport from trunk 2018-12-17 Senthil Kumar Selvaraj <senthilkumar.selva...@microchip.com> PR rtl-optimization/88253 * gcc.target/avr/pr88253.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/avr/pr88253.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/combine.c branches/gcc-7-branch/gcc/testsuite/ChangeLog