This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa mudflap] source file/line locations
- From: Richard Henderson <rth at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Aug 2002 18:26:26 -0700
- Subject: Re: [tree-ssa mudflap] source file/line locations
- References: <20020821155441.A32647@redhat.com>
On Wed, Aug 21, 2002 at 03:54:42PM -0400, Frank Ch. Eigler wrote:
> +/* And another friend, for producing a simpler message. */
> +static tree
> +mf_file_function_line_tree (file, line)
> + const char * file;
> + int line;
You'd probably be better off keeping file and line separate, as
that'll use less space in the excutable. As-is you'll have hordes of
"longfilename.c:1 (foo)"
"longfilename.c:2 (foo)"
"longfilename.c:3 (foo)"
instead of
"longfilename.c"
"foo"
and some extra code for pushing the new arguments to the runtime.
r~