diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-09-04 22:09:23 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-09-04 22:09:23 (GMT) |
commit | a1fe10691cf7ce1737aa420191efb996f7fe5657 (patch) | |
tree | 62bb58f53679b72a0ddbd88bb2b6f63527f9ade3 /config/gnu-flags | |
parent | bf1c137c0c7ff571f1a40e7ae8e28617de70c95c (diff) | |
download | hdf5-a1fe10691cf7ce1737aa420191efb996f7fe5657.zip hdf5-a1fe10691cf7ce1737aa420191efb996f7fe5657.tar.gz hdf5-a1fe10691cf7ce1737aa420191efb996f7fe5657.tar.bz2 |
[svn-r24098] Issue 8500 - H5detect.c has trouble to find info for long double with GCC 4.8. A user in the forum found the
problem in H5detect.c (uninitialized buffer) and provided the solution. I checked it in yesterday. But it
turned out to be a false fix. So I'm back it out.
Tested on jam - reverse of changes.
Diffstat (limited to 'config/gnu-flags')
-rw-r--r-- | config/gnu-flags | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index a79cc72..eef38ad 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -156,6 +156,11 @@ 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" ;; |