On Mon, Sep 19, 2005 at 01:50:35PM -0400, Andrew Pinski wrote:
> 
> On Sep 19, 2005, at 1:44 PM, Gabriel Dos Reis wrote:
> 
> >
> >Hi,
> >
> >   We're assessing many proposals to add "forwarding constructors" and
> >forwarding functions to C++0x; and I got a question.
> >
> >   In standard C++, constructors cannot be recursive functions.  I'm
> >wondering whether the multiple entry-points implementation strategy 
> >used
> >by GCC depends in anyway on the absence of recursive definition.

GCC doesn't implement a multiple entry-points strategy.  I wish it did
:-)  Instead we used cloned functions with slightly different calling
sequences.

I can see no reason why either the multiple entry-points or cloning
approach would have a problem with recursion, though.

> I think people have raised this before but some targets will never
> support multiple entry points.

Which has nothing to do with Gaby's question...

-- 
Daniel Jacobowitz
CodeSourcery, LLC

Reply via email to