From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA6383857017; Mon, 5 Sep 2022 18:59:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA6383857017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662404352; bh=+Nr9sYl3eEhKUy+yIk6BVe+cGSLneth1cbcNoTemQks=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YUZUFHPC232mGFsc37YmBHgjrw9soKkzArrNfu5Rb4HGd6UjJAM3gxnfO9LEg6alm icnsIPkHxuE6L4/YVZAesFzxEuhp1Rm7OIphCNyxWKqJdI7cmwhqQsFD7Sz9zdzejA FwBDhDVr9eeBKotnl3ipvLOKuYsaV1f7HwRjVsOs= From: "johelegp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result Date: Mon, 05 Sep 2022 18:59:12 +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: 13.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: johelegp at gmail dot com 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail short_desc 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=3D106826 Johel Ernesto Guerrero Pe=C3=B1a changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |12.2.0 Known to fail| |13.0 Summary|[modules] Variable template |[13 Regression] [modules] |of type trait via |Variable template of type |importable header gives |trait via importable header |wrong result |gives wrong result --- Comment #1 from Johel Ernesto Guerrero Pe=C3=B1a --- As mentioned, this works with GCC 12: https://godbolt.org/z/bnfzPc5M8.=