This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/56714] [4.9 regression] Bootstrap failure libitm/local_atomic:1580:3: error: always_inline function might not be inlinable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]