https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018

--- Comment #3 from anlauf at gcc dot gnu.org ---
You are not using HDF5's "native" Fortran interface directly, but a
clumsy way with c_f_pointer to obscure your code.  Any reason for that?

Have you considered using RESHAPE for what you seem to try to get?

Your code will run into issues if the dummy "array" is not contiguous.

Also, I'd consider not checking a library's return code bad style.

Also, can you give details on the exact compiler version and HDF5?

Reply via email to