Committed as rev. 269341 on trunk.
On 03/02/19 16:17, Thomas Koenig wrote:
> Hi Harald,
>
>> Adding -Wsurprising as option to gfortran exercised a code path
>> that I hadn't seen when working on simplifications for the TRANSFER
>> intrinsic. While regtesting, I realized that one of the checks was
>> too strict when the MOLD argument was scalar and of size 0 and should
>> only apply to array arguments. I adjusted the corresponding testcase.
>>
>> Regtested on x86_64-pc-linux-gnu.
>>
>> OK for trunk?
>
> OK.
>
> Thanks for the patch!
>
> Regards
>
> Thomas
>