[Bug rtl-optimization/89679] [7/8 Regression] wrong code with -Og -frerun-cse-after-loop -fno-tree-fre

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 30 20:45:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89679

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 30 20:44:48 2019
New Revision: 270730

URL: https://gcc.gnu.org/viewcvs?rev=270730&root=gcc&view=rev
Log:
        Backported from mainline
        2019-03-14  Jakub Jelinek  <jakub@redhat.com>

        PR rtl-optimization/89679
        * expmed.c (expand_mult_const): Don't add a REG_EQUAL note if it
        would contain a paradoxical SUBREG.

        * gcc.dg/pr89679.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr89679.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/expmed.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list