From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF6943858D33; Mon, 6 May 2024 16:35:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF6943858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715013335; bh=t6wYrxIChUfQbMVtjfU2dwfXRQRh/fFXnlQXLrCh9cw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iFdvT0kCwqle0d8dPag0LCpEzURl/JW7WPobJDkeM8vFYORzOCbFt03He8by5EKFQ wDnakGnYi8/rVhsO2J5Ht3uQ6fnh/UrH/5rcQFJeX/NAu5QJsjQV4wdnXgUyiZNQwz m/EsnEEOtdmwPMqunv1L25CGNUZg6Fl7lv0op+Dw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114275] using std::thread within a templated function in a module fails to compile Date: Mon, 06 May 2024 16:35:34 +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.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nshead at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 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=3D114275 --- Comment #9 from Andrew Pinski --- (In reply to Adhemerval Zanella from comment #8) > This has triggered some regression on aarch64 [1]: >=20 > Running g++:g++.dg/modules/modules.exp ... > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=3Dc++17 (test for errors, lin= e 16) > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=3Dc++17 (test for errors, lin= e 19) > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=3Dc++17 (internal compiler err= or: > in set_originating_module, at cp/module.cc:19236) > FAIL: g++.dg/modules/tpl-friend-4_b.C -std=3Dc++17 (test for excess error= s) >=20 > https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/ > 1092/artifact/artifacts/notify/mail-body.txt/*view*/ Yes this is known already see thread starting at https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650315.html . I think th= ere was a new patch submitted already too.=