public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18382] New: define __pic__ and/or __PIC__ in c-cppbuiltins.c instead of scattershot in target config
@ 2004-11-08 20:35 zack at gcc dot gnu dot org
  2004-11-08 20:36 ` [Bug c/18382] " zack at gcc dot gnu dot org
  0 siblings, 1 reply; 7+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-11-08 20:35 UTC (permalink / raw)
  To: gcc-bugs

The __pic__ and __PIC__ macros are currently defined scattershot in target
configuration files, some using specs %{pic:-D...} notation and some using
builtin_define() from TARGET_*_CPP_BUILTINS.  It would be better to define
them in a consistent fashion (__pic__ only if -fpic, both if -fPIC) in
c-cppbuiltin.c.  See bug 6123 for examples of what this would help.

I'm tasking myself with this, but I'm not going to do it until 4.1.

-- 
           Summary: define __pic__ and/or __PIC__ in c-cppbuiltins.c instead
                    of scattershot in target config
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: zack at gcc dot gnu dot org
        ReportedBy: zack at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: *-*-*
OtherBugsDependingO 6123
             nThis:


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <20041108203449.18382.zack@codesourcery.com>]
[parent not found: <20041108203449.18382.zackw@panix.com>]
[parent not found: <bug-18382-37@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-11-22  3:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-08 20:35 [Bug c/18382] New: define __pic__ and/or __PIC__ in c-cppbuiltins.c instead of scattershot in target config zack at gcc dot gnu dot org
2004-11-08 20:36 ` [Bug c/18382] " zack at gcc dot gnu dot org
     [not found] <20041108203449.18382.zack@codesourcery.com>
2005-04-05  1:54 ` pinskia at gcc dot gnu dot org
2005-07-05  2:04 ` pinskia at gcc dot gnu dot org
     [not found] <20041108203449.18382.zackw@panix.com>
2005-08-24 19:16 ` ghazi at gcc dot gnu dot org
2005-09-07 14:18 ` ghazi at gcc dot gnu dot org
     [not found] <bug-18382-37@http.gcc.gnu.org/bugzilla/>
2005-11-22  3:27 ` ghazi at gcc dot gnu dot org

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).