Commit 842d5d6c by Vladimir Makarov Committed by Vladimir Makarov

genattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0.

2002-05-02  Vladimir Makarov  <vmakarov@redhat.com>

	* genattrtab.c (write_function_unit_info): Add a dummy element
	when num_units == 0.

From-SVN: r53067
parent 36ea41a3
2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
* genattrtab.c (write_function_unit_info): Add a dummy element
when num_units == 0.
2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* predict.c: (propagate_freq, estimate_bb_frequencies): Use
......
......@@ -5692,6 +5692,8 @@ write_function_unit_info ()
printf ("}, \n");
}
if (num_units == 0)
printf ("{\"dummy\", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} /* a dummy element */");
printf ("};\n\n");
}
......
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