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

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 30 21:03:56 2019
New Revision: 270750

URL: https://gcc.gnu.org/viewcvs?rev=270750&root=gcc&view=rev
Log:
        Backported from mainline
        2019-04-12  Jakub Jelinek  <ja...@redhat.com>

        PR rtl-optimization/89965
        * dce.c: Include rtl-iter.h.
        (struct check_argument_load_data): New type.
        (check_argument_load): New function.
        (find_call_stack_args): Check for loads from stack slots still tracked
        in sp_bytes and punt if any is found.

        * gcc.target/i386/pr89965.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr89965.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/dce.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to