public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1201
@ 2022-06-08 12:42 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:42 UTC (permalink / raw)
To: gcc-cvs
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 <philip.herron@embecosm.com>
Diff:
gcc/rust/backend/rust-compile-base.cc | 8 +++++---
gcc/rust/backend/rust-compile-base.h | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:42 [gcc/devel/rust/master] Merge #1201 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).