Re: [PATCH 2/2] df-scan: remove ad-hoc handling of global regs in asms

2018-05-22 Thread Alexander Monakov
On Tue, 22 May 2018, Jeff Law wrote: > So OK for the trunk. If there's fallout in gcc-9, we'll obviously have > to deal with it. IMHO what happened here is not healthy. Thank you for the green light. Alexander

Re: [PATCH 2/2] df-scan: remove ad-hoc handling of global regs in asms

2018-05-22 Thread Jeff Law
On 05/16/2018 04:30 AM, Alexander Monakov wrote: > > > On Mon, 23 Apr 2018, Alexander Monakov wrote: > >> As discussed in the cover letter, the code removed in this patch is >> unnecessary, >> references to global reg vars from inline asms do not work reliably, and so >> we >> should simply re

Re: [PATCH 2/2] df-scan: remove ad-hoc handling of global regs in asms

2018-05-16 Thread Alexander Monakov
On Mon, 23 Apr 2018, Alexander Monakov wrote: > As discussed in the cover letter, the code removed in this patch is > unnecessary, > references to global reg vars from inline asms do not work reliably, and so we > should simply require that inline asms use constraints to make such references >

[PATCH 2/2] df-scan: remove ad-hoc handling of global regs in asms

2018-04-23 Thread Alexander Monakov
As discussed in the cover letter, the code removed in this patch is unnecessary, references to global reg vars from inline asms do not work reliably, and so we should simply require that inline asms use constraints to make such references properly visible to the compiler. Bootstrapped/regtested on