Hi Harald,
Regtested on x86_64-pc-linux-gnu. OK for mainline?
Looks good to me. Thanks for the patch!
Best regards
Thomas
Am 09.02.22 um 22:11 schrieb Harald Anlauf via Gcc-patches:
Dear all,
as we did not properly check the initialization of pointers in
DATA statements for valid initial data targets, we could either
ICE or generate wrong code. Testcase based on Gerhard's, BTW.
The attached patch adds a check in
Dear all,
as we did not properly check the initialization of pointers in
DATA statements for valid initial data targets, we could either
ICE or generate wrong code. Testcase based on Gerhard's, BTW.
The attached patch adds a check in gfc_assign_data_value by
calling gfc_check_pointer_assign, as