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 c++/26577] [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile and call to static



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-06 12:42 -------
Reduced testcase which shows the real issue:
struct A
{
    A(const A&);
    A& operator=(const A&);
    static void bar();
    void baz() volatile;
};
void A::baz() volatile
{
    bar();
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1/4.2 regression] ICE
                   |in cp_expr_size with        |in cp_expr_size with
                   |volatile                    |volatile and call to static


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


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