Fix emission of exception dispatch (PR middle-end/82154).
authorMartin Liska <mliska@suse.cz>
Wed, 13 Sep 2017 19:12:08 +0000 (21:12 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 13 Sep 2017 19:12:08 +0000 (19:12 +0000)
commitc7885b85242a8780985243946d3673a11d4e9355
treecac09f66bd76a4b7e8f232fa83bbfe8b4dd9079a
parent97e63e1272bf265d412d89ab8f8249e8d3a9f8b2
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.

From-SVN: r252728
gcc/ChangeLog
gcc/stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr82154.C [new file with mode: 0644]