Fix emission of exception dispatch (PR middle-end/82154).
commit8e1a2cd6447dda2446d7786ccf5b71ceae2d12c9
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Sep 2017 19:12:08 +0000 (13 19:12 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Sep 2017 19:12:08 +0000 (13 19:12 +0000)
treecac09f66bd76a4b7e8f232fa83bbfe8b4dd9079a
parent9925fd1cda6d9756ac2817ecd0aacb5539ee3054
Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13  Martin Liska  <mliska@suse.cz>

PR middle-end/82154
* stmt.c (expand_sjlj_dispatch_table): Use CASE_LOW when
CASE_HIGH is NULL_TREE.
2017-09-13  Martin Liska  <mliska@suse.cz>

PR middle-end/82154
* g++.dg/torture/pr82154.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252728 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr82154.C [new file with mode: 0644]