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]

PATH: inline does not work with -O3 specified


Hello,

I notieced a problem in the current mainline release. The inlining does not
work when -O3 specified. The typo is in c-common.c (See patch below).
I do not have write permission so can not make the change after aproval.

	Herman.


2002-24-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * c-common.c: (c_common_post_options): Correct typo that disables
	inlining at -O3.
        

--- c-common.c.org	Mon Jun 24 20:51:43 2002
+++ c-common.c	Mon Jun 24 20:51:45 2002
@@ -4279,7 +4279,7 @@ c_common_post_options ()
 
   /* Use tree inlining if possible.  Function instrumentation is only
      done in the RTL level, so we disable tree inlining.  */
-  if (! flag_instrument_function_entry_exit)
+  if (flag_instrument_function_entry_exit)
     {
       if (!flag_no_inline)
 	flag_no_inline = 1;


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