Hi Jerry,

Am 16.06.25 um 00:13 schrieb Jerry D:
On 6/15/25 1:22 PM, Harald Anlauf wrote:
Am 15.06.25 um 21:25 schrieb Harald Anlauf:
Dear all,

the attached patch fixes a rejects-valid: in an ALLOCATE statement with
MOLD= present, if the allocate-object has an explicit-shape-spec, the
compatibility of ranks is not required by the standard.  (It is
explicitly required only for SOURCE=).

Oops, I attached the wrong patch.  Fixed now...

Since this could surprise users, we emit a warning if -Wsurprising is
specified (contained in -Wall).  This agrees with NAG's behavior.

Testcase cross-checked with ifx and NAG.

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

Thanks,
Harald

Yes, looks OK Harald. Thanks.

thanks for the review!

Pushed as r16-1528-g3b276fe0d22f90.

Harald


Jerry



Reply via email to