aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-05-02 10:53:14 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-05-02 10:53:14 +0100
commitcf9d65a913640ecb4f839fbe2e7683ee00dc07f3 (patch)
tree9560ca20fc0aa6c946ec84e057b6601b20dde6e4 /gcc/rust/backend/rust-compile-expr.h
parentf38bf60c3ac7f039db5ff5c7c0587325097892c8 (diff)
downloadgcc-cf9d65a913640ecb4f839fbe2e7683ee00dc07f3.zip
gcc-cf9d65a913640ecb4f839fbe2e7683ee00dc07f3.tar.gz
gcc-cf9d65a913640ecb4f839fbe2e7683ee00dc07f3.tar.bz2
Generic functions should not be TREE_PUBLIC
Generic functions cannot be public since the symbols could overlap in linking other crates reusing the same generic. The other benifit here is that when optimizations are turned on we can eliminate more code since the symbol does not _need_ to be public.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions