From 12b8cb2e5b236faeb012fc544b27d32ce6cedde7 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 20 Nov 2017 10:55:02 +0100 Subject: [PATCH] =?utf8?q?re=20PR=20bootstrap/83062=20(Bootstrap=20failure?= =?utf8?q?:=20libsanitizer/tsan/tsan=5Frtl.h:713:44:=20error:=20inlining?= =?utf8?q?=20failed=20in=20call=20to=20always=5Finline=20=E2=80=98void=20?= =?utf8?q?=5F=5Ftsan::MemoryRead(=5F=5Ftsan::ThreadState*,=20=5F=5Fsanitiz?= =?utf8?q?er::uptr,=20=5F=5Fsanitizer:=20:uptr,=20int)=E2=80=99:=20caller?= =?utf8?q?=20is=20not=20optimized)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR bootstrap/83062 * ipa-inline.c (can_inline_edge_p): Fix typo in previous patch. From-SVN: r254946 --- gcc/ChangeLog | 5 +++++ gcc/ipa-inline.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2