On 03/06/2018 01:03 AM, Uros Bizjak wrote:
> On Mon, Mar 5, 2018 at 9:42 PM, Jakub Jelinek <ja...@redhat.com> wrote:
>> Hi!
>>
>> If we discover some bad inline-asm during reg-stack processing and we
>> error on those, we replace that inline-asm with a (use (const_int 0))
>> and therefore the various assumptions of reg-stack pass may not hold.
>> Seems we already have a couple of spots which are more permissive if
>> any_malformed_asm is true, this patch just adds another one.
>>
>> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>>
>> 2018-03-05  Jakub Jelinek  <ja...@redhat.com>
>>
>>         PR inline-asm/84683
>>         * reg-stack.c (move_for_stack_reg): If any_malformed_asm, avoid
>>         assertion failure.
>>
>>         * g++.dg/ext/pr84683.C: New test.
> 
> LGTM.
Likewise.
jeff

Reply via email to