This is the mail archive of the gcc-patches@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++ PATCH] [PR13997] Fix partial ordering of array types (regression3.4/3.5)


Giovanni Bajo wrote:

Hello,

This is a fallout of a patch of mines:
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg00822.html

My fix to tsubst <INTEGER_TYPE> for array domains was assuming that subsequent
code (compute_array_index_type) was able to properly check for value
dependness. This was untrue in some cases, for instance while trying to order
between two different partial specializations. The following patch cures this,
in exactly the same way it's already cured in more_specialized for function
templates.

Tested on i686-pc-linux-gnu, OK for 3.4/mainline?

OK.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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