[Bug fortran/96018] Optimization issue with external HDF5 library

2020-07-06 Thread martin.schlipf at damnthespam dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018 martin.schlipf at damnthespam dot com changed: What|Removed |Added Attachment #48817|0 |1

[Bug fortran/96018] Optimization issue with external HDF5 library

2020-07-02 Thread martin.schlipf at damnthespam dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018 --- Comment #6 from martin.schlipf at damnthespam dot com --- Sorry, if that has not been clear enough. I already know how to work around this issue. You can simply check the error flag [if (ierr /= 0) return]. What I do not understand is why

[Bug fortran/96018] Optimization issue with external HDF5 library

2020-07-01 Thread martin.schlipf at damnthespam dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018 --- Comment #4 from martin.schlipf at damnthespam dot com --- Hdf5 doesn't have native support for complex datatypes, so we convert to real and write that it is a complex as an attribute. If you replace the conversion logic by an array instead

[Bug fortran/96018] Optimization issue with external HDF5 library

2020-07-01 Thread martin.schlipf at damnthespam dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018 --- Comment #2 from martin.schlipf at damnthespam dot com --- Well hdf5 is not developed by me, its a huge library. You can install it manually if you want (https://www.hdfgroup.org/solutions/hdf5/), but it is available on Ubuntu as mentioned

[Bug fortran/96018] New: Optimization issue with external HDF5 library

2020-07-01 Thread martin.schlipf at damnthespam dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: martin.schlipf at damnthespam dot com Target Milestone: --- Created attachment 48817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48817=edit Minimal example to demonstrate the issue. On a clean Ubuntu 20