diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2013-09-27 15:35:44 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2013-09-27 15:35:44 (GMT) |
commit | cd90900d88d2baaf4ef3b4ad6aa30af64a4581cd (patch) | |
tree | f2ce465f1da740f4b6cb9a5711d051b49473ad6a /config | |
parent | b3b29e4485dbdf4eef82f71da8f5b6a5e2509b8e (diff) | |
download | hdf5-cd90900d88d2baaf4ef3b4ad6aa30af64a4581cd.zip hdf5-cd90900d88d2baaf4ef3b4ad6aa30af64a4581cd.tar.gz hdf5-cd90900d88d2baaf4ef3b4ad6aa30af64a4581cd.tar.bz2 |
[svn-r24209] Port r24171 from trunk to 1.8 branch.
Tested: jam, koala, ostrich, platypus (h5committest)
Log from r24171:
Purpose: Fix problem with gcc 4.8
Description:
With optimization enabled, gcc 4.8 inserts garbage into the padding bytes of
floating point types when assigning from a literal constant. This caused
problems when H5detect.c scanned the bits in floating point types to determine
their properties.
Modified H5detect.c to scan for padding before further analyzing the type, and
to ignore all information in the padding areas. Also removed code that
temporarily disabled optimization.
Tested: jam, koala, ostrich, platypus (h5committest)
Diffstat (limited to 'config')
-rw-r--r-- | config/gnu-flags | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index 57fc23a..b965bf0 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -156,11 +156,6 @@ case "$cc_vendor-$cc_version" in gcc-3.*) PROD_CFLAGS="-O3" ;; - gcc-4.8.*) - # temp patch: when GCC 4.8.x is used for Linux, dt_arith fails if -O* - # is used. Remove any -O* flags. (AKC HDFFV-8500) - PROD_CFLAGS="`echo $PROD_CFLAGS | sed -e 's/-O[0-3]*//'`" - ;; gcc-4.*) PROD_CFLAGS="-O3" ;; |