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 middle-end/32492] [4.3 Regression] attribute always_inline -> sorry, unimplemented: recursive inlining



------- 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


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