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: "josep dot m dot perez at bsc dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2008 10:06:28 -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 #16 from josep dot m dot perez at bsc dot es 2008-06-11 10:06 -------
The following code still triggers this bug in 4.3 but not in 4.2:
template<class T>
class B {
public:
class C {
public:
__attribute__((always_inline)) C(C const &c)
{
}
};
void __attribute__((always_inline)) g(C c)
{
}
};
void trigger(B<int> b, B<int>::C c)
{
b.g(c);
}
I'm using g++-4.3 (Debian 4.3.1-1) 4.3.1 on x86.
--
josep dot m dot perez at bsc dot es changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |josep dot m dot perez at bsc
| |dot es
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32492