trans.c (struct loop_info_d): Remove artificial field.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 26 Jan 2019 12:02:51 +0000 (12:02 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 26 Jan 2019 12:02:51 +0000 (12:02 +0000)
* gcc-interface/trans.c (struct loop_info_d): Remove artificial field.
(Loop_Statement_to_gnu): Do not set it.

From-SVN: r268290

gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c

index 40e3ed5c5df69e0e317ed8f5623a412c8397b612..628f318cffb3be230f02f7d64412fc57814005c9 100644 (file)
@@ -1,3 +1,8 @@
+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.
index b00c2482ad5fdac5a5bf16fc5b1c7cc40bd18a3e..be5ce1ca577da5c777d554caec9d74dac6a447a0 100644 (file)
@@ -201,7 +201,6 @@ struct GTY(()) loop_info_d {
   tree omp_construct_clauses;
   enum tree_code omp_code;
   vec<range_check_info, va_gc> *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))