On inlining in C++ with unit-at-a-time code

Andreas Jaeger aj@suse.de
Thu Aug 14 07:31:00 GMT 2003


Gerald Pfeifer <gerald@pfeifer.com> writes:

> On Thu, 7 Aug 2003, Jan Hubicka wrote:
>> I hope we can enable unit-at-a-time at -O2 by default and solve the
>> problem in easy way.  In SuSE we are experimentally building the
>> distribution with it and now all problems directly attributable to
>> unit-at-a-time seems to be gone.
>
> Well, if you can build an entire distribution without problems, that
> certainly looks good enough.

We still have one failure in C++ that Honza will look at before we can
declare "it builds an entire distribution".

But other than that, it looks really good.  We just had to change half
a dozen packages were we had to add an attribute ((used)) since
functions/variables where used only via inline assembly.  And we
tested on x86, x86-64, ia64 and ppc.

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030814/04db9e28/attachment.sig>


More information about the Gcc mailing list