This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inlining failed


Paolo Carlini <pcarlini@unitus.it> writes:

> Gunther Piez wrote:
>
>>It's still there, but you need different code to trigger it.
>>I've tried it with gcc 3.4 20030903.
>> Unforunatly I'm not able to simplify the offending code to more than
>> that (and I have tried hard):
>>
> Here I have ready at hand 3.4 20030905, checked out yesterday, and
> everything is ok on i686-pc-linux-gnu.

Since 0905 the following patch is in:
Fri Sep  5 07:35:16 CEST 2003  Jan Hubicka  <jh@suse.cz>

        * opts.c (decode_options): Enable unit-at-a-time at -O2.
        * params.def (max-inline-insns-single): Set to 500
        (max-inline-insns-auto): Set to 150
        * invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update.

So, it seems that the new heuristics fixed it.

> Therefore, either it was a transient problem, or you meant to post a
> different testcase, or you are on a different architecture. In the
> latter case, probably is just a matter of tuning the inling parameters.

Gunter didn't use "current mainline" but something older,

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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]