[parisc-linux] Re: g++ (3.3): ...Error: Field out of range

John David Anglin dave@hiauly1.hia.nrc.ca
Thu, 19 Jun 2003 13:48:08 -0400 (EDT)


> Ah, in fact I well read it also but do not figure out because of man comment:
> "max-inline-insns
>     If an function contains more than this many instructions, it
>     will not be inlined.  This option is precisely equivalent to
>     -finline-limit.
> "
> 
> Anyway, I try 300, 200, 100 and stop at 50 without any more success :-(
> (I can still try lower?)

Actually, I see that the `val' from -finline-limit sets the parameters
as follows in 3.4:

      set_param_value ("max-inline-insns", val);
      set_param_value ("max-inline-insns-single", val/2);
      set_param_value ("max-inline-insns-auto", val/2);
      set_param_value ("max-inline-insns-rtl", val);
      if (val/4 < MIN_INLINE_INSNS)
	{
	  if (val/4 > 10)
	    set_param_value ("min-inline-insns", val/4);
	  else
	    set_param_value ("min-inline-insns", 10);
	}

You might also try -fno-default-inline and -fno-inline, but it's
looking as if inlining isn't the driving factor in the size of
the routine.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)