From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED6EB3858C52; Mon, 14 Nov 2022 11:26:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED6EB3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668425170; bh=jAYCX/xpwnaxfbcqZglTWycaukH5eP70xXDvjb3v7Uo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kyEVOzdZ1P0u3yh5QmS2Y9/NLdEacgf5VPbctCear2UfzSxa4f92e1OUxlyskmrHH hqMAKm6LM2Xohiq54Q0YmTHanBHBKm2J5hYmch+izOBOav5oyqfpdMk+sTbi8gqoGP u4WXj5LfYQAreptzD91B8Ie83eX/Uo7cenePmSo4= From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug rust/107633] [13 regression] Bootstrap failure due to -Werror=unused-parameter and -Werror=dangling-reference Date: Mon, 14 Nov 2022 11:26:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE 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: 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=3D107633 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Marek Polacek --- > https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605800.html, if > accepted, should help. The patch doesn't apply cleanly to the devel/rust/master branch, unfortunately. Even when I adjust it manually, the build fails with /vol/gcc/src/hg/master/rust/gcc/cp/call.cc: In function 'void maybe_warn_dangling_reference(const_tree, tree)': /vol/gcc/src/hg/master/rust/gcc/cp/call.cc:13547:5: error: 'std_pair_ref_re= f_p' was not declared in this scope 13547 | || std_pair_ref_ref_p (type))) | ^~~~~~~~~~~~~~~~~~ I'll leave this to the rust developers to figure out: my primary goal was to check if the branch still builds on Solaris and has reasonable rust test results. Another message to the developers is to try a bootstrap build once in a while: while non-bootstrap is certainly reasonable during development, finding that bootstrap is broken shortly before the merge date isn't the best idea, I believe ;-)=