Commit cc370422 by Frank Ch. Eigler Committed by Frank Ch. Eigler

tree-mudflap.c (mf_file_function_line_tree): Correct typo that prevented…

tree-mudflap.c (mf_file_function_line_tree): Correct typo that prevented descriptive __mf_check source location strings.

2004-07-16  Frank Ch. Eigler  <fche@redhat.com>

	* tree-mudflap.c (mf_file_function_line_tree): Correct typo
	that prevented descriptive __mf_check source location strings.

From-SVN: r84836
parent b764adea
2004-07-16 Frank Ch. Eigler <fche@redhat.com>
* tree-mudflap.c (mf_file_function_line_tree): Correct typo
that prevented descriptive __mf_check source location strings.
2004-07-16 Richard Henderson <rth@redhat.com>
* tree-def (WITH_SIZE_EXPR): New.
......
......@@ -195,10 +195,11 @@ mf_file_function_line_tree (location_t location)
tree result;
/* Add FILENAME[:LINENUMBER]. */
if (xloc.file == NULL && current_function_decl != NULL_TREE)
xloc.file = DECL_SOURCE_FILE (current_function_decl);
if (xloc.file == NULL)
xloc.file = "<unknown file>";
file = xloc.file;
if (file == NULL && current_function_decl != NULL_TREE)
file = DECL_SOURCE_FILE (current_function_decl);
if (file == NULL)
file = "<unknown file>";
if (xloc.line > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment