This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support Sun as visibility syntax


On Mon, Mar 15, 2010 at 12:59 PM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> While comparing mainline testsuite results on Solaris 11/x86 between Sun
> as and gas, I noticed a few failing testcases with Sun as: while it does
> understand .hidden, just like gas, it fails both with .internal and
> .protected. ?Looking at the Studio 12.1 cc -S output (which supports
> __attribute__((visibility("internal"))) etc. just like gcc), I found
> what's going on:
>
>
> Ok for mainline? ?I only need approval for the testsuite changes (which
> are almost obvious).

Don't change the expected expressions for all targets.  Instead, use the
new one only for solaris and the existing one for non-Solaris.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]