From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32308 invoked by alias); 30 Jun 2014 18:16:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32028 invoked by uid 48); 30 Jun 2014 18:16:40 -0000 From: "brooks at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61661] New: [C++11][4.9/4.10 Regression] Bogus error:=?UTF-8?Q?=20=E2=80=98const=20Outer?=::Foo{&Outer::=?UTF-8?Q?Bar=7D=E2=80=99=20is=20not=20a=20constant=20expression?= Date: Mon, 30 Jun 2014 18:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brooks at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg02463.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61661 Bug ID: 61661 Summary: [C++11][4.9/4.10 Regression] Bogus error: =E2=80=98const Outer::Foo{&Outer::Bar}=E2=80=99 is not a constant expr= ession Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: brooks at gcc dot gnu.org Google ref: b/15984570 This source: /// --- cut --- struct Outer { void Bar(); struct Foo { void (Outer::*ptr)() ; }; static constexpr Foo foo =3D { &Outer::Bar }; }; /// --- cut --- compiles fine with gcc-4.8 and Clang, fails with gcc-4_9 and current trunk. Started to fail after r195189 and before r197259 (boundaries are not exact). ./gcc-svn-r211990/bin/g++ -c -std=3Dc++11 -o /tmp/t.o /tmp/t.cc /tmp/t.cc:9:44: error: =E2=80=98const Outer::Foo{&Outer::Bar}=E2=80=99 is n= ot a constant expression static constexpr Foo foo =3D { &Outer::Bar }; ^ >>From gcc-bugs-return-455382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 30 18:25:42 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15307 invoked by alias); 30 Jun 2014 18:25:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14982 invoked by uid 48); 30 Jun 2014 18:25:36 -0000 From: "mrs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52268] native tls support should be added for darwin11 Date: Mon, 30 Jun 2014 18:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mrs at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg02464.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52268 --- Comment #11 from mrs at gcc dot gnu.org --- Fixed title to reflect that this is for native tls.