[Bug rtl-optimization/88253] Inlining of function incorrectly deletes volatile register access when using XOR in avr-gcc
saaadhu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 17 10:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88253
--- Comment #5 from Senthil Kumar Selvaraj <saaadhu at gcc dot gnu.org> ---
Author: saaadhu
Date: Mon Dec 17 10:50:54 2018
New Revision: 267198
URL: https://gcc.gnu.org/viewcvs?rev=267198&root=gcc&view=rev
Log:
Fix PR 88253
gcc/ChangeLog:
PR rtl-optimization/88253
* combine.c (combine_simplify_rtx): Test for side-effects before
substituting by zero.
gcc/testsuite/ChangeLog:
PR rtl-optimization/88253
* gcc.target/avr/pr88253.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/avr/pr88253.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list