[Bug rtl-optimization/88870] [7 Regression] ICE: Segmentation fault (in df_worklist_propagate_backward)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 11:28:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88870
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:27:33 2019
New Revision: 275087
URL: https://gcc.gnu.org/viewcvs?rev=275087&root=gcc&view=rev
Log:
Backported from mainline
2019-01-17 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/88870
* dce.c (deletable_insn_p): Never delete const/pure calls that can
throw if we can't alter the cfg or delete dead exceptions.
(mark_insn): Don't call find_call_stack_args for such calls.
* gcc.dg/pr88870.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr88870.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/dce.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list