[C++-SIG] Restarting

Joe Van Andel vanandel at ucar.edu
Thu Apr 29 20:32:07 CEST 1999


The egcs snapshots are on:
ftp://egcs.cygnus.com/pub/egcs/snapshots/index.html

I've attached the patch to this mail.


-- 
Joe VanAndel  	          Internet: vanandel at ucar.edu
National Center for 	  http://www.atd.ucar.edu/~vanandel/
Atmospheric Research
-------------- next part --------------
*** integrate.c.orig	Tue Apr 20 16:26:50 1999
--- integrate.c	Tue Apr 20 16:32:19 1999
***************
*** 121,126 ****
--- 121,130 ----
    register tree parms;
    rtx result;
  
+   /* We place a limit on even functions marked as inline.  */
+   if (DECL_INLINE (fndecl))
+     max_insns *= 100;
+ 
    /* No inlines with varargs.  */
    if ((last && TREE_VALUE (last) != void_type_node)
        || current_function_varargs)
***************
*** 136,142 ****
      return current_function_cannot_inline;
  
    /* If its not even close, don't even look.  */
!   if (!DECL_INLINE (fndecl) && get_max_uid () > 3 * max_insns)
      return N_("function too large to be inline");
  
  #if 0
--- 140,146 ----
      return current_function_cannot_inline;
  
    /* If its not even close, don't even look.  */
!   if ( get_max_uid () > 3 * max_insns)
      return N_("function too large to be inline");
  
  #if 0
***************
*** 170,176 ****
  	return N_("function with transparent unit parameter cannot be inline");
      }
  
!   if (!DECL_INLINE (fndecl) && get_max_uid () > max_insns)
      {
        for (ninsns = 0, insn = get_first_nonparm_insn ();
  	   insn && ninsns < max_insns;
--- 174,180 ----
  	return N_("function with transparent unit parameter cannot be inline");
      }
  
!   if (get_max_uid () > max_insns)
      {
        for (ninsns = 0, insn = get_first_nonparm_insn ();
  	   insn && ninsns < max_insns;


More information about the Cplusplus-sig mailing list