(C++) patch to template/array handling

Mark Mitchell mark@codesourcery.com
Tue Nov 30 23:59:00 GMT 1999

>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:

    Jason> Mark, I suspect that there was some reason why tsubst
    Jason> wasn't already checking uses_template_parms, but the
    Jason> comment doesn't explain it.

I can't imagine what the reason might be.  I don't remember having any
particular thoughts; I agree with your reading of the comment and your
fix looks plausible to me.  Using the new compute_array_index_type is
definitely a good move.

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

More information about the Gcc-patches mailing list