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]

Fix typo breaking bootstrap


Hi,
while doing a last minute cleanup, I managed to introduce a typo into the patch,
which effectively disables inlining. Sorry for that.

Comitted as obvious,
Honza
	PR bootstrap/83062
	* ipa-inline.c (can_inline_edge_p): Fix typo in previous patch.

Index: ipa-inline.c
===================================================================
--- ipa-inline.c	(revision 254945)
+++ ipa-inline.c	(working copy)
@@ -325,7 +325,7 @@ can_inline_edge_p (struct cgraph_edge *e
       inlinable = false;
     }
   if (!early && (!opt_for_fn (callee->decl, optimize)
-		 || opt_for_fn (caller->decl, optimize)))
+		 || !opt_for_fn (caller->decl, optimize)))
     {
       e->inline_failed = CIF_FUNCTION_NOT_OPTIMIZED;
       inlinable = false;


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