This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32492] [4.3 Regression] attribute always_inline -> sorry, unimplemented: recursive inlining
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2007 21:33:16 -0000
- Subject: [Bug middle-end/32492] [4.3 Regression] attribute always_inline -> sorry, unimplemented: recursive inlining
- References: <bug-32492-8535@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from pinskia at gcc dot gnu dot org 2007-06-26 21:33 -------
I can find a testcase, if we change where we generate the promotion at the RTL
expansion time, worse code.
Simple testcase:
int f(int b, char a)
{
if (b)
a = 1;
g(a);
}
You can see the difference by looking 3.4 vs 4.2's code generation :).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32492