]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/48760 (std::complex constructor buggy in the face of NaN's)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 28 Apr 2011 10:52:17 +0000 (10:52 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 28 Apr 2011 10:52:17 +0000 (10:52 +0000)
commit9f1163b171df2a6f9faec0af92c7e651bf69db72
tree7a986812cd4af8a3ab9e5994607328938b23d352
parent6ecde111c12993f6aace9f151b30e1d9dbcfd8be
re PR libstdc++/48760 (std::complex constructor buggy in the face of NaN's)

2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/48760
* include/std/complex (complex<float>::complex(float, float),
complex<double>::complex(double, double),
complex<long double>::complex(long double, long double)): Use
list-initialization in C++0x mode, initialize in the body in
C++03 mode.
* testsuite/26_numerics/complex/cons/48760.cc: New.
* testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.

2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/bitset (_Base_bitset(unsigned long long)): Minor
tweak, remove redundant round braces.

From-SVN: r173065
12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/losertree.h
libstdc++-v3/include/parallel/multiway_merge.h
libstdc++-v3/include/parallel/multiway_mergesort.h
libstdc++-v3/include/parallel/par_loop.h
libstdc++-v3/include/parallel/partial_sum.h
libstdc++-v3/include/parallel/quicksort.h
libstdc++-v3/include/parallel/random_shuffle.h
libstdc++-v3/include/std/bitset
libstdc++-v3/include/std/complex
libstdc++-v3/testsuite/26_numerics/complex/cons/48760.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/complex/cons/48760_c++0x.cc [new file with mode: 0644]