From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2B467385514B; Mon, 12 Dec 2022 13:54:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B467385514B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670853269; bh=4kr3kZmHhlortjjs0NGGaZ1yKUKPMbrkSOc5El5yF14=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AQANEr/cdt3+6CzYMd3Va0wsuCn9VDO3pSuQq0N48Y4Y8vcW1g+DwT9m28LK/aqK7 uUHGtmQMjfeACxQA0gef64Ul+MdQcjgS35OO98Bww9/6bWWfzgUTKpbvvjfxFx3WV9 gw6pWVpa5zM2xdWh+wO6s1iOCHXnY4u6aMKAKw6M= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108071] [13 Regression] Build failure in Libreoffice since r13-4565 Date: Mon, 12 Dec 2022 13:54:29 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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=3D108071 --- Comment #8 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #7) > Got a build failure of clang-14 on this week's gcc. Minimal example: Forgot the example itself: // $ cat bug.cc.cc #include class OptSpecifier; struct ArrayRef { ArrayRef(std::initializer_list); }; struct OptSpecifier { explicit OptSpecifier(bool); OptSpecifier(unsigned); }; struct ArgList { void AddAllArgs(ArrayRef) const; }; enum { OPT_u }; struct Linker { void ConstructJob(const ArgList &) const; }; void Linker::ConstructJob(const ArgList &Args) const { Args.AddAllArgs({OPT_u}); }=