[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-04-20 Thread redi at gcc dot gnu.org
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

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464 --- Comment #1 from Uroš Bizjak --- std::swap was defined in header until c++11.

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread redi at gcc dot gnu.org
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.

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread jakub at gcc dot gnu.org
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

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread ubizjak at gmail dot com
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

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread ubizjak at gmail dot com
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

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread matz at gcc dot gnu.org
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

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464 Ulrich Weigand changed: What|Removed |Added CC||uweigand at gcc dot gnu.org --- Comment

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread matz at gcc dot gnu.org
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.

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread ubizjak at gmail dot com
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).

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread redi at gcc dot gnu.org
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

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-25 Thread redi at gcc dot gnu.org
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.

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-01-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---