summaryrefslogtreecommitdiffstats
path: root/src/H5FDonion_index.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-08 19:04:01 (GMT)
committerGitHub <noreply@github.com>2022-08-08 19:04:01 (GMT)
commit5d63aca604713973ef6079deb0da247efa0e077a (patch)
tree636c395c3631c2c1b235d1932ac71f801b606489 /src/H5FDonion_index.c
parent57926d549ef75c532badc7ad3318170f7130295b (diff)
downloadhdf5-5d63aca604713973ef6079deb0da247efa0e077a.zip
hdf5-5d63aca604713973ef6079deb0da247efa0e077a.tar.gz
hdf5-5d63aca604713973ef6079deb0da247efa0e077a.tar.bz2
Turns off clang optimizations on a couple of onion VFD functions (#1976)
Ancient clang (7.7.3 on OS X) emits problematic code with -O2 or -O3
Diffstat (limited to 'src/H5FDonion_index.c')
-rw-r--r--src/H5FDonion_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDonion_index.c b/src/H5FDonion_index.c
index 90eaf0e..9dbdde7 100644
--- a/src/H5FDonion_index.c
+++ b/src/H5FDonion_index.c
@@ -583,7 +583,7 @@ H5FD__onion_revision_index_find(const H5FD_onion_revision_index_t *rix, uint64_t
* Failure: 0
*-----------------------------------------------------------------------------
*/
-size_t
+size_t H5_ATTR_NO_OPTIMIZE
H5FD__onion_revision_record_decode(unsigned char *buf, H5FD_onion_revision_record_t *record)
{
uint32_t ui32 = 0;