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

Reply via email to