On Nov 12, 2007 6:18 PM, Andrew Lentvorski <[EMAIL PROTECTED]> wrote:
> Carl Lowenstein wrote:
> > I don't much like the attitude of the gcc developers.  "We don't use
> > this ourselves, therefore nobody needs it."
>
> No, what *you* (and others) have asked for is to special case the
> removal of an unused string when optimizing.
>
> I agree with their decision about this.
>
> Especially since there exists an attribute (and probably a pragma) to
> handle this behavior.

Where does one learn that this attribute exists, except by searching
the archives of <[EMAIL PROTECTED]> with some assistance from Google?
__attribute__((used))

> The gcc folks have become increasingly prickly about special casing
> behavior that they don't have to because it almost always leads to bugs.

Perhaps they have lost track of the principle of least surprise.

    carl
-- 
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [EMAIL PROTECTED]

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to