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

Reply via email to