]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR bootstrap/83062
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Nov 2017 09:55:02 +0000 (09:55 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Nov 2017 09:55:02 +0000 (09:55 +0000)
* ipa-inline.c (can_inline_edge_p): Fix typo in previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254946 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-inline.c

index c0bec3a4394a2e7302da17960b4b87c2dc379878..3cdba2e321cadda7801f5ee646f6817d3217a8ac 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-20  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR bootstrap/83062
+       * ipa-inline.c (can_inline_edge_p): Fix typo in previous patch.
+
 2017-11-20  Aldy Hernandez  <aldyh@redhat.com>
 
        * vec.h (debug_helper): New function.
index 4f1860fb284b8d673a723f7a0fce7abe96f5a89f..2c2706897d963b34f7699e05dfefe5d56efdaba8 100644 (file)
@@ -325,7 +325,7 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
       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;