C++ regression from g++-2.95.2

Theodore Papadopoulo Theodore.Papadopoulo@sophia.inria.fr
Tue Nov 30 23:39:00 GMT 1999


mark@codesourcery.com said:
>     >> 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! 

And indeed, the bug is corrected... Thank's Jason !!

	Theo.

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------




More information about the Gcc-bugs mailing list