This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto, testsuite] Don't use visibility on targets that don't support it (PR lto/47334)
- From: Mike Stump <mikestump at comcast dot net>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Guenther <rguenther at suse dot de>
- Date: Tue, 5 Apr 2011 10:42:33 -0700
- Subject: Re: [lto, testsuite] Don't use visibility on targets that don't support it (PR lto/47334)
- References: <ydd62qtaxg1.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On Apr 5, 2011, at 1:56 AM, Rainer Orth wrote:
> * lto.c (promote_var): Only set VISIBILITY_HIDDEN if
> HAVE_GAS_HIDDEN.
This looks wrong, there are more things that have visibility than those things that use GAS and have .hidden. Darwin I think is one of them. ? cygming.h seems to be another.