[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-11 Thread bkorb at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #47 from bkorb at gnu dot org 2012-01-11 14:31:15 UTC --- To eliminate any possible ambiguity, the patch is approved On 01/10/12 23:49, andreast at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Andreas

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-11 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #48 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-01-11 16:23:14 UTC --- On Wed, Jan 11, 2012 at 07:49:41AM +, andreast at gcc dot gnu.org wrote: This is the CL I prepared: 2012-01-11 Bruce Korb

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-11 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Andreas Tobler andreast at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #44 from Jason Merrill jason at gcc dot gnu.org 2012-01-10 13:44:22 UTC --- There is a conflict between the FreeBSD headers and G++, and we can fix it with fixincludes. Let's do that and move on.

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-10 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Andreas Tobler andreast at gcc dot gnu.org changed: What|Removed |Added Attachment #26207|0 |1 is

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-10 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Andreas Tobler andreast at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED ---

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #33 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-01-09 20:13:08 UTC --- On Fri, Jan 06, 2012 at 04:14:08PM +, bkorb at gnu dot org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #32 from

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #34 from Andreas Tobler andreast at gcc dot gnu.org 2012-01-09 20:32:00 UTC --- Just to double check, shall I leave the backslash in this line? c_fix_arg = __attribute__\(\(__noreturn__\)\); And more important, do we have an ok for

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #35 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-01-09 21:33:23 UTC --- On Mon, Jan 09, 2012 at 08:32:00PM +, andreast at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #36 from Chris Jefferson chris at bubblescope dot net 2012-01-09 21:45:10 UTC --- By your reasoning, FreeBSD really may as well take out code which requires __cplusplus == 201103L , as no compiler will support all of C++11 for several

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread bkorb at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #37 from bkorb at gnu dot org 2012-01-09 22:11:09 UTC --- It is getting too confusing. +/* + * 'g++ -std=c++11' defines __cplusplus to 201103L, which suggests + * that it conforms to ISO/IEC 14882:2011. Until G++ fully conforms, + *

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #38 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-01-09 22:31:03 UTC --- On Mon, Jan 09, 2012 at 09:45:10PM +, chris at bubblescope dot net wrote: By your reasoning, FreeBSD really may as well take out code which

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #39 from Ed Schouten ed at 80386 dot nl 2012-01-09 22:37:41 UTC --- (In reply to comment #36) By your reasoning, FreeBSD really may as well take out code which requires __cplusplus == 201103L , as no compiler will support all of

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #40 from Chris Jefferson chris at bubblescope dot net 2012-01-09 22:45:32 UTC --- There are several C++11 features which clang does not support, which g++ does. clang also defines __cplusplus == 201103L, despite not implementing large

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread ed at 80386 dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #41 from Ed Schouten ed at 80386 dot nl 2012-01-09 22:48:35 UTC --- (In reply to comment #40) There are several C++11 features which clang does not support, which g++ does. clang also defines __cplusplus == 201103L, despite not

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #42 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-01-09 22:51:04 UTC --- The obvious issue with C++11 attributes (such as [[noreturn]]) is that the syntactic bindings are (or were when I last looked at a

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #43 from Chris Jefferson chris at bubblescope dot net 2012-01-09 22:59:49 UTC --- g++ only does this while compiling the C++ standard library. clang doesn't come (by default) with a C++ standard library, so you have to use either

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||bkorb at gnu dot

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread bkorb at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #25 from bkorb at gnu dot org 2012-01-06 15:09:46 UTC --- RE: Comment #16 through Comment #23 -- Do not use sed. There is no compelling reason to do so. Please read the fixincludes README, wherein sed is disparaged. I'll add to that

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #26 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-01-06 15:22:09 UTC --- On Fri, Jan 06, 2012 at 03:09:46PM +, bkorb at gnu dot org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #25 from

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #27 from Jakub Jelinek jakub at gcc dot gnu.org 2012-01-06 15:30:23 UTC --- I'd say: c_fix_arg = __attribute__((__noreturn__)); would be better. Thanks for writing a comment that has just the important facts in it and no emotions.

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||redi at gcc dot

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread andreast at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #29 from Andreas Tobler andreast at gcc dot gnu.org 2012-01-06 15:57:51 UTC --- Bootstrap in progress with the below. Additions: - Jakub's recent comment on c_fix_arg. - extend mach to match FreeBSD10.* to FreeBSD19.* (Should give

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread bkorb at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #30 from bkorb at gnu dot org 2012-01-06 16:10:33 UTC --- (In reply to comment #28) I'll remember to add a comment to this PR once ... I fully intend to remember, too. Probably the appropriate thing is a new bug #51776

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread bkorb at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #32 from bkorb at gnu dot org 2012-01-06 16:14:08 UTC --- (In reply to comment #29) +c_fix_arg = __attribute__\(\(__noreturn__\)\); In a double quoted string, the backslash quotes always quote the character that follows. Here,

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-06 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #31 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-01-06 16:11:08 UTC --- On Fri, Jan 06, 2012 at 03:30:23PM +, jakub at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #27

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last