diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-16 17:07:25 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-16 17:07:25 +0000 |
commit | 46c395705590ed6d30d90f0a6c337485083a9bb0 (patch) | |
tree | c4a4eeb9753ad81cbabe2866c3a6b329949e5e93 /gcc/java/class.c | |
parent | f54a4242f1d24e5a348e959d9a3d3c22ace0a2cd (diff) | |
download | gcc-46c395705590ed6d30d90f0a6c337485083a9bb0.tar.gz |
PR target/32462
PR libgcj/32465
* class.c (hide): Wrap in HAVE_GAS_HIDDEN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index bbfe4f26993..90381211ed6 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -691,10 +691,12 @@ build_java_method_type (tree fntype, tree this_class, int access_flags) } static void -hide (tree decl) +hide (tree decl ATTRIBUTE_UNUSED) { +#ifdef HAVE_GAS_HIDDEN DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN; DECL_VISIBILITY_SPECIFIED (decl) = 1; +#endif } tree |