Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes test failure for gfortran -O2 and -O3, -fdefault-real-16 #3662

Merged
merged 4 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions fortran/test/tH5P_F03.F90
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ SUBROUTINE test_create(total_error)
! Compound datatype test

f_ptr = C_LOC(fill_ctype)

CALL H5Pget_fill_value_f(dcpl, comp_type_id, f_ptr, error)
CALL check("H5Pget_fill_value_f",error, total_error)

Expand Down Expand Up @@ -184,6 +183,7 @@ SUBROUTINE test_create(total_error)
CALL VERIFY("***ERROR: Returned wrong fill value (real)", rfill, 2.0, total_error)

! For the actual compound type
f_ptr = C_LOC(fill_ctype)
CALL H5Pset_fill_value_f(dcpl, comp_type_id, f_ptr, error)
CALL check("H5Pget_fill_value_f",error, total_error)

Expand Down Expand Up @@ -254,7 +254,6 @@ SUBROUTINE test_create(total_error)
CALL check("H5Dget_create_plist_f", error, total_error)

f_ptr = C_LOC(rd_c)

CALL H5Pget_fill_value_f(dcpl, comp_type_id, f_ptr, error)
CALL check("H5Pget_fill_value_f", error, total_error)
CALL verify("***ERROR: Returned wrong fill value", rd_c%a, fill_ctype%a, total_error)
Expand Down
7 changes: 6 additions & 1 deletion release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,12 @@ Bug Fixes since HDF5-1.14.0 release
configuration information in the HDF5_VOL_CONNECTOR environment variable and
would incorrectly report that the specified VOL connector isn't registered
due to including the configuration information as part of the VOL connector
name being checked for registration status. This has now been fixed.
name being checked for registration status. This has now been fixed.

- Fixed Fortran 2003 test with gfortran-v13, optimization levels O2,O3

Fixes failing Fortran 2003 test with gfortran, optimization level O2,O3
with -fdefault-real-16. Fixes GH #2928.


Platforms Tested
Expand Down