From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65442 invoked by alias); 7 Aug 2015 04:47: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 65400 invoked by uid 48); 7 Aug 2015 04:47:12 -0000 From: "rbock at eudoxos dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66937] Do not compare constraints for unconstrained template template parameters Date: Fri, 07 Aug 2015 04:47: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: c++-concepts X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rbock at eudoxos dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason 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: 2015-08/txt/msg00476.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66937 --- Comment #3 from Roland B --- (In reply to Jason Merrill from comment #1) > Author: jason > Date: Thu Aug 6 17:42:25 2015 > New Revision: 226687 >=20 > URL: https://gcc.gnu.org/viewcvs?rev=3D226687&root=3Dgcc&view=3Drev > Log: > PR c++/66937 > * pt.c (is_compatible_template_arg): A template template parameter > with unconstrained parameters can match an argument with > constrained parameters. >=20 > Added: >=20=20=20=20 > branches/c++-concepts/gcc/testsuite/g++.dg/concepts/template-template-par= m1.C Thanks for the commit. Works fine for me! In the test file (template-template-parm1.C) I guess you should edit the comment in the last line a bit. ``` // This fails, but should not ``` Not true anymore, since it compiles just fine :-) Thanks again, Roland >>From gcc-bugs-return-494335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Aug 07 04:47:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66138 invoked by alias); 7 Aug 2015 04:47:36 -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 66096 invoked by uid 48); 7 Aug 2015 04:47:32 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67138] [concepts] bogus "not more constrained" error for more constrained partial specialization Date: Fri, 07 Aug 2015 04:47: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: c++-concepts X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to 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: 2015-08/txt/msg00477.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67138 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #1 from Jason Merrill --- Fixed by r226711.