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: Jason Merrill <jason at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 21:16:17 +0100
- Subject: Re: [tree-ssa mudflap] source file/line locations
- References: <20020821155441.A32647@redhat.com>
On Wed, 21 Aug 2002 15:54:42 -0400, "Frank Ch. Eigler" <fche@redhat.com> wrote:
> + /* Track file-name/line-numbers. */
> + if (statement_code_p (TREE_CODE (*t)))
> + last_lineno = STMT_LINENO (*t);
> + else if (TREE_CODE (*t) == FILE_STMT)
> + last_filename = FILE_STMT_FILENAME (*t);
That shouldn't be an else; a FILE_STMT is a statement.
Jason