From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26009 invoked by alias); 2 Oct 2014 20:40:16 -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 25961 invoked by uid 48); 2 Oct 2014 20:40:06 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57248] string parameter to constexpr functions Date: Thu, 02 Oct 2014 20:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00160.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57248 --- Comment #7 from Daniel Kr=C3=BCgler --- (In reply to Paolo Carlini from comment #6) > However, it's true that all the up to > date compilers I have at hand reject it with the same kind of error about > get at: >=20 > return std::get(t1); >=20 > like for my reduced testcase in Comment #5. Ouch, you are right - I overlooked the very important fact that *within* function extract the expression index(array) cannot be a constant expression, because we have an argument value involved= ! In the context of a constexpr function any argument value itself cannot be a constant expression, because the decision for something being a constant expression is always context-independent. I'm very sorry for having mislead Paolo with my original remark, indeed the original test case is *invalid* because it is based on the assumption that a constexpr function argument itself could be a constant expression. >>From gcc-bugs-return-463140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 02 20:52:46 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30859 invoked by alias); 2 Oct 2014 20:52:45 -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 30808 invoked by uid 48); 2 Oct 2014 20:52:36 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57460] [C++11] Sfinae doesn't respect dependent context Date: Thu, 02 Oct 2014 20:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com 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: Message-ID: In-Reply-To: References: 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-10/txt/msg00161.txt.bz2 Content-length: 410 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57460 --- Comment #2 from Daniel Kr=C3=BCgler --- (In reply to Jason Merrill from comment #1) > But there is no T that would cause check<(EXPR,T())> to be valid, so no > valid specialization can be generated for the template, so the program is > ill-formed (no diagnostic required). After rethinking about it, I agree. >>From gcc-bugs-return-463141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 02 20:53:58 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31710 invoked by alias); 2 Oct 2014 20:53:57 -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 31666 invoked by uid 48); 2 Oct 2014 20:53:51 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57460] [C++11] Sfinae doesn't respect dependent context Date: Thu, 02 Oct 2014 20:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com 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: Message-ID: In-Reply-To: References: 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-10/txt/msg00162.txt.bz2 Content-length: 225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57460 --- Comment #3 from Daniel Kr=C3=BCgler --- I tried to close the issue as INVALID, but it seems that I cannot do that by myself. >>From gcc-bugs-return-463142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 02 21:22:48 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11720 invoked by alias); 2 Oct 2014 21:22:47 -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 11661 invoked by uid 48); 2 Oct 2014 21:22:38 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57460] [C++11] Sfinae doesn't respect dependent context Date: Thu, 02 Oct 2014 21:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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_status resolution Message-ID: In-Reply-To: References: 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-10/txt/msg00163.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57460 Marc Glisse changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Marc Glisse --- (In reply to Daniel Kr=C3=BCgler from comment #3) > I tried to close the issue as INVALID, but it seems that I cannot do that= by > myself. Strange, as the reporter you should be able to. >>From gcc-bugs-return-463143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 02 21:29:28 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15855 invoked by alias); 2 Oct 2014 21:29:28 -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 15814 invoked by uid 48); 2 Oct 2014 21:29:19 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57460] [C++11] Sfinae doesn't respect dependent context Date: Thu, 02 Oct 2014 21:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com X-Bugzilla-Status: RESOLVED 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00164.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57460 --- Comment #5 from Daniel Kr=C3=BCgler --- (In reply to Marc Glisse from comment #4) > (In reply to Daniel Kr=C3=BCgler from comment #3) > > I tried to close the issue as INVALID, but it seems that I cannot do th= at by > > myself. >=20 > Strange, as the reporter you should be able to. Thanks Marc, for your help. I might have been looking at the wrong place, because when trying to do it now, it would seem to work. >>From gcc-bugs-return-463144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 02 21:35:21 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19476 invoked by alias); 2 Oct 2014 21:35:21 -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 19445 invoked by uid 48); 2 Oct 2014 21:35:12 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/37131] inline matmul for small matrix sizes Date: Thu, 02 Oct 2014 21:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig 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: cf_reconfirmed_on 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-10/txt/msg00165.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2008-08-16 22:55:22 |2014-10-2 --- Comment #15 from Thomas Koenig --- Hi Mikael, do you think you can do this using the scalarizer? If not, I might try to do it using front-end optimization, because I don't know what the scalarizer is really about :-)