This is the mail archive of the gcc-prs@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]

Re: c++/10347: [3.4 regression] tree check ICE in dependent_type_p


Old Synopsis: [3.4] tree check ICE in dependent_type_p
New Synopsis: [3.4 regression] tree check ICE in dependent_type_p

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Apr  8 14:11:53 2003
State-Changed-Why:
    Confirmed. A regression on mainline. Can be triggered
    by this surprisingly simple piece of code:
    --------------------------
    void bar (int *);
    
    template <int>
    void foo() {
        bar(new int[1]);
    }
    --------------------------
    
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc: In function `void foo()':
    x.cc:5: internal compiler error: tree check: expected class 't', have 'x' (
       tree_list) in dependent_type_p, at cp/pt.c:11449
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10347


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