This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: source location reorg patch 1/n
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 01 May 2003 20:24:16 +0100
- Subject: Re: source location reorg patch 1/n
- Organization: Codesourcery LLC
- References: <E8F82F8E-7C05-11D7-B4CE-000393A6D2F2@physics.uc.edu>
Andrew Pinski wrote:
In your previous patch, you forgot to change lineno in scan.c and
fix-header.c.
this is the correct fix. Andrew has confirmed it works for him.
It appears a bootstrap doesn't necessarily stress fix-headers :(
installed.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
* scan.h (lineno): Revert the rename here.
Index: scan.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/scan.h,v
retrieving revision 1.18
diff -c -3 -p -r1.18 scan.h
*** scan.h 1 May 2003 16:13:29 -0000 1.18
--- scan.h 1 May 2003 19:06:16 -0000
*************** extern int get_token _PARAMS ((FILE *, s
*** 77,80 ****
extern int source_lineno;
extern sstring source_filename;
/* Current physical line number */
! extern int input_line;
--- 77,80 ----
extern int source_lineno;
extern sstring source_filename;
/* Current physical line number */
! extern int lineno;