This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26099] support for type traits is not available
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2008 19:54:02 -0000
- Subject: [Bug c++/26099] support for type traits is not available
- References: <bug-26099-3238@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from ghazi at gcc dot gnu dot org 2008-01-27 19:54 -------
(In reply to comment #17)
> Hi Kaveh. One problem I can see is that we are dealing with special member
> functions, like constructors and assignment operators
Ah, I guess you can't make those static.
> Can you see anything
> wrong with the straightforward implementation of idea per the attached
> patchlet? If it looks ok to you, it would be matter of doing the same for the
> other 2 files...
It looks like you reversed the checks for the problematic cases when you see
__PIC__. I wonder whether this will work on darwin which still binds locally
for pic code.
http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00495.html
The regtester might barf on this change, I don't have darwin to check.
If it does, maybe instead you simply nuke the problematic cases when you see
__PIC__.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26099