From: Eric Botcazou Date: Sat, 26 Jan 2019 12:02:51 +0000 (+0000) Subject: trans.c (struct loop_info_d): Remove artificial field. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f915edbe104731838ef8c6821829a93faf5d063;p=gcc.git 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 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 40e3ed5c5df..628f318cffb 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-01-26 Eric Botcazou + + * gcc-interface/trans.c (struct loop_info_d): Remove artificial field. + (Loop_Statement_to_gnu): Do not set it. + 2019-01-26 Eric Botcazou * gcc-interface/trans.c (Iterate_Acc_Clause_Arg): Fix formatting. diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index b00c2482ad5..be5ce1ca577 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -201,7 +201,6 @@ struct GTY(()) loop_info_d { tree omp_construct_clauses; enum tree_code omp_code; vec *checks; - bool artificial; }; typedef struct loop_info_d *loop_info; @@ -3880,7 +3879,6 @@ Loop_Statement_to_gnu (Node_Id gnat_node) /* Save the statement for later reuse. */ gnu_loop_info->stmt = gnu_loop_stmt; - gnu_loop_info->artificial = !Comes_From_Source (gnat_node); /* Perform the core loop body translation. */ if (Is_OpenAcc_Loop (gnat_node))