OSDN Git Service

2010-11-23 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2010 23:47:44 +0000 (23:47 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2010 23:47:44 +0000 (23:47 +0000)
commitbcafd86c962fd9eea1aac63b9ea81daf109a7b33
treeb9e1c59ac246a73ee7d393b41db479a7f10ffdf6
parent1a56f180cdd7f425ecd50a84c7f22dee0531ed0b
2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/chrono: Constexpr markup for is_monotonic.
* src/chrono.cc: Same.
* testsuite/20_util/clocks/1.cc: Move...
* testsuite/20_util/system_clock/1.cc: ...here.
* testsuite/20_util/system_clock/constexpr_data.cc
* testsuite/20_util/monotonic_clock/constexpr_data.cc

* include/std/complex: Mark primary template constexpr.
* testsuite/26_numerics/complex/cons/constexpr_primary.cc: Add.
* testsuite/26_numerics/complex/complex_value.cc: Move...
* testsuite/26_numerics/complex/dr387.cc: Move...
* testsuite/26_numerics/complex/value_operations/1.cc: ... here.
* testsuite/26_numerics/complex/value_operations/dr387.cc: ...here.
* testsuite/26_numerics/complex/value_operations/constexpr.cc: New.

2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
    Jason Merrill  <jason@redhat.com>

* testsuite/lib/libstdc++.exp: Use scanasm.
* testsuite/util/testsuite_common_types.h
(constexpr_default_constructible): Add support for non-literal types.
(constexpr_single_value_constructible): Same.
* testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
Remove xfail.
* testsuite/20_util/shared_ptr/cons/constexpr.cc: Add.
* testsuite/20_util/unique_ptr/cons/constexpr.cc: Add.
* testsuite/20_util/weak_ptr/cons/constexpr.cc: Add.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.

2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
    Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/future (shared_future): Default ctor constexpr.
(future): Same.
* testsuite/30_threads/shared_future/cons/constexpr.cc: New.
* testsuite/30_threads/future/cons/constexpr.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167099 138bc75d-0d04-0410-961f-82ee72b054a4
20 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/chrono
libstdc++-v3/include/std/complex
libstdc++-v3/include/std/future
libstdc++-v3/src/chrono.cc
libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc
libstdc++-v3/testsuite/20_util/monotonic_clock/constexpr_data.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/system_clock/1.cc [moved from libstdc++-v3/testsuite/20_util/clocks/1.cc with 100% similarity]
libstdc++-v3/testsuite/20_util/system_clock/constexpr_data.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr_primary.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/complex/value_operations/1.cc [moved from libstdc++-v3/testsuite/26_numerics/complex/complex_value.cc with 100% similarity]
libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/complex/value_operations/dr387.cc [moved from libstdc++-v3/testsuite/26_numerics/complex/dr387.cc with 100% similarity]
libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/lib/libstdc++.exp
libstdc++-v3/testsuite/util/testsuite_common_types.h