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 target/38662] __fastcall confuses a function's throw() specification



------- Comment #1 from dannysmith at users dot sourceforge dot net  2009-01-06 03:49 -------
Confirmed on SVN head.

This also avoids the bug.
//
class E
{
};    

class Test
{
    public:

    __fastcall bool ernie(bool b) throw(E)
    {
    }

    __fastcall bool bert(bool b);
};    

// Make sure definition also has the __attribute fastcall
__fastcall bool Test::bert(bool b)
{
}
//


-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dannysmith at users dot
                   |                            |sourceforge dot net
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-01-06 03:49:31
               date|                            |


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


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