public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/35827] -fvisibility only works for C/C++/Objective-C/Objective-C++
Date: Fri, 04 Apr 2008 18:13:00 -0000	[thread overview]
Message-ID: <20080404181249.17191.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35827-8829@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-04-04 18:12 -------
-fvisibility should be only a C/C++ option as you cannot change the visibility
in any other language.  Also it is only implemented for
C/C++/Objective-C/Objective-C++:
[dhcp-10-98-10-23:local/gcc/gcc] apinski% grep default_visibility */*.c
cp/decl.c:    default_visibility = VISIBILITY_HIDDEN;
cp/decl2.c:       DECL_VISIBILITY (decl) = default_visibility;
[dhcp-10-98-10-23:local/gcc/gcc] apinski% grep default_visibility *.c
c-common.c:      DECL_VISIBILITY (decl) = default_visibility;
c-pragma.c:              default_visibility);
c-pragma.c:    default_visibility = VISIBILITY_DEFAULT;
c-pragma.c:    default_visibility = VISIBILITY_INTERNAL;
c-pragma.c:    default_visibility = VISIBILITY_HIDDEN;
c-pragma.c:    default_visibility = VISIBILITY_PROTECTED;
c-pragma.c:  default_visibility = VEC_pop (visibility, visstack);
opts.c:enum symbol_visibility default_visibility = VISIBILITY_DEFAULT;
opts.c:          default_visibility = VISIBILITY_DEFAULT;
opts.c:          default_visibility = VISIBILITY_INTERNAL;
opts.c:          default_visibility = VISIBILITY_HIDDEN;
opts.c:          default_visibility = VISIBILITY_PROTECTED;


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
          Component|fortran                     |middle-end
            Summary|gfortran doesn't respect -  |-fvisibility only works for
                   |fvisibility                 |C/C++/Objective-C/Objective-
                   |                            |C++


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35827


  reply	other threads:[~2008-04-04 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 18:09 [Bug fortran/35827] New: gfortran doesn't respect -fvisibility 3dw4rd at verizon dot net
2008-04-04 18:13 ` pinskia at gcc dot gnu dot org [this message]
     [not found] <bug-35827-4@http.gcc.gnu.org/bugzilla/>
2011-06-10 10:20 ` [Bug middle-end/35827] -fvisibility only works for C/C++/Objective-C/Objective-C++ roucaries.bastien+bugs at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080404181249.17191.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).