This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/56714] [4.9 regression] Bootstrap failure libitm/local_atomic:1580:3: error: always_inline function might not be inlinable
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 31 Mar 2013 20:08:22 +0000
- Subject: [Bug bootstrap/56714] [4.9 regression] Bootstrap failure libitm/local_atomic:1580:3: error: always_inline function might not be inlinable
- Auto-submitted: auto-generated
- References: <bug-56714-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56714
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2013-03-31 20:08:22 UTC ---
I guess it is really complaining about the lack of inline modifier.
__attribute__((__always_inline__)) bool
atomic_flag_test_and_set_explicit(atomic_flag* __a,
memory_order __m) noexcept
{ return __a->test_and_set(__m); }
I think adding "inline" should do the trick?
Honza