Commit 4d604303 by Jan Hubicka Committed by Jan Hubicka

final.c (end_final): Do not output profile_arcs constructor, when no functions are instrumented.


	* final.c (end_final): Do not output profile_arcs constructor, when
	no functions are instrumented.

From-SVN: r53455
parent b18b06ed
Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
* final.c (end_final): Do not output profile_arcs constructor, when
no functions are instrumented.
Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz> Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.md (testsi to testqi_zext_1 splitter): Fix typo. * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
......
...@@ -252,7 +252,7 @@ void ...@@ -252,7 +252,7 @@ void
end_final (filename) end_final (filename)
const char *filename; const char *filename;
{ {
if (profile_arc_flag) if (profile_arc_flag && profile_info.count_instrumented_edges)
{ {
char name[20]; char name[20];
tree string_type, string_cst; tree string_type, string_cst;
......
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