RE: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-26 Thread Gary Funck
We use the feature of placing strings into the object file somewhat differently. We record configuration and compilation-related info. into strings which are collesced into their own linkage section. A runtime component traverses this config. info. section to ensure that the various separately l

Re: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-26 Thread Bruce Lilly
On Mon April 25 2005 20:52, Zack Weinberg wrote: > Bruce Lilly <[EMAIL PROTECTED]> writes: > > > Earlier versions of gcc retain static character strings in object > > files which can be used for identification via ident (RCS) or what > > (SCCS). Gcc 4.0.0 removes them above optimization level 1.

Re: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-26 Thread Bernd Jendrissek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 25, 2005 at 05:52:33PM -0700, Zack Weinberg wrote: > Bruce Lilly <[EMAIL PROTECTED]> writes: > > Earlier versions of gcc retain static character strings in object > > files which can be used for identification via ident (RCS) or what > > (S

Re: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-25 Thread Zack Weinberg
Bruce Lilly <[EMAIL PROTECTED]> writes: > Earlier versions of gcc retain static character strings in object > files which can be used for identification via ident (RCS) or what > (SCCS). Gcc 4.0.0 removes them above optimization level 1. The first observation I'd like to make is that we (the GCC

Re: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-25 Thread Andrew Pinski
On Apr 25, 2005, at 8:15 PM, Bruce Lilly wrote: Hi, Earlier versions of gcc retain static character strings in object files which can be used for identification via ident (RCS) or what (SCCS). Gcc 4.0.0 removes them above optimization level 1. Global strings are retained, of course, but that may l

Re: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-25 Thread Sebastian Biallas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Lilly wrote: > Hi, > > Earlier versions of gcc retain static character strings in object files > which can be used for identification via ident (RCS) or what (SCCS). > Gcc 4.0.0 removes them above optimization level 1. Global strings > are reta

gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)

2005-04-25 Thread Bruce Lilly
Hi, Earlier versions of gcc retain static character strings in object files which can be used for identification via ident (RCS) or what (SCCS). Gcc 4.0.0 removes them above optimization level 1. Global strings are retained, of course, but that may lead to namespace collisions. #ident doesn't wor