This is the mail archive of the gcc-patches@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]

Don't deffer RTL compilation when tree inlining is done


Hi,
We still do deffer RTL compilation even when we do tree inlining.  Silly.
I am installing this as obivous into mainline once bootstrapping finishes.
Would it be OK for 3.3 branch too?
Wed Mar  5 01:59:07 CET 2003  Jan Hubicka  <jh at suse dot cz>
	* toplev.c (rest_of_compilation):  Deffer RTL compilation only when
	RTL inlining is done.

Index: toplev.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/toplev.c,v
retrieving revision 1.729
diff -c -3 -p -r1.729 toplev.c
*** toplev.c	4 Mar 2003 10:30:46 -0000	1.729
--- toplev.c	5 Mar 2003 01:01:24 -0000
*************** rest_of_compilation (decl)
*** 2518,2523 ****
--- 2518,2524 ----
  
        if (inlinable
  	  || (DECL_INLINE (decl)
+ 	      && flag_inline_functions
  	      && ((! TREE_PUBLIC (decl) && ! TREE_ADDRESSABLE (decl)
  		   && ! TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl))
  		   && ! flag_keep_inline_functions)


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