Commit 8f915edb by Eric Botcazou Committed by Eric Botcazou

trans.c (struct loop_info_d): Remove artificial field.

	* gcc-interface/trans.c (struct loop_info_d): Remove artificial field.
	(Loop_Statement_to_gnu): Do not set it.

From-SVN: r268290
parent 22903f22
2019-01-26 Eric Botcazou <ebotcazou@adacore.com> 2019-01-26 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (struct loop_info_d): Remove artificial field.
(Loop_Statement_to_gnu): Do not set it.
2019-01-26 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting. * gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting.
(Acc_gnat_to_gnu): Likewise. (Acc_gnat_to_gnu): Likewise.
(Acc_Data_to_gnu): Likewise. (Acc_Data_to_gnu): Likewise.
......
...@@ -201,7 +201,6 @@ struct GTY(()) loop_info_d { ...@@ -201,7 +201,6 @@ struct GTY(()) loop_info_d {
tree omp_construct_clauses; tree omp_construct_clauses;
enum tree_code omp_code; enum tree_code omp_code;
vec<range_check_info, va_gc> *checks; vec<range_check_info, va_gc> *checks;
bool artificial;
}; };
typedef struct loop_info_d *loop_info; typedef struct loop_info_d *loop_info;
...@@ -3880,7 +3879,6 @@ Loop_Statement_to_gnu (Node_Id gnat_node) ...@@ -3880,7 +3879,6 @@ Loop_Statement_to_gnu (Node_Id gnat_node)
/* Save the statement for later reuse. */ /* Save the statement for later reuse. */
gnu_loop_info->stmt = gnu_loop_stmt; gnu_loop_info->stmt = gnu_loop_stmt;
gnu_loop_info->artificial = !Comes_From_Source (gnat_node);
/* Perform the core loop body translation. */ /* Perform the core loop body translation. */
if (Is_OpenAcc_Loop (gnat_node)) if (Is_OpenAcc_Loop (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