[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 12:08:00 GMT 2018


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.selvaraj@microchip.com>

        Backport from trunk
        2018-12-17  Senthil Kumar Selvaraj 
<senthilkumar.selvaraj@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.selvaraj@microchip.com>

        Backport from trunk
        2018-12-17  Senthil Kumar Selvaraj 
<senthilkumar.selvaraj@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


More information about the Gcc-bugs mailing list