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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:46:29 2019
New Revision: 275105

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

        PR rtl-optimization/89234
        * except.c (copy_reg_eh_region_note_forward): Return if note_or_insn
        is a NOTE, CODE_LABEL etc. - rtx_insn * other than INSN_P.
        (copy_reg_eh_region_note_backward): Likewise.

        * g++.dg/ubsan/pr89234.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/ubsan/pr89234.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/except.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to