summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release_docs/RELEASE.txt3
-rw-r--r--src/H5detect.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 5535ad1..e672e5b 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -118,6 +118,9 @@ Bug Fixes since HDF5-1.8.4
Configuration
-------------
+ - Fixed various "strict aliasing" problems, allowing higher levels
+ of compiler optimization (in particular, allowing '-O3' to work
+ with recent versions of GCC). QAK - 2010/04/26
- Fixed a bug where fractal heap IDs for attributes and shared object
header messages could be incorrectly encoded in the file for files
created on big-endian platforms. Please see: <put URL here> if you
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