• Home
  • Raw
  • Download

Lines Matching +full:gcc +full:- +full:49

2 gcc-4.4 on OS X 10.6.  You can apply it there with
3 `cd /opt/local/include/gcc44/c++ ; sudo patch -p1 <this_patch`, or similar
4 on other operating systems. Mail cfe-dev if you find other problems in the
7 This patch is offered under the same modified GPLv3 as libstdc++-4.4.
9 diff -ur a/bits/forward_list.h b/bits/forward_list.h
10 --- a/bits/forward_list.h 2011-03-15 14:49:05.000000000 -0700
11 +++ b/bits/forward_list.h 2011-05-02 23:51:33.000000000 -0700
12 @@ -983,7 +983,7 @@
16 - swap(forward_list&& __list)
18 { _Node_base::swap(this->_M_impl._M_head, __list._M_impl._M_head); }
21 diff -ur a/bits/move.h b/bits/move.h
22 --- a/bits/move.h 2011-03-15 14:49:05.000000000 -0700
23 +++ b/bits/move.h 2011-03-29 10:33:39.000000000 -0700
24 @@ -48,13 +48,35 @@
28 - forward(typename std::identity<_Tp>::type&& __t)
61 diff -ur a/bits/shared_ptr.h b/bits/shared_ptr.h
62 --- a/bits/shared_ptr.h 2011-03-15 14:49:05.000000000 -0700
63 +++ b/bits/shared_ptr.h 2011-03-31 16:40:45.000000000 -0700
64 @@ -833,7 +833,7 @@
68 - swap(__shared_ptr<_Tp, _Lp>&& __other) // never throws
73 @@ -943,16 +943,6 @@
77 - template<typename _Tp, _Lock_policy _Lp>
78 - inline void
79 - swap(__shared_ptr<_Tp, _Lp>&& __a, __shared_ptr<_Tp, _Lp>& __b)
80 - { __a.swap(__b); }
81 -
82 - template<typename _Tp, _Lock_policy _Lp>
83 - inline void
84 - swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>&& __b)
85 - { __a.swap(__b); }
86 -
90 @@ -1372,16 +1362,6 @@
94 - template<typename _Tp>
95 - inline void
96 - swap(shared_ptr<_Tp>&& __a, shared_ptr<_Tp>& __b)
97 - { __a.swap(__b); }
98 -
99 - template<typename _Tp>
100 - inline void
101 - swap(shared_ptr<_Tp>& __a, shared_ptr<_Tp>&& __b)
102 - { __a.swap(__b); }
103 -
107 diff -ur a/bits/stl_bvector.h b/bits/stl_bvector.h
108 --- a/bits/stl_bvector.h 2011-03-15 14:49:05.000000000 -0700
109 +++ b/bits/stl_bvector.h 2011-05-02 23:34:46.000000000 -0700
110 @@ -743,11 +743,7 @@
114 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
115 - swap(vector&& __x)
116 -#else
118 -#endif
120 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
121 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
122 diff -ur a/bits/stl_deque.h b/bits/stl_deque.h
123 --- a/bits/stl_deque.h 2011-03-15 14:49:05.000000000 -0700
124 +++ b/bits/stl_deque.h 2011-03-29 10:33:39.000000000 -0700
125 @@ -1395,11 +1395,7 @@
129 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
130 - swap(deque&& __x)
131 -#else
133 -#endif
135 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
136 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
137 diff -ur a/bits/stl_iterator.h b/bits/stl_iterator.h
138 --- a/bits/stl_iterator.h 2011-03-15 14:49:05.000000000 -0700
139 +++ b/bits/stl_iterator.h 2011-03-29 10:33:39.000000000 -0700
140 @@ -913,7 +913,7 @@
144 - { return *_M_current; }
148 operator->() const
149 diff -ur a/bits/stl_list.h b/bits/stl_list.h
150 --- a/bits/stl_list.h 2011-03-15 14:49:05.000000000 -0700
151 +++ b/bits/stl_list.h 2011-03-29 10:33:39.000000000 -0700
152 @@ -1106,11 +1106,7 @@
156 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
157 - swap(list&& __x)
158 -#else
160 -#endif
162 _List_node_base::swap(this->_M_impl._M_node, __x._M_impl._M_node);
164 @@ -1160,6 +1156,12 @@
177 @@ -1187,6 +1189,12 @@
178 this->_M_transfer(__position, __i, __j);
190 @@ -1217,6 +1225,13 @@
204 @@ -1287,6 +1302,10 @@
215 @@ -1307,6 +1326,11 @@
227 diff -ur a/bits/stl_map.h b/bits/stl_map.h
228 --- a/bits/stl_map.h 2011-03-15 14:49:05.000000000 -0700
229 +++ b/bits/stl_map.h 2011-03-29 10:33:39.000000000 -0700
230 @@ -608,11 +608,7 @@
234 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
235 - swap(map&& __x)
236 -#else
238 -#endif
242 diff -ur a/bits/stl_multimap.h b/bits/stl_multimap.h
243 --- a/bits/stl_multimap.h 2011-03-15 14:49:05.000000000 -0700
244 +++ b/bits/stl_multimap.h 2011-03-29 10:33:39.000000000 -0700
245 @@ -544,11 +544,7 @@
249 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
250 - swap(multimap&& __x)
251 -#else
253 -#endif
257 diff -ur a/bits/stl_multiset.h b/bits/stl_multiset.h
258 --- a/bits/stl_multiset.h 2011-03-15 14:49:05.000000000 -0700
259 +++ b/bits/stl_multiset.h 2011-03-29 10:33:39.000000000 -0700
260 @@ -376,11 +376,7 @@
264 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
265 - swap(multiset&& __x)
266 -#else
268 -#endif
272 diff -ur a/bits/stl_pair.h b/bits/stl_pair.h
273 --- a/bits/stl_pair.h 2011-03-15 14:49:05.000000000 -0700
274 +++ b/bits/stl_pair.h 2011-03-29 10:33:39.000000000 -0700
275 @@ -84,10 +84,21 @@
279 - template<class _U1, class _U2>
294 - : first(std::forward<_U1>(__x)),
295 - second(std::forward<_U2>(__y)) { }
300 @@ -107,11 +118,19 @@
303 // http://gcc.gnu.org/ml/libstdc++/2007-08/msg00052.html
306 + // This constructor is incompatible with libstdc++-4.6, and it
307 + // interferes with passing NULL pointers to the 2-argument
309 + // implemented in libstdc++-4.4 anyway, and that's what this
320 @@ -131,7 +150,7 @@
324 - swap(pair&& __p)
329 diff -ur a/bits/stl_queue.h b/bits/stl_queue.h
330 --- a/bits/stl_queue.h 2011-03-15 14:49:05.000000000 -0700
331 +++ b/bits/stl_queue.h 2011-05-02 23:36:15.000000000 -0700
332 @@ -249,7 +249,7 @@
336 - swap(queue&& __q)
341 @@ -550,7 +550,7 @@
345 - swap(priority_queue&& __pq)
350 diff -ur a/bits/stl_set.h b/bits/stl_set.h
351 --- a/bits/stl_set.h 2011-03-15 14:49:05.000000000 -0700
352 +++ b/bits/stl_set.h 2011-03-29 10:33:39.000000000 -0700
353 @@ -383,11 +383,7 @@
357 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
358 - swap(set&& __x)
359 -#else
361 -#endif
365 diff -ur a/bits/stl_stack.h b/bits/stl_stack.h
366 --- a/bits/stl_stack.h 2011-03-15 14:49:05.000000000 -0700
367 +++ b/bits/stl_stack.h 2011-05-02 23:36:36.000000000 -0700
368 @@ -213,7 +213,7 @@
372 - swap(stack&& __s)
377 diff -ur a/bits/stl_tree.h b/bits/stl_tree.h
378 --- a/bits/stl_tree.h 2011-03-15 14:49:05.000000000 -0700
379 +++ b/bits/stl_tree.h 2011-03-29 10:33:39.000000000 -0700
380 @@ -675,11 +675,7 @@
384 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
385 - swap(_Rb_tree&& __t);
386 -#else
388 -#endif
392 @@ -1104,11 +1100,7 @@
396 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
397 - swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&& __t)
398 -#else
400 -#endif
404 diff -ur a/bits/stl_vector.h b/bits/stl_vector.h
405 --- a/bits/stl_vector.h 2011-03-15 14:49:05.000000000 -0700
406 +++ b/bits/stl_vector.h 2011-03-29 10:33:39.000000000 -0700
407 @@ -923,11 +923,7 @@
411 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
412 - swap(vector&& __x)
413 -#else
415 -#endif
417 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
418 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
419 diff -ur a/bits/unique_ptr.h b/bits/unique_ptr.h
420 --- a/bits/unique_ptr.h 2011-03-15 14:49:05.000000000 -0700
421 +++ b/bits/unique_ptr.h 2011-03-31 16:40:45.000000000 -0700
422 @@ -204,7 +204,7 @@
426 - swap(unique_ptr&& __u)
431 @@ -350,7 +350,7 @@
435 - swap(unique_ptr&& __u)
440 @@ -389,18 +389,6 @@
444 - template<typename _Tp, typename _Tp_Deleter>
445 - inline void
446 - swap(unique_ptr<_Tp, _Tp_Deleter>&& __x,
447 - unique_ptr<_Tp, _Tp_Deleter>& __y)
448 - { __x.swap(__y); }
449 -
450 - template<typename _Tp, typename _Tp_Deleter>
451 - inline void
452 - swap(unique_ptr<_Tp, _Tp_Deleter>& __x,
453 - unique_ptr<_Tp, _Tp_Deleter>&& __y)
454 - { __x.swap(__y); }
455 -
459 diff -ur a/exception_ptr.h b/exception_ptr.h
460 --- a/exception_ptr.h 2011-03-15 14:49:08.000000000 -0700
461 +++ b/exception_ptr.h 2011-03-29 10:33:39.000000000 -0700
462 @@ -140,7 +140,7 @@
466 - const type_info*
471 diff -ur a/ext/algorithm b/ext/algorithm
472 --- a/ext/algorithm 2011-03-15 14:49:05.000000000 -0700
473 +++ b/ext/algorithm 2011-03-29 10:33:39.000000000 -0700
474 @@ -423,6 +423,9 @@
475 __out_last - __out_first);
484 @@ -462,6 +465,7 @@
486 return std::__is_heap(__first, __comp, __last - __first);
492 diff -ur a/ext/vstring.h b/ext/vstring.h
493 --- a/ext/vstring.h 2011-03-15 14:49:05.000000000 -0700
494 +++ b/ext/vstring.h 2011-03-29 10:33:39.000000000 -0700
495 @@ -152,7 +152,7 @@
499 - : __vstring_base(std::forward<__vstring_base>(__str)) { }
504 @@ -1439,11 +1439,7 @@
508 -#ifdef __GXX_EXPERIMENTAL_CXX0X__
509 - swap(__versa_string&& __s)
510 -#else
512 -#endif
513 { this->_M_swap(__s); }
516 diff -ur a/tr1_impl/hashtable b/tr1_impl/hashtable
517 --- a/tr1_impl/hashtable 2011-03-15 14:49:07.000000000 -0700
518 +++ b/tr1_impl/hashtable 2011-05-02 23:41:55.000000000 -0700
519 @@ -225,11 +225,7 @@
523 -#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
524 - void swap(_Hashtable&&);
525 -#else
527 -#endif
531 @@ -732,11 +728,7 @@
535 -#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
536 - swap(_Hashtable&& __x)
537 -#else
539 -#endif
543 diff -ur a/tuple b/tuple
544 --- a/tuple 2011-03-15 14:49:07.000000000 -0700
545 +++ b/tuple 2011-05-02 23:33:23.000000000 -0700
546 @@ -77,7 +77,7 @@
550 - void _M_swap_impl(_Head&&) { /* no-op */ }
551 + void _M_swap_impl(_Head&) { /* no-op */ }
555 @@ -97,7 +97,7 @@
559 - _M_swap_impl(_Head&& __h)
564 @@ -125,7 +125,7 @@
568 - void _M_swap_impl(_Tuple_impl&&) { /* no-op */ }
569 + void _M_swap_impl(_Tuple_impl&) { /* no-op */ }
573 @@ -214,7 +214,7 @@
577 - _M_swap_impl(_Tuple_impl&& __in)
582 @@ -292,7 +292,7 @@
586 - swap(tuple&& __in)
591 @@ -301,7 +301,7 @@
595 - void swap(tuple&&) { /* no-op */ }
596 + void swap(tuple&) { /* no-op */ }
599 /// tuple (2-element), with construction and assignment from a pair.
600 @@ -394,7 +394,7 @@
604 - swap(tuple&& __in)
608 swap(this->_M_head(), __in._M_head());