This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Functions that return more than one value
- From: Michael S. Zick <mszick at goquest dot com>
- To: law at redhat dot com,Andrew Haley <aph at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Jun 2003 16:43:04 -0500
- Subject: Re: [tree-ssa] Functions that return more than one value
- References: <200306121942.h5CJg5wH020992@speedy.slc.redhat.com>
On Thursday 12 June 2003 02:42 pm, law@redhat.com wrote:
> In message <16104.53962.116860.471302@cuddles.redhat.com>, Andrew Haley
writes:
> >What does tree SSA form do with functions that return more than one
> >value?
> >
> >Is it legitimate to have something like
> >
> > a.3, b.2 <- foo (bar.6, baz.9 )
> >
> >?
> >
> >(No, this isn't relevant to Java. But some languages can return more
> >than one value.)
>
> We don't handle it at the current time.
>
There is a specialized version of C that does handle multiple returns from
a function. This is a "C preprocessor" that outputs ANSI C from its source.
Info: <http://www.sac-home.org/>
Mike
>
> jeff