From: Jan Hubicka Date: Mon, 20 Nov 2017 09:55:02 +0000 (+0100) Subject: re PR bootstrap/83062 (Bootstrap failure: libsanitizer/tsan/tsan_rtl.h:713:44: error... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12b8cb2e5b236faeb012fc544b27d32ce6cedde7;p=gcc.git re PR bootstrap/83062 (Bootstrap failure: libsanitizer/tsan/tsan_rtl.h:713:44: error: inlining failed in call to always_inline ‘void __tsan::MemoryRead(__tsan::ThreadState*, __sanitizer::uptr, __sanitizer: :uptr, int)’: caller is not optimized) PR bootstrap/83062 * ipa-inline.c (can_inline_edge_p): Fix typo in previous patch. From-SVN: r254946 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0bec3a4394..3cdba2e321c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-11-20 Jan Hubicka + + PR bootstrap/83062 + * ipa-inline.c (can_inline_edge_p): Fix typo in previous patch. + 2017-11-20 Aldy Hernandez * vec.h (debug_helper): New function. diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 4f1860fb284..2c2706897d9 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -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;