[PATCH] line numbering

Nathan Sidwell nathan@codesourcery.com
Sat Jun 14 15:03:00 GMT 2003


Hi,
this patch changes the interface of init_function_start.
Rather than be given a file and line number tuple, it uses the
DECL_SOURCE_LOCATION of the FUNCTION_DECL it is supplied with.

In the places were it was not immediately obvious that the
previously passed tuple was identical to the DECL's location
I added asserts at those call sites to verify. I found no
failures. (The asserts were a check for my understanding, and
are removed from this patch.)

booted & tested on i686-pc-linux-gnu, ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: line-decl-line2.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030614/520a4fdf/attachment.ksh>


More information about the Gcc-patches mailing list