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

bangerth@dealii.org bangerth@dealii.org
Tue Apr 8 14:11:00 GMT 2003


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



More information about the Gcc-bugs mailing list