Re: [PATCH] generate EH info for volatile asm statements (PR inline-asm/93981)

2020-03-06 Thread J.W. Jagersma
On 2020-03-06 09:55, Richard Biener wrote: On Thu, Mar 5, 2020 at 5:49 PM J.W. Jagersma wrote: diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index 2a409dcaffe..8314db00922 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -2077,6 +2077,9 @@ lower_eh_constructs_2 (struct leh_state *state, gimple_s

Re: [PATCH] generate EH info for volatile asm statements (PR inline-asm/93981)

2020-03-06 Thread Richard Biener
On Thu, Mar 5, 2020 at 5:49 PM J.W. Jagersma wrote: > > The following patch extends the generation of exception handling > information to cover volatile asms too. This was already mostly > implemented, and only very minor changes are required in order to make > it work. > > The change in rewrite_

[PATCH] generate EH info for volatile asm statements (PR inline-asm/93981)

2020-03-05 Thread J.W. Jagersma
The following patch extends the generation of exception handling information to cover volatile asms too. This was already mostly implemented, and only very minor changes are required in order to make it work. The change in rewrite_stmt is necessary because it inserts debug statements after the as