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 tree-optimization/38844] [4.3/4.4 Regression] deadlock with __attribute__((always_inline)) at -O1 and above



------- Comment #11 from rguenth at gcc dot gnu dot org  2009-01-28 22:37 -------
We should still optimize

static void bar(void) { foo (); }

inline void __attribute__((always_inline)) foo(void)
{
  foo ();
  bar ();
}

to

foo() { foo(); foo (); }

or similar cases, that is basically collapse a cycle covering multiple
functions into one.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38844


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