From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 17ECB3858C60; Thu, 3 Nov 2022 20:11:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17ECB3858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667506293; bh=F9vjFeS0gA8PryARf07qLg6ULcohph/WMC8iTxBMAW4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ICkXrb58UG9FvhSrJ9tLEPJG98JgPZcBBpMCS6/OaXkBntcuAFnd8Tn6BNQBsaa5r LlVFGPsAHxa8A9BGeaWy3Xcis8UQ+/gKy3SEW0DjGB6bZtdBlEvLHH8W9sZ29w0T5v 1ILUJZYBKOrhQ0lUEJozDlRyPKZMgnZ1yvNY/DtY= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107492] Unhelpful -Wignored-qualifiers warning in template specialization Date: Thu, 03 Nov 2022 20:11:32 +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: 12.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107492 --- Comment #4 from Jonathan Wakely --- I ... don't remember. It was needed to avoid some error, maybe from std::visit(vis, var) of something like that. But either we never added a test for it or something changed. I can't reproduce an error without that partial specialization now.=