https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88253
--- Comment #6 from Senthil Kumar Selvaraj <saaadhu at gcc dot gnu.org> --- Author: saaadhu Date: Mon Dec 17 12:07:26 2018 New Revision: 267199 URL: https://gcc.gnu.org/viewcvs?rev=267199&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-8-branch/gcc/testsuite/gcc.target/avr/pr88253.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/combine.c branches/gcc-8-branch/gcc/testsuite/ChangeLog