[Bug rtl-optimization/89234] [7/8 Regression] ICE in get_eh_region_and_lp_from_rtx at gcc/except.c:1824
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 9 08:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89234
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Feb 9 08:50:05 2019
New Revision: 268716
URL: https://gcc.gnu.org/viewcvs?rev=268716&root=gcc&view=rev
Log:
Backported from mainline
2019-02-08 Jakub Jelinek <jakub@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-8-branch/gcc/testsuite/g++.dg/ubsan/pr89234.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/except.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list