diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-04-20 05:03:41 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-04-20 05:03:41 (GMT) |
commit | d380fe5398b60894a81c73b4ef9ccc5fcadafbc2 (patch) | |
tree | cd26a9edf90e4d5558d809ebfe235ef28ee5288b /aclocal.m4 | |
parent | 3489809ca55b4ec1055e3a9d955d4676f8b6c6c1 (diff) | |
download | hdf5-d380fe5398b60894a81c73b4ef9ccc5fcadafbc2.zip hdf5-d380fe5398b60894a81c73b4ef9ccc5fcadafbc2.tar.gz hdf5-d380fe5398b60894a81c73b4ef9ccc5fcadafbc2.tar.bz2 |
[svn-r16790] Bug Fix (Bug 1398):
For gcc v4.3 and v4.4, with production mode,
if -O3 is used, H5Tinit.c would fail to compile. Actually bad H5Tinit.c is
produced.
If -O (same as -O1) is used, H5Tinit.c compiled okay but test/dt_arith
would fail with:
Testing hard normalized long double -> signed char conversions time: comm
and terminated abnormally
When -O0 (no optimizatio) is used, H5Tinit.c compilete okay and all tests
passed.
Solution:
Changed the config/gnu-flags to use -O0 for gcc v4.3 and 4.4 for production
flags for now so that build and tests would work. Still need to investigate
if the error is due to Gcc optimization bug or our code errors.
Tested:
In liberty with gcc43 and gcc44. Also, tested in jam and smirom with
older versions of gcc.
There are no gcc 43 or 44 compilers installed in other THG machines that
I know.
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions