[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
gcc-bugzilla@gcc.gnu.org
Mon Nov 8 20:35:00 GMT 2004
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
More information about the Gcc-bugs
mailing list