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; 2+ 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] 2+ messages in thread

* [Bug c/18382] define __pic__ and/or __PIC__ in c-cppbuiltins.c instead of scattershot in target config
  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 ` zack at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-11-08 20:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2004-11-08 20:36 -------
accept, set milestone.

Just to be clear, I'm not doing this until 4.1 because global changes to target
configury would be too destabilizing right now.  We can live with scattershot
for one more release.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-08 20:36:12
               date|                            |
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-08 20:36 UTC | newest]

Thread overview: 2+ 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

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