C++ regression from g++-2.95.2

Mark Mitchell mark@codesourcery.com
Tue Nov 16 12:36:00 GMT 1999


>>>>> "Theodore" == Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> writes:

    >> I bet this a result of Jason's recent patch to arrays/template
    >> handling.  Please try backing out this patch:
    >> 
    >> 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
    >> 
    >> * cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
    >> * pt.c (tsubst, case INTEGER_TYPE): Call it.  Check
    >> uses_template_parms.
    >> 
    >> and see if that fixes it.

    Theodore> Actually, it is the opposite. The patch was not yet in
    Theodore> my version.  I'm updating the tree and checking whether
    Theodore> the patch corrects it.

Ah, well that would be most nice!

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-bugs mailing list