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] New: [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile


As reported here:

  http://gcc.gnu.org/ml/gcc-bugs/2006-03/msg00589.html

Confirmed. Fails since GCC 4.0.0.

However, this has nothing to do with templates or inline asm as the
reduced testcase shows:

==================================
struct A
{
    A(const A&);
    A& operator=(const A&);
    static void bar();
    void foo() volatile {}
    void baz() volatile;
};

void A::baz() volatile
{
    foo();
    bar();
}
==================================


-- 
           Summary: [4.0/4.1/4.2 regression] ICE in cp_expr_size with
                    volatile
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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]