This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38844] [4.3/4.4 Regression] deadlock with __attribute__((always_inline)) at -O1 and above
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2009 22:37:17 -0000
- Subject: [Bug tree-optimization/38844] [4.3/4.4 Regression] deadlock with __attribute__((always_inline)) at -O1 and above
- References: <bug-38844-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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