seen with 4.3, 4.4, 4.5, 4.6

class A
{
    A * get_a_pointer();
};

template <class T>
void function()
{
    A::get_a_pointer().anything;
}

g++ -c foo.cc 
'
In function 'void function()':
tree check: accessed operand 4 of call_expr with 3 operands in dump_expr, at
cp/error.c:1735
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.


-- 
           Summary: ICE in dump_expr, at cp/error.c:1735
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com


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

Reply via email to