From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 433053858284; Sun, 24 Sep 2023 09:41:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 433053858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695548486; bh=AUmmnFIVdQljvoM14lYaoCSynHSg754he8TyC6JUhGs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EmIv7vjWuhfaX9jG6gej0AcBD9T9BI5FWtQG2c1pLws8CKlMrDoxYFE9FW/VHUiOH c/UOKSUsV8tVK9oC2fQnvOybR4vBccdiaZo3KnfPkmg14EWU+7d2I/Wp3wbsDO+1Xv rH/UFwMgykXYRheiGKJuooCjoq4Mf17Ai29aVOro= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111544] [14 regression] assignment of read-only location after r14-4111-g6e92a6a2a72d3b Date: Sun, 24 Sep 2023 09:41:25 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D111544 --- Comment #12 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #10) > So clang most likely thinks b.t and c->t are still type depedent even tho= ugh > they don't need to be ... Which is fine. It's QoI whether non-dependent errors in uninstantiated templates are diagnosed. So Clang is not wrong to accept it. And GCC is not wrong to reject it.=