[distcc] gcc bootstraps with distcc
Mark Mitchell
mark at codesourcery.com
Wed Aug 6 00:51:33 GMT 2003
If this is approved for mainline, it is OK for 3.3.2, once the branch
reopens.
-- Mark
----- Original Message -----
From: "Alexandre Oliva" <aoliva at redhat.com>
To: "Neil Booth" <neil at daikokuya.co.uk>; <mark at codesourcery.com>
Cc: "Thomas Walker" <Thomas.Walker at morganstanley.com>; "Zack Weinberg"
<zack at codesourcery.com>; "Dara Hazeghi" <dhazeghi at yahoo.com>;
<gcc-patches at gcc.gnu.org>; <mbp at sourcefrog.net>; <distcc at lists.samba.org>;
"Mike Stump" <mrs at apple.com>
Sent: Monday, August 04, 2003 9:54 AM
Subject: Re: [distcc] gcc bootstraps with distcc
> Mark, any chance of having this in the 3.3 branch as well, after 3.3.1
> is released? (Assuming it's now too late for 3.3.1; if it's
> not... :-)
>
> On Aug 4, 2003, Alexandre Oliva <aoliva at redhat.com> wrote:
>
> > Index: gcc/ChangeLog
> > from Alexandre Oliva <aoliva at redhat.com>
>
> > * c-ppoutput.c (cb_line_change): Don't skip line changing while
> > parsing macro arguments in the top-level context.
>
> > Index: gcc/c-ppoutput.c
> > ===================================================================
> > RCS file: /cvs/gcc/gcc/gcc/c-ppoutput.c,v
> > retrieving revision 1.7
> > diff -u -p -r1.7 c-ppoutput.c
> > --- gcc/c-ppoutput.c 13 Jul 2003 17:34:17 -0000 1.7
> > +++ gcc/c-ppoutput.c 4 Aug 2003 16:32:47 -0000
> > @@ -260,9 +260,10 @@ print_line (const struct line_map *map,
> > /* Called when a line of output is started. TOKEN is the first token
> > of the line, and at end of file will be CPP_EOF. */
> > static void
> > -cb_line_change (cpp_reader *pfile, const cpp_token *token, int
parsing_args)
> > +cb_line_change (cpp_reader *pfile, const cpp_token *token,
> > + int parsing_args ATTRIBUTE_UNUSED)
> > {
> > - if (token->type == CPP_EOF || parsing_args)
> > + if (token->type == CPP_EOF)
> > return;
>
> > maybe_print_line (print.map, token->line);
> > Index: gcc/testsuite/ChangeLog
> > from Alexandre Oliva <aoliva at redhat.com>
>
> > * gcc.dg/cpp/separate-1.c: New test.
>
> > Index: gcc/testsuite/gcc.dg/cpp/separate-1.c
> > ===================================================================
> > RCS file: gcc/testsuite/gcc.dg/cpp/separate-1.c
> > diff -N gcc/testsuite/gcc.dg/cpp/separate-1.c
> > --- /dev/null 1 Jan 1970 00:00:00 -0000
> > +++ gcc/testsuite/gcc.dg/cpp/separate-1.c 4 Aug 2003 16:43:13 -0000
> > @@ -0,0 +1,12 @@
> > +/* Copyright 2003 Free Software Foundation. */
> > +
> > +/* { dg-do compile } */
> > +/* { dg-options "-save-temps" } */
> > +
> > +/* Make sure we report errors in the right line, even if separate
> > + preprocessing is used. */
> > +
> > +#define FOO()
> > +
> > +int FOO(
> > + ), bar; /* { dg-error "(parse|syntax) error" "error on this line" } */
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist Professional serial bug killer
>
More information about the distcc
mailing list