[Bug middle-end/89243] [8 Regression] ICE in new test case g++.dg/opt/pr89188.C from r268647

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 9 08:52:00 GMT 2019


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Feb  9 08:51:41 2019
New Revision: 268717

URL: https://gcc.gnu.org/viewcvs?rev=268717&root=gcc&view=rev
Log:
        PR middle-end/89243
        * g++.dg/opt/pr89188.C: Include ../torture/pr88861.C.

        Backported from mainline
        2019-01-16  David Malcolm  <dmalcolm@redhat.com>

        PR target/88861
        * combine.c (delete_noop_moves): Convert to "bool" return,
        returning true if any edges are eliminated.
        (combine_instructions): Also return true if delete_noop_moves
        returns true.

        * g++.dg/torture/pr88861.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr88861.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/combine.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/g++.dg/opt/pr89188.C


More information about the Gcc-bugs mailing list