This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa mudflap] source file/line locations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]