------- Comment #1 from rob dot quill at gmail dot com  2007-11-16 15:03 -------
Hey,

I can confirm this and am trying to investigate the problem. It seems that
more_specialized_fn() loops over the arguments to the first overloaded
function, where in this case there are two, but the tree chain describing the
parameters for the function only contains 1 (i.e. it doesn't count the
ellipses). My current solution just changes the value of len to be at most the
number of items in the chain.

However, I suspect that there is actually something else wrong and that there
should be another node in the chain of type TYPE_PACK_EXPANSION which describes
the variadic-ness of the function.

If anyone can clarify this for me that would be much appreciated.

Rob Quill.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33962

Reply via email to