From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id E740C386CE67; Wed, 8 Jun 2022 12:42:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E740C386CE67 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1201 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: fb136314f9584744ccc7b09ace3cea99129b7cf4 X-Git-Newrev: 694114ea9567d1d7bc96b3d5ce287daede11b941 Message-Id: <20220608124206.E740C386CE67@sourceware.org> Date: Wed, 8 Jun 2022 12:42:06 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 12:42:07 -0000 https://gcc.gnu.org/g:694114ea9567d1d7bc96b3d5ce287daede11b941 commit 694114ea9567d1d7bc96b3d5ce287daede11b941 Merge: fb136314f95 cf9d65a9136 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Mon May 2 19:38:51 2022 +0000 Merge #1201 1201: Generic functions should not be TREE_PUBLIC r=philberty a=philberty Generic functions cannot be public since the symbols could overlap in linking other crates reusing the same generic. The other benefit here is that when optimizations are turned on we can eliminate more code since the symbol does not _need_ to be public. Co-authored-by: Philip Herron Diff: gcc/rust/backend/rust-compile-base.cc | 8 +++++--- gcc/rust/backend/rust-compile-base.h | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-)