]>
Commit | Line | Data |
---|---|---|
8dc1e574 JW |
1 | 2016-04-18 Jonathan Wakely <jwakely@redhat.com> |
2 | ||
6b6147dd JW |
3 | * include/bits/locale_facets.h (ctype::do_narrow): Add attribute to |
4 | unused parameter. | |
5 | * include/bits/regex_automaton.h (_NFA::_M_insert_alt): Likewise. | |
6 | ||
8dc1e574 JW |
7 | * include/ext/string_conversions.h (__stoa): Avoid -Wsign-compare |
8 | warnings. | |
9 | ||
80dbaf98 ESR |
10 | 2016-04-17 Edward Smith-Rowland <3dw4rd@verizon.net> |
11 | ||
12 | * include/bits/specfun.h: Trivial comment misspelling. | |
13 | ||
9f285ccb JM |
14 | 2016-04-14 Jason Merrill <jason@redhat.com> |
15 | ||
16 | Revert Jonathan's empty ABI change from yesterday. | |
17 | ||
342fac95 MS |
18 | 2016-04-13 Martin Sebor <msebor@redhat.com> |
19 | ||
20 | PR c++/69517 | |
21 | * testsuite/25_algorithms/rotate/moveable2.cc: Make sure VLA | |
22 | upper bound is positive. | |
23 | ||
a6297ab5 JW |
24 | 2016-04-13 Jonathan Wakely <jwakely@redhat.com> |
25 | ||
26 | * include/bits/c++config (_GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES, | |
27 | _GLIBCXX_END_NAMESPACE_EMPTY_TYPES, _GLIBCXX_ABI_TAG_EMPTY): Define. | |
28 | * include/bits/hashtable.h (_Hashtable::_M_emplace): Change signatures | |
29 | of functions taking empty structs by value. Add a template parameter | |
30 | to overloads without hints. Rename overloads with hints to | |
31 | _M_emplace_hint. | |
32 | (_Hashtable::_M_erase(true_type, const_iterator), | |
33 | _Hashtable::_M_erase(false_type, const_iterator)): Change signatures | |
34 | by reordering parameters. | |
35 | * include/bits/hashtable_policy.h (_Insert::insert): Adjust to call | |
36 | _M_emplace_hint instead of _M_emplace. | |
37 | * include/bits/shared_ptr.h (shared_ptr(_Tp1*, _Deleter, _Alloc), | |
38 | shared_ptr(nullptr_t, _Deleter, _Alloc)): Use _GLIBCXX_ABI_TAG_EMPTY. | |
39 | * include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count, | |
40 | __shared_ptr): Likewise. | |
41 | * include/bits/stl_algo.h (replace_if): Likewise. | |
42 | * include/bits/stl_pair.h (piecewise_construct_t, | |
43 | piecewise_construct): Use _GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES. | |
44 | * include/bits/uses_allocator.h (allocator_arg_t, allocator_arg, | |
45 | __uses_alloc0): Likewise. | |
46 | * include/ext/pb_ds/assoc_container.hpp (basic_hash_table): Likewise. | |
47 | * testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust dg-error. | |
48 | * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise. | |
49 | * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise. | |
50 | * testsuite/20_util/uses_allocator/69293_neg.cc: Likewise. | |
51 | * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise. | |
52 | * testsuite/ext/profile/mutex_extensions_neg.cc: Likewise. | |
53 | ||
0c39f36d ESR |
54 | 2016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net> |
55 | ||
56 | Document C++17/TR29124 C++ Special Math Functions. | |
57 | * include/bits/specfun.h: Add Doxygen markup. | |
58 | ||
6da8b931 JW |
59 | 2016-04-07 Jonathan Wakely <jwakely@redhat.com> |
60 | ||
61 | * testsuite/30_threads/thread/70503.cc: Adjust from xfail to pass. | |
62 | ||
49a52ebc EB |
63 | 2016-04-06 Eric Botcazou <ebotcazou@adacore.com> |
64 | ||
65 | * src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null. | |
66 | * src/Makefile.in: Regenerate. | |
67 | ||
87cec93e JW |
68 | 2016-04-05 Jonathan Wakely <jwakely@redhat.com> |
69 | ||
d2aee115 JW |
70 | PR libstdc++/70554 |
71 | * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test | |
72 | __atomic_fetch_add for bool. | |
73 | * configure: Regenerate. | |
74 | ||
d5ec69f3 JW |
75 | * testsuite/30_threads/thread/70503.cc: Require -static to work. |
76 | ||
87cec93e JW |
77 | PR libstdc++/70503 |
78 | * src/c++11/thread.cc (execute_native_thread_routine, | |
79 | execute_native_thread_routine_compat): Give internal linkage. | |
80 | * testsuite/30_threads/thread/70503.cc: New test. | |
81 | ||
7b3318c4 VV |
82 | 2016-04-05 Ville Voutilainen <ville.voutilainen@gmail.com> |
83 | ||
84 | PR libstdc++/70437 | |
85 | * include/bits/stl_pair.h (_ConstructiblePair, | |
86 | _ImplicitlyConvertiblePair, _MoveConstructiblePair, | |
87 | _ImplicitlyMoveConvertiblePair): Add shortcut conditions | |
88 | for same-type cases. | |
89 | * testsuite/20_util/pair/70437.cc: New. | |
90 | ||
00e6c25a JW |
91 | 2016-03-24 Jonathan Wakely <jwakely@redhat.com> |
92 | ||
93 | PR libstdc++/69945 | |
94 | * config/abi/pre/gnu.ver: Add new symbol. | |
95 | * libsupc++/eh_alloc.cc (__gnu_cxx::__freeres): Define. | |
96 | * testsuite/18_support/free_eh_pool.cc: New test. | |
97 | ||
bfd84e6b BE |
98 | 2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de> |
99 | ||
100 | * include/Makefile.am (install-freestanding-headers): Add | |
101 | concept_check.h and move.h to the installed headers. | |
102 | * include/Makefile.in: Regenerated. | |
103 | * include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for | |
104 | freestanding implementations. | |
105 | * doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention | |
106 | that this macro has no effect for freestanding implementations. | |
107 | * doc/html/manual/using_macros.html: Likewise. | |
108 | ||
86715b09 JW |
109 | 2016-02-24 Jonathan Wakely <jwakely@redhat.com> |
110 | ||
111 | PR libstdc++/69939 | |
112 | * include/experimental/tuple (__apply_impl): Qualify get and forward. | |
113 | ||
9aee022e JW |
114 | 2016-02-23 Jonathan Wakely <jwakely@redhat.com> |
115 | ||
be9967e8 JW |
116 | * doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__. |
117 | * doc/html/*: Regenerate. | |
118 | ||
9aee022e JW |
119 | PR libstdc++/69893 |
120 | * include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc, | |
121 | exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint, | |
122 | llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter, | |
123 | nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma, | |
124 | trunc) [__cplusplus >= 201103L]: Import from namespace std. | |
125 | (fabs) [__cplusplus < 201103L]: Import from namespace std. | |
126 | * include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]: | |
127 | Likewise. | |
128 | * testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global | |
129 | namespace before including TR1 headers. | |
130 | * testsuite/tr1/headers/c++200x/math.cc: New test. | |
131 | ||
5f6dd593 BE |
132 | 2016-02-23 Bernd Edlinger <bernd.edlinger@hotmail.de> |
133 | ||
134 | PR libstdc++/69881 | |
135 | * include/c_global/cstdarg: Undefine __need___va_list. | |
136 | * include/c_global/cstddef: Undefine all kinds of __need_*. | |
137 | ||
244901a5 TS |
138 | 2016-02-16 Tim Shen <timshen@google.com> |
139 | ||
140 | PR libstdc++/69794 | |
141 | * include/bits/regex_scanner.h: Add different special character | |
142 | sets for grep and egrep regex. | |
143 | * include/bits/regex_scanner.tcc: Use _M_spec_char more uniformly. | |
144 | * testsuite/28_regex/regression.cc: Add new testcase. | |
145 | ||
cc07da33 JW |
146 | 2016-02-08 Jonathan Wakely <jwakely@redhat.com> |
147 | ||
2158532f JW |
148 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Remove accidentally |
149 | added 'constexpr' in previous commit. | |
150 | * configure: Regenerate. | |
151 | ||
cc07da33 JW |
152 | PR libstdc++/48891 |
153 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Enable isinf and isnan | |
154 | checks for all targets except *-*-solaris2.* and ensure we find the | |
155 | libc math.h header not our own. | |
156 | * configure: Regenerate. | |
157 | ||
acc04646 DV |
158 | 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com> |
159 | ||
160 | * config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt (FUNC): | |
161 | New file. Copied over from s390-linux-gnu. | |
162 | ||
dbcda3ee JW |
163 | 2016-02-04 Jonathan Wakely <jwakely@redhat.com> |
164 | ||
3555173f JW |
165 | PR libstdc++/69626 |
166 | * acinclude.m4 (GLIBCXX_ENABLE_C99): Check C99 stdlib.h functions | |
167 | with -std=c++98 and define _GLIBCXX98_USE_C99_STDLIB. | |
168 | * config.h.in: Regenerate. | |
169 | * configure: Regenerate. | |
170 | * testsuite/21_strings/c_strings/char/69626.cc: New. | |
171 | ||
15ebf379 JW |
172 | * doc/html/index.html: Regenerate. |
173 | ||
dbcda3ee JW |
174 | * doc/xml/manual/containers.xml: Add cross-reference to Dual ABI. |
175 | * doc/xml/manual/spine.xml: Update copyright years and author blurb. | |
176 | * doc/html/*: Regenerate. | |
177 | ||
571512d5 BE |
178 | 2016-02-01 Bernd Edlinger <bernd.edlinger@hotmail.de> |
179 | ||
180 | PR libstdc++/69581 | |
181 | * include/c_compatibility/math.h: Move header guards. | |
182 | * include/c_compatibility/stdlib.h: Likewise. | |
183 | ||
f597d5f7 JW |
184 | 2016-01-29 Jonathan Wakely <jwakely@redhat.com> |
185 | ||
186 | PR libstdc++/69506 | |
187 | * config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. | |
188 | ||
69b0daeb JDA |
189 | 2016-01-28 John David Anglin <danglin@gcc.gnu.org> |
190 | ||
191 | PR libstdc++/69450 | |
192 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Split check for obsolete | |
193 | isinf and isnan functions into two independent checks. Check on hpux. | |
194 | * config.h.in: Regenerate. | |
195 | * configure: Regenerate. | |
196 | * include/c_global/cmath (isinf(double), isnan(double)): Use | |
197 | _GLIBCXX_HAVE_OBSOLETE_ISINF and _GLIBCXX_HAVE_OBSOLETE_ISNAN, | |
198 | respectively. | |
199 | ||
8dc781e4 JJ |
200 | 2016-01-27 Jakub Jelinek <jakub@redhat.com> |
201 | ||
202 | * testsuite/libstdc++-prettyprinters/whatis.cc: Include <random>. | |
203 | ||
bae87f7f JW |
204 | 2016-01-27 Jonathan Wakely <jwakely@redhat.com> |
205 | ||
206 | PR libstdc++/69295 | |
207 | * testsuite/ext/special_functions/hyperg/check_value.cc: Use | |
208 | -ffp-contract=off, and -ffloat-store to disable excess precision. | |
209 | * testsuite/special_functions/02_assoc_legendre/check_value.cc: Use | |
210 | -ffp-contract=off. | |
211 | ||
f1d591e8 JW |
212 | 2016-01-26 Jonathan Wakely <jwakely@redhat.com> |
213 | ||
214 | PR libstdc++/69478 | |
215 | * include/bits/stl_algobase.h (__copy_move<_IsMove, true, | |
216 | random_access_iterator_tag>): Check is_move_assignable when moving. | |
217 | (__copy_move_backwards<_IsMove, true, random_access_iterator_tag>): | |
218 | Likewise. | |
219 | * testsuite/25_algorithms/copy/move_iterators/69478.cc: New. | |
220 | * testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New. | |
221 | * testsuite/25_algorithms/move/69478.cc: New. | |
222 | * testsuite/25_algorithms/move_backward/69478.cc: new. | |
223 | ||
8964d2a0 AP |
224 | 2016-01-26 Andris Pavenis <andris.pavenis@iki.fi> |
225 | ||
226 | * include/c_compatibility/stdlib.h: Include wide character related | |
227 | definitions only when they are available in cstdlib. | |
228 | ||
2944621e JW |
229 | 2016-01-25 Jonathan Wakely <jwakely@redhat.com> |
230 | ||
231 | PR libstdc++/69464 | |
232 | * include/Makefile.am: Add new header. | |
233 | * include/Makefile.in: Regenerate. | |
234 | * include/bits/random.h (uniform_int_distribution): Move to | |
235 | bits/uniform_int_dist.h. | |
236 | * include/bits/random.tcc (uniform_int_distribution::operator(), | |
237 | uniform_int_distribution::__generate_impl): Likewise. | |
238 | * include/bits/uniform_int_dist.h: New header. | |
239 | * include/bits/stl_algo.h [__cplusplus >= 201103L]: Include | |
240 | <bits/uniform_int_dist.h> instead of <random>. | |
241 | * testsuite/20_util/specialized_algorithms/uninitialized_copy/ | |
242 | move_iterators/1.cc: Include correct header for uninitialized_copy. | |
243 | * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/ | |
244 | move_iterators/1.cc: Likewise. | |
245 | * testsuite/25_algorithms/nth_element/58800.cc: Include correct | |
246 | header for vector. | |
247 | * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lines. | |
248 | ||
3676c087 JDA |
249 | 2016-01-23 John David Anglin <danglin@gcc.gnu.org> |
250 | ||
251 | PR libstdc++/69446 | |
252 | * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. | |
253 | ||
02dc2419 ESR |
254 | 2016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net> |
255 | ||
256 | TR29124 C++ Special Math - <math.h> pulls funcs into global namespace. | |
257 | * include/c_compatibility/math.h: Import the TR29124 functions | |
258 | into the global namespace. | |
259 | * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: Remove | |
260 | xfail and make compile-only. | |
261 | * testsuite/special_functions/02_assoc_legendre/compile_2.cc: Ditto. | |
262 | * testsuite/special_functions/03_beta/compile_2.cc: Ditto. | |
263 | * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Ditto. | |
264 | * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Ditto. | |
265 | * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Ditto. | |
266 | * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Ditto. | |
267 | * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Ditto. | |
268 | * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Ditto. | |
269 | * testsuite/special_functions/10_cyl_neumann/compile_2.cc: Ditto. | |
270 | * testsuite/special_functions/11_ellint_1/compile_2.cc: Ditto. | |
271 | * testsuite/special_functions/12_ellint_2/compile_2.cc: Ditto. | |
272 | * testsuite/special_functions/13_ellint_3/compile_2.cc: Ditto. | |
273 | * testsuite/special_functions/14_expint/compile_2.cc: Ditto. | |
274 | * testsuite/special_functions/15_hermite/compile_2.cc: Ditto. | |
275 | * testsuite/special_functions/16_laguerre/compile_2.cc: Ditto. | |
276 | * testsuite/special_functions/17_legendre/compile_2.cc: Ditto. | |
277 | * testsuite/special_functions/18_riemann_zeta/compile_2.cc: Ditto. | |
278 | * testsuite/special_functions/19_sph_bessel/compile_2.cc: Ditto. | |
279 | * testsuite/special_functions/20_sph_legendre/compile_2.cc: Ditto. | |
280 | * testsuite/special_functions/21_sph_neumann/compile_2.cc: Ditto. | |
281 | ||
350fe282 JW |
282 | 2016-01-22 Jonathan Wakely <jwakely@redhat.com> |
283 | ||
d1fb377c JW |
284 | PR libstdc++/69116 |
285 | * include/bits/valarray_before.h (__fun, __fun_with_valarray): Only | |
286 | define result_type for types which can be safely used with valarrays. | |
287 | * testsuite/26_numerics/valarray/69116.cc: New. | |
288 | ||
350fe282 JW |
289 | PR libstdc++/69413 |
290 | * config/os/gnu-linux/os_defines.h: Define | |
291 | _GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC. | |
292 | * include/c_global/cmath (isinf, isnan): Check it. | |
293 | * doc/xml/manual/internals.xml: Document it. | |
294 | * doc/html/*: Regenerate. | |
295 | ||
ab56cbed JW |
296 | 2016-01-21 Jonathan Wakely <jwakely@redhat.com> |
297 | ||
298 | PR libstdc++/69406 | |
299 | * include/bits/cpp_type_traits.h: Ensure C++ language linkage. | |
300 | * include/ext/type_traits.h: Likewise. | |
301 | * testsuite/17_intro/headers/c++2011/linkage.cc: Check autoconf macros | |
302 | for presence of C headers. | |
303 | * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Adjust | |
304 | dg-error line number. | |
305 | * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise. | |
306 | * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise. | |
307 | * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise. | |
308 | ||
7e10bcfa TR |
309 | 2016-01-20 Torvald Riegel <triegel@redhat.com> |
310 | ||
311 | PR libstdc++/69310 | |
312 | * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. | |
313 | ||
eac437bf JW |
314 | 2016-01-20 Jonathan Wakely <jwakely@redhat.com> |
315 | ||
3f93466a JW |
316 | PR libstdc++/60401 |
317 | * include/c_compatibility/math.h (acosh, asinh, atanh, acbrt, | |
318 | copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, | |
319 | lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nearbyint, | |
320 | nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn, | |
321 | tgamma, trunc) [__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]: | |
322 | Add using declarations. | |
323 | * testsuite/26_numerics/headers/cmath/60401.cc: New. | |
324 | ||
eac437bf JW |
325 | PR libstdc++/69386 |
326 | * include/c_global/ccomplex: Ensure C++ language linkage. | |
327 | * include/c_global/cmath: Likewise. | |
328 | * include/c_global/cstdlib: Likewise. | |
329 | * include/c_global/ctgmath: Likewise. | |
330 | * testsuite/17_intro/headers/c++2011/linkage.cc: New. | |
331 | ||
96e19ada JW |
332 | 2016-01-19 Jonathan Wakely <jwakely@redhat.com> |
333 | ||
334 | PR libstdc++/14608 | |
335 | PR libstdc++/60401 | |
336 | * include/Makefile.am: Use c_compatibility math.h and stdlib.h for | |
337 | --enable-cheaders=c_global configs. | |
338 | * include/Makefile.in: Regenerate. | |
339 | * include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C | |
340 | test and allow inclusion from C files. | |
341 | * include/c_compatibility/stdlib.h: Likewise. Support freestanding. | |
342 | (at_quick_exit, quick_exit): Add using directives. | |
343 | * include/c_global/cmath: Use #include_next for math.h. | |
344 | * include/c_global/cstdlib: Use #include_next for stdlib.h. | |
345 | * testsuite/26_numerics/headers/cmath/14608.cc: New. | |
346 | * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: | |
347 | Remove xfail for most targets. | |
348 | * testsuite/26_numerics/headers/cstdlib/60401.cc: New. | |
349 | ||
9585381a TR |
350 | 2016-01-18 Torvald Riegel <triegel@redhat.com> |
351 | ||
352 | * include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New. | |
353 | (_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use _GLIBCXX_USE_WEAK_REF | |
354 | and move after its definition. | |
355 | * config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override. | |
356 | * src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of | |
357 | __GXX_WEAK__, and only provide transactional clones if | |
358 | _GLIBCXX_USE_WEAK_REF is true. Don't provide stubs of libitm | |
359 | functions. | |
360 | ||
f5460595 JW |
361 | 2016-01-18 Jonathan Wakely <jwakely@redhat.com> |
362 | ||
c91bcffc JW |
363 | PR libstdc++/60637 |
364 | * testsuite/26_numerics/headers/cmath/60637.cc: Add test. | |
365 | ||
d75d9f91 | 366 | PR libstdc++/69243 |
9c5ad80e JW |
367 | * include/std/functional (_Function_base::_M_not_empty_function): |
368 | Change overloads for pointers to take arguments by value. | |
369 | * testsuite/20_util/function/cons/57465.cc: Add tests for | |
370 | pointer-to-member cases. | |
371 | ||
f5460595 JW |
372 | PR libstdc++/69340 |
373 | * src/c++11/cow-stdexcept.cc (_txnal_cow_string_C1_for_exceptions): | |
374 | Use macros for exception handling and fix unused parameter warning. | |
375 | ||
271366f6 JDA |
376 | 2016-01-17 John David Anglin <danglin@gcc.gnu.org> |
377 | ||
378 | PR libstdc++/68734 | |
379 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. | |
380 | ||
7a5d1d34 TR |
381 | 2016-01-17 Torvald Riegel <triegel@redhat.com> |
382 | ||
383 | * src/c++11/cow-stdexcept.cc (txnal_read_ptr): Fix static_assert. | |
384 | ||
5445d5bf L |
385 | 2016-01-16 H.J. Lu <hongjiu.lu@intel.com> |
386 | ||
387 | * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Add | |
388 | __int128 symbols. | |
389 | ||
3d076231 JW |
390 | 2016-01-15 Jonathan Wakely <jwakely@redhat.com> |
391 | ||
d7c1581c JW |
392 | PR libstdc++/69293 |
393 | * include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add | |
394 | static assertion that type is constructible from the arguments. | |
395 | * testsuite/20_util/scoped_allocator/69293_neg.cc: New. | |
396 | * testsuite/20_util/uses_allocator/69293_neg.cc: New. | |
397 | * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error. | |
398 | ||
3d076231 JW |
399 | PR libstdc++/69294 |
400 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf | |
401 | and isnan on AIX. Quote variables. | |
402 | * configure: Regenerate. | |
403 | ||
a04d5fc9 TR |
404 | 2016-01-15 Torvald Riegel <triegel@redhat.com> |
405 | ||
406 | * include/bits/basic_string.h (basic_string): Declare friends. | |
407 | * include/bits/c++config (_GLIBCXX_TXN_SAFE, | |
408 | _GLIBCXX_TXN_SAFE_DYN, _GLIBCXX_USE_ALLOCATOR_NEW): New. | |
409 | * include/std/stdexcept (logic_error, domain_error, invalid_argument, | |
410 | length_error, out_of_range, runtime_error, range_error, | |
411 | underflow_error, overflow_error): Declare members as transaction-safe. | |
412 | (logic_error, runtime_error): Declare friend functions. | |
413 | * libsupc++/exception (exception, bad_exception): Declare members as | |
414 | transaction-safe. | |
415 | * src/c++11/cow-stdexcept.cc: Define transactional clones for the | |
416 | transaction-safe members of exceptions and helper functions. | |
417 | * libsupc++/eh_exception.cc: Adjust and define transactional clones. | |
418 | * config/abi/pre/gnu.ver (GLIBCXX_3.4.22) Add transactional clones. | |
419 | (CXXABI_1.3.10): New. | |
420 | * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): New. | |
421 | (GLIBCXX_ENABLE_ALLOCATOR): Set ENABLE_ALLOCATOR_NEW. | |
422 | * configure.ac: Call GLIBCXX_CHECK_SIZE_T_MANGLING. | |
423 | * include/Makefile.am: Write ENABLE_ALLOCATOR_NEW to c++config.h. | |
424 | * include/Makefile.in: Regenerate. | |
425 | * config.h.in: Regenerate. | |
426 | * configure: Regenerate. | |
427 | * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.10. | |
428 | ||
cebeb718 SE |
429 | 2016-01-15 Steve Ellcey <sellcey@imgtec.com> |
430 | ||
431 | * include/ext/random.tcc: Use __builtin_isfinite instead of | |
432 | std::isfinite. | |
433 | ||
3b07547d JW |
434 | 2016-01-15 Jonathan Wakely <jwakely@redhat.com> |
435 | ||
436 | * include/bits/std_mutex.h: Fix Doxygen @file name. | |
437 | ||
2be75957 ESR |
438 | 2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net> |
439 | Jonathan Wakely <jwakely@redhat.com> | |
440 | Florian Goth <CaptainSifff@gmx.de> | |
441 | ||
442 | Implement TR29124 C++ special Math Functions. | |
443 | * include/Makefile.am: Add new headers. | |
444 | * include/Makefile.in: Regenerate. | |
445 | * include/bits/specfun.h: New. | |
446 | * include/c_global/cmath: Adjust for both tr1 and tr29124 maths. | |
447 | * include/tr1/bessel_function.tcc: Ditto. | |
448 | * include/tr1/beta_function.tcc: Ditto. | |
449 | * include/tr1/cmath: Ditto. | |
450 | * include/tr1/ell_integral.tcc: Ditto. | |
451 | * include/tr1/exp_integral.tcc: Ditto. | |
452 | * include/tr1/gamma.tcc: Ditto. | |
453 | * include/tr1/hypergeometric.tcc: Ditto. | |
454 | * include/tr1/legendre_function.tcc: Ditto. | |
455 | * include/tr1/modified_bessel_func.tcc: Ditto. | |
456 | * include/tr1/poly_hermite.tcc: Ditto. | |
457 | * include/tr1/poly_laguerre.tcc: Ditto. | |
458 | * include/tr1/riemann_zeta.tcc: Ditto. | |
459 | * include/tr1/special_function_util.h: Ditto. | |
460 | * testsuite/ext/special_functions/conf_hyperg: New. | |
461 | * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: New. | |
462 | * testsuite/ext/special_functions/conf_hyperg/check_value.cc: New. | |
463 | * testsuite/ext/special_functions/conf_hyperg/compile.cc: New. | |
464 | * testsuite/ext/special_functions/hyperg: New. | |
465 | * testsuite/ext/special_functions/hyperg/check_nan.cc: New. | |
466 | * testsuite/ext/special_functions/hyperg/check_value.cc: New. | |
467 | * testsuite/ext/special_functions/hyperg/compile.cc: New. | |
468 | * testsuite/libstdc++-dg/conformance.exp: Add special_functions directory. | |
469 | * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: New. | |
470 | * testsuite/special_functions/01_assoc_laguerre/check_value.cc: New. | |
471 | * testsuite/special_functions/01_assoc_laguerre/compile.cc: New. | |
472 | * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: New. | |
473 | * testsuite/special_functions/02_assoc_legendre/check_nan.cc: New. | |
474 | * testsuite/special_functions/02_assoc_legendre/check_value.cc: New. | |
475 | * testsuite/special_functions/02_assoc_legendre/compile.cc: New. | |
476 | * testsuite/special_functions/02_assoc_legendre/compile_2.cc: New. | |
477 | * testsuite/special_functions/03_beta/check_nan.cc: New. | |
478 | * testsuite/special_functions/03_beta/check_value.cc: New. | |
479 | * testsuite/special_functions/03_beta/compile.cc: New. | |
480 | * testsuite/special_functions/03_beta/compile_2.cc: New. | |
481 | * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: New. | |
482 | * testsuite/special_functions/04_comp_ellint_1/check_value.cc: New. | |
483 | * testsuite/special_functions/04_comp_ellint_1/compile.cc: New. | |
484 | * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: New. | |
485 | * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: New. | |
486 | * testsuite/special_functions/05_comp_ellint_2/check_value.cc: New. | |
487 | * testsuite/special_functions/05_comp_ellint_2/compile.cc: New. | |
488 | * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: New. | |
489 | * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: New. | |
490 | * testsuite/special_functions/06_comp_ellint_3/check_value.cc: New. | |
491 | * testsuite/special_functions/06_comp_ellint_3/compile.cc: New. | |
492 | * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: New. | |
493 | * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: New. | |
494 | * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: New. | |
495 | * testsuite/special_functions/07_cyl_bessel_i/compile.cc: New. | |
496 | * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: New. | |
497 | * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: New. | |
498 | * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: New. | |
499 | * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: New. | |
500 | * testsuite/special_functions/08_cyl_bessel_j/compile.cc: New. | |
501 | * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: New. | |
502 | * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: New. | |
503 | * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: New. | |
504 | * testsuite/special_functions/09_cyl_bessel_k/compile.cc: New. | |
505 | * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: New. | |
506 | * testsuite/special_functions/10_cyl_neumann/check_nan.cc: New. | |
507 | * testsuite/special_functions/10_cyl_neumann/check_value.cc: New. | |
508 | * testsuite/special_functions/10_cyl_neumann/compile.cc: New. | |
509 | * testsuite/special_functions/10_cyl_neumann/compile_2.cc: New. | |
510 | * testsuite/special_functions/11_ellint_1/check_nan.cc: New. | |
511 | * testsuite/special_functions/11_ellint_1/check_value.cc: New. | |
512 | * testsuite/special_functions/11_ellint_1/compile.cc: New. | |
513 | * testsuite/special_functions/11_ellint_1/compile_2.cc: New. | |
514 | * testsuite/special_functions/12_ellint_2/check_nan.cc: New. | |
515 | * testsuite/special_functions/12_ellint_2/check_value.cc: New. | |
516 | * testsuite/special_functions/12_ellint_2/compile.cc: New. | |
517 | * testsuite/special_functions/12_ellint_2/compile_2.cc: New. | |
518 | * testsuite/special_functions/13_ellint_3/check_nan.cc: New. | |
519 | * testsuite/special_functions/13_ellint_3/check_value.cc: New. | |
520 | * testsuite/special_functions/13_ellint_3/compile.cc: New. | |
521 | * testsuite/special_functions/13_ellint_3/compile_2.cc: New. | |
522 | * testsuite/special_functions/14_expint/check_nan.cc: New. | |
523 | * testsuite/special_functions/14_expint/check_value.cc: New. | |
524 | * testsuite/special_functions/14_expint/compile.cc: New. | |
525 | * testsuite/special_functions/14_expint/compile_2.cc: New. | |
526 | * testsuite/special_functions/15_hermite/check_nan.cc: New. | |
527 | * testsuite/special_functions/15_hermite/check_value.cc: New. | |
528 | * testsuite/special_functions/15_hermite/compile.cc: New. | |
529 | * testsuite/special_functions/15_hermite/compile_2.cc: New. | |
530 | * testsuite/special_functions/16_laguerre/check_nan.cc: New. | |
531 | * testsuite/special_functions/16_laguerre/check_value.cc: New. | |
532 | * testsuite/special_functions/16_laguerre/compile.cc: New. | |
533 | * testsuite/special_functions/16_laguerre/compile_2.cc: New. | |
534 | * testsuite/special_functions/17_legendre/check_nan.cc: New. | |
535 | * testsuite/special_functions/17_legendre/check_value.cc: New. | |
536 | * testsuite/special_functions/17_legendre/compile.cc: New. | |
537 | * testsuite/special_functions/17_legendre/compile_2.cc: New. | |
538 | * testsuite/special_functions/18_riemann_zeta/check_nan.cc: New. | |
539 | * testsuite/special_functions/18_riemann_zeta/check_value.cc: New. | |
540 | * testsuite/special_functions/18_riemann_zeta/compile.cc: New. | |
541 | * testsuite/special_functions/18_riemann_zeta/compile_2.cc: New. | |
542 | * testsuite/special_functions/19_sph_bessel/check_nan.cc: New. | |
543 | * testsuite/special_functions/19_sph_bessel/check_value.cc: New. | |
544 | * testsuite/special_functions/19_sph_bessel/compile.cc: New. | |
545 | * testsuite/special_functions/19_sph_bessel/compile_2.cc: New. | |
546 | * testsuite/special_functions/20_sph_legendre/check_nan.cc: New. | |
547 | * testsuite/special_functions/20_sph_legendre/check_value.cc: New. | |
548 | * testsuite/special_functions/20_sph_legendre/compile.cc: New. | |
549 | * testsuite/special_functions/20_sph_legendre/compile_2.cc: New. | |
550 | * testsuite/special_functions/21_sph_neumann/check_nan.cc: New. | |
551 | * testsuite/special_functions/21_sph_neumann/check_value.cc: New. | |
552 | * testsuite/special_functions/21_sph_neumann/compile.cc: New. | |
553 | * testsuite/special_functions/21_sph_neumann/compile_2.cc: New. | |
554 | * testsuite/util/specfun_testcase.h: New. | |
555 | * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_value.cc: More testcases. | |
556 | * testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc: Ditto. | |
557 | * testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_value.cc: Ditto. | |
558 | * testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_value.cc: Ditto. | |
559 | * testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_value.cc: Ditto. | |
560 | * testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_value.cc: Ditto. | |
561 | * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/check_value.cc: New. | |
562 | ||
39a1d8c8 JW |
563 | 2016-01-13 Jonathan Wakely <jwakely@redhat.com> |
564 | ||
565 | PR libstdc++/48891 | |
566 | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf | |
567 | and isnan functions. | |
568 | * config.h.in: Regenerate. | |
569 | * configure: Regenerate. | |
570 | * include/c_global/cmath (isinf(double), isnan(double)) | |
571 | [_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive. | |
572 | * testsuite/26_numerics/headers/cmath/48891.cc: New. | |
573 | ||
e862906c RO |
574 | 2016-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
575 | ||
576 | PR libstdc++/66006 | |
577 | * configure.host (abi_baseline_pair): Use separate baseline for | |
578 | Solaris 11+ and Solaris 10 with gld. | |
579 | * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: New file. | |
580 | * config/abi/post/solaris2.11/baseline_symbols.txt: New file. | |
581 | * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: New file. | |
582 | ||
26b5ace7 DK |
583 | 2016-01-12 Daniel Kruegler <daniel.kruegler@gmail.com> |
584 | ||
585 | PR libstdc++/68877 | |
586 | * include/std/type_traits: Following N4511, reimplement __is_swappable | |
587 | and __is_nothrow_swappable. Move __is_swappable to namespace std, | |
588 | adjust callers. Use __is_nothrow_swappable in swap. | |
589 | * include/bits/move.h: Use __is_nothrow_swappable in swap. | |
590 | * testsuite/20_util/is_nothrow_swappable/value.cc: Extend; remove | |
591 | __is_swappable related tests. | |
592 | * testsuite/20_util/is_swappable/value.cc: New. | |
593 | * testsuite/20_util/is_swappable/requirements/ | |
594 | explicit_instantiation.cc: New. | |
595 | * testsuite/20_util/is_swappable/requirements/typedefs.cc: New. | |
596 | * testsuite/25_algorithms/swap/68877.cc: New. | |
597 | ||
1c3c7c41 JW |
598 | 2016-01-12 Jonathan Wakely <jwakely@redhat.com> |
599 | ||
bd285a8b JW |
600 | * testsuite/20_util/function/68995.cc: Test reference_wrapper cases. |
601 | ||
1c3c7c41 JW |
602 | PR libstdc++/69005 |
603 | PR libstdc++/69222 | |
604 | * include/std/functional (function::_Invoke): Remove, use result_of. | |
605 | (function::_Callable): Replace alias template with class template | |
606 | and use partial specialization instead of _NotSelf alias template. | |
607 | (function(_Functor)): Add "not self" constraint so that _Callable is | |
608 | not used while type is incomplete. | |
609 | * testsuite/20_util/function/69222.cc: New. | |
610 | ||
1517bc30 JW |
611 | 2016-01-11 Jonathan Wakely <jwakely@redhat.com> |
612 | ||
613 | PR libstdc++/60976 | |
614 | * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>): | |
615 | Define partial specialization. | |
616 | * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and | |
617 | destroy members to std::allocator explicit specialization. | |
618 | ||
e525d78c JW |
619 | 2016-01-08 Jonathan Wakely <jwakely@redhat.com> |
620 | ||
8babc12b JW |
621 | * testsuite/26_numerics/headers/cmath/ |
622 | c99_classification_macros_c++.cc: Rename to ... | |
623 | * testsuite/26_numerics/headers/cmath/ | |
624 | c99_classification_macros_c++98.cc: Here and add -std=gnu++98. | |
625 | * testsuite/26_numerics/headers/cmath/ | |
626 | c99_classification_macros_c++0x.cc: Rename to ... | |
627 | * testsuite/26_numerics/headers/cmath/ | |
628 | c99_classification_macros_c++11.cc: Here. | |
629 | ||
32a8c97f | 630 | PR libstdc++/69190 |
e525d78c JW |
631 | * include/bits/uses_allocator.h: Add missing include. |
632 | ||
f885fa89 JW |
633 | 2016-01-07 Jonathan Wakely <jwakely@redhat.com> |
634 | ||
635 | PR libstdc++/69105 | |
636 | PR libstdc++/69106 | |
637 | PR libstdc++/69114 | |
638 | * include/bits/stl_iterator.h (back_insert_iterator, | |
639 | front_insert_iterator, insert_iterator): Use __addressof (LWG 2324). | |
640 | * include/bits/uses_allocator.h (__use_alloc): Use __addressof. | |
641 | * include/std/future (__future::base::_State_baseV2::__setter): | |
642 | Likewise. | |
643 | * include/std/scoped_allocator (__outermost): Likewise. | |
644 | * testsuite/20_util/scoped_allocator/69114.cc: New. | |
645 | * testsuite/20_util/uses_allocator/69114.cc: New. | |
646 | * testsuite/30_threads/promise/69106.cc: New. | |
647 | ||
0c3e5dd1 JW |
648 | 2016-01-06 Jonathan Wakely <jwakely@redhat.com> |
649 | ||
373a75fb JW |
650 | PR libstdc++/69092 |
651 | * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>): | |
652 | Remove _GLIBCXX_NOEXCEPT. | |
653 | testsuite/21_strings/basic_string/cons/char/69092.cc: New. | |
654 | ||
0c3e5dd1 JW |
655 | * include/Makefile.am: Adjust. |
656 | * include/Makefile.in: Regenerate. | |
657 | * include/bits/mutex.h: Rename to bits/std_mutex.h. | |
658 | * include/std/condition_variable: Adjust include. | |
659 | * include/std/mutex: Likewise. | |
660 | ||
818ab71a | 661 | 2016-01-04 Jakub Jelinek <jakub@redhat.com> |
5624e564 JJ |
662 | |
663 | Update copyright years. | |
b4df5e92 | 664 | \f |
818ab71a | 665 | Copyright (C) 2016 Free Software Foundation, Inc. |
b4df5e92 JW |
666 | |
667 | Copying and distribution of this file, with or without modification, | |
668 | are permitted in any medium without royalty provided the copyright | |
669 | notice and this notice are preserved. |