Commit aa9ace3e by Jakub Jelinek Committed by Jakub Jelinek

trans.c (gnat_to_gnu): Initialize sync to false to avoid UB.

	* gcc-interface/trans.c (gnat_to_gnu): Initialize sync to false to
	avoid UB.

From-SVN: r249604
parent 08c273bb
2017-06-23 Jakub Jelinek <jakub@redhat.com>
* gcc-interface/trans.c (gnat_to_gnu): Initialize sync to false to
avoid UB.
2017-06-21 Pierre-Marie de Rodat <derodat@adacore.com>
* gcc-interface/ada-tree.h (DECL_FUNCTION_IS_DEF): Update copyright
......
......@@ -5883,7 +5883,7 @@ gnat_to_gnu (Node_Id gnat_node)
tree gnu_result_type = void_type_node;
tree gnu_expr, gnu_lhs, gnu_rhs;
Node_Id gnat_temp;
bool sync;
bool sync = false;
/* Save node number for error message and set location information. */
error_gnat_node = gnat_node;
......
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