https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #13 from Jonathan Wakely ---
Author: redi
Date: Wed Apr 20 13:00:24 2016
New Revision: 235276
URL: https://gcc.gnu.org/viewcvs?rev=235276&root=gcc&view=rev
Log:
Avoid including all of in
Backport from mainline
2016-01-25 Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #1 from Uroš Bizjak ---
std::swap was defined in header until c++11.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #2 from Jonathan Wakely ---
It's in now, so better to include both to be portable.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #4 from Uroš Bizjak ---
The failre was introduced by r232736 [1]:
[1] https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01643.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #5 from Uroš Bizjak ---
(In reply to Jakub Jelinek from comment #3)
> That means we need #define USE_ALGORITHM before #include "system.h" in
> genmodes.c with a comment.
But std::swap is used in many places. IMO, a configure check wh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #6 from Michael Matz ---
(In reply to Uroš Bizjak from comment #5)
> (In reply to Jakub Jelinek from comment #3)
> > That means we need #define USE_ALGORITHM before #include "system.h" in
> > genmodes.c with a comment.
>
> But std::s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
Ulrich Weigand changed:
What|Removed |Added
CC||uweigand at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #8 from Michael Matz ---
Please try https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01875.html
if possible.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #9 from Uroš Bizjak ---
(In reply to Michael Matz from comment #8)
> Please try https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01875.html
> if possible.
Thanks, will do tomorrow morning (CET).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #10 from Jonathan Wakely ---
Author: redi
Date: Mon Jan 25 16:44:30 2016
New Revision: 232798
URL: https://gcc.gnu.org/viewcvs?rev=232798&root=gcc&view=rev
Log:
Avoid including all of in
PR libstdc++/69464
* includ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #11 from Jonathan Wakely ---
r232798 doesn't fix the bootstrap failure, but it makes including the C++11
version of much less expensive, which is the problem that r232736
was addressing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
14 matches
Mail list logo