diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-13 23:06:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-13 23:06:45 (GMT) |
commit | 9c1fa1d37cd301d6f7c43624d7ce88010d759402 (patch) | |
tree | 1dcd8d9c26d8eb4dee1f7566ee5f7387c2cb346a /src/H5detect.c | |
parent | 23aa825f5ef39cec98434140551406c788fea9bc (diff) | |
download | hdf5-9c1fa1d37cd301d6f7c43624d7ce88010d759402.zip hdf5-9c1fa1d37cd301d6f7c43624d7ce88010d759402.tar.gz hdf5-9c1fa1d37cd301d6f7c43624d7ce88010d759402.tar.bz2 |
[svn-r18800] Description:
Added note about use of volatile for variables.
Added blurb to release notes about fixing strict-aliasing problems.
Tested on:
None - trivial change to comment.
Diffstat (limited to 'src/H5detect.c')
-rw-r--r-- | src/H5detect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index 4490fb5..1eaaac0 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -279,6 +279,9 @@ precision (detected_t *d) * absence of implicit mantissa bit, and exponent bias and * initializes a detected_t structure with those properties. * + * Note: 'volatile' is used for the variables below to prevent the + * compiler from optimizing them away. + * * Return: void * * Programmer: Robb Matzke |