Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13 Thread Martin Liška
1 From: marxin Date: Mon, 11 Sep 2017 13:34:41 +0200 Subject: [PATCH] Fix emission of exception dispatch (PR middle-end/82154). gcc/ChangeLog: 2017-09-11 Martin Liska PR middle-end/82154 * stmt.c (expand_sjlj_dispatch_table): Use CASE_LOW when CASE_HIGH is NULL_TREE

Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13 Thread Jeff Law
;> I tent to change IL representation, where CASE_HIGH is always non-null. >>>> >>>> $ git grep 'CASE_HIGH\>' | wc -l >>>> 125 >>>> >>>> Which is reasonable amount of code that should be changed. I'll prepare >>

Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13 Thread Martin Liška
a0df9ccb3be40277 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 11 Sep 2017 13:34:41 +0200 Subject: [PATCH] Fix emission of exception dispatch (PR middle-end/82154). gcc/ChangeLog: 2017-09-11 Martin Liska PR middle-end/82154 * stmt.c (expand_sjlj_dispatch_table): Use CASE_LOW when CA

Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13 Thread Jeff Law
On 09/13/2017 07:42 AM, Martin Liška wrote: > On 09/13/2017 03:08 PM, Martin Liška wrote: >> On 09/12/2017 05:21 PM, Jeff Law wrote: >>> On 09/12/2017 01:43 AM, Martin Liška wrote: Hello. In transition to simple_case_node, I forgot to initialize m_high to m_low if a case d

Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13 Thread Martin Liška
On 09/13/2017 03:08 PM, Martin Liška wrote: > On 09/12/2017 05:21 PM, Jeff Law wrote: >> On 09/12/2017 01:43 AM, Martin Liška wrote: >>> Hello. >>> >>> In transition to simple_case_node, I forgot to initialize m_high to m_low >>> if a case >>> does not have CASE_HIGH. >>> >>> Patch can bootstrap o

Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-13 Thread Martin Liška
On 09/12/2017 05:21 PM, Jeff Law wrote: > On 09/12/2017 01:43 AM, Martin Liška wrote: >> Hello. >> >> In transition to simple_case_node, I forgot to initialize m_high to m_low if >> a case >> does not have CASE_HIGH. >> >> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.

Re: [PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-12 Thread Jeff Law
On 09/12/2017 01:43 AM, Martin Liška wrote: > Hello. > > In transition to simple_case_node, I forgot to initialize m_high to m_low if > a case > does not have CASE_HIGH. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be installed? > Martin > > gcc/C

[PATCH] Fix emission of exception dispatch (PR middle-end/82154).

2017-09-12 Thread Martin Liška
Hello. In transition to simple_case_node, I forgot to initialize m_high to m_low if a case does not have CASE_HIGH. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin gcc/ChangeLog: 2017-09-11 Martin Liska PR middle-end/82154