This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] Fix miscompilation of gimple.c
On Wed, Mar 5, 2008 at 6:38 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Wed, Mar 5, 2008 at 6:32 PM, Diego Novillo <dnovillo@google.com> wrote:
> > A void function should not return a value.
>
> In C90/C99, it is valid to do return a(); if the return type is void
> for both functions. This is not valid C++ though.
I have it backwards, oops. Anyways this is caused by the fact normal
bootstrap is broken for the tuples branch.
-- Pinski