> On Jun 7, 2018, at 11:37 AM, Eric Botcazou <ebotca...@adacore.com> wrote:
> 
>> Here is a corrected version.  Ok with this change?
>> 
>>      paul
>> 
>> gcc/ChangeLog:
>> 
>> 2018-06-06  Paul Koning  <n...@arrl.net>
>> 
>>      * compare-elim.c (try_merge_compare): Don't merge compare if
>>      address contains a side effect.
>>      (try_eliminate_compare): Likewise.
>>      * gcc.c-torture/compile/20180605-1.c: New test case.
> 
> OK for mainline, thanks.

Thanks.  I just realized that the testsuite has its own ChangeLog.  
So committed with the change message split between those two.

        paul


gcc/ChangeLog:

2018-06-07  Paul Koning  <n...@arrl.net>

        * compare-elim.c (try_merge_compare): Don't merge compare if
        address contains a side effect.
        (try_eliminate_compare): Likewise.

gcc/testsuite/ChangeLog:

2018-06-07  Paul Koning  <n...@arrl.net>

        * gcc.c-torture/compile/20180605-1.c: New test.

Reply via email to