Description
Fixes failures in a bunch of unit tests when compiling with gcc and runtime checks enabled.
The majority of these fixes are related to derived type assignments. There seems to be a compiler bug that breaks assignments with certain derived types (in this case its diagYamlFiles_type and diagYamlObject_type), so the workaround is to just point to the objects instead of doing a full copy.
How Has This Been Tested?
Tested on amd box with gcc 13 + -g -O0 -fbacktrace -fcheck=all
and also with oneapi
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
Description Fixes failures in a bunch of unit tests when compiling with gcc and runtime checks enabled.
The majority of these fixes are related to derived type assignments. There seems to be a compiler bug that breaks assignments with certain derived types (in this case its diagYamlFiles_type and diagYamlObject_type), so the workaround is to just point to the objects instead of doing a full copy.
How Has This Been Tested? Tested on amd box with gcc 13 +
-g -O0 -fbacktrace -fcheck=all
and also with oneapiChecklist:
make distcheck
passes