[Bug bootstrap/83062] [8 regression] 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
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 20 09:50:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83062
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
I think it's a typo, should be:
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;
Honza?
More information about the Gcc-bugs
mailing list