Am 20.12.24 um 00:46 schrieb Jerry D:
On 12/19/24 1:34 PM, Harald Anlauf wrote:
Dear all,

the check for potential aliasing of lhs and rhs currently shortcuts
if the types differ.  This is a problem if one is of type complex
and the other is of type real (and of the same kind parameter value),
as this ignores that F2008 inquiry references (%RE, %IM) could be
involved.  The attached patch just addresses this shortcut.

This may not be a complete solution, see discussion in the PR,
but is a lightweight solution (for the time being).

Regtested on x86_64-pc-linux-gnu.  OK for mainline?

Thanks,
Harald

I agree with Steve, OK. The inquiry references can be dealt with later.

Steve, Jerry,

I've slightly extended the testcase to ensure that PR113928 is
covered, and pushed as r15-6395.

Thanks for the review!

Harald

Regards,

Jerry


Reply via email to