inlining failed

Andreas Jaeger aj@suse.de
Sat Sep 6 17:31:00 GMT 2003


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
-------------- 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/20030906/edaa69fb/attachment.sig>


More information about the Gcc mailing list