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

From-SVN: r268292

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

index f8f948b8dce50222b3a36668ea8bf93873b68792..df465b9edb840281a5bfd53e079566b60370b0aa 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/decl.c (annotate_value) <INTEGER_CST>: Use test on
index 14de1fbdf61992c7b943b5e0ebec325af3a313d2..25bae750fbbb82452a702e802371d2165e06b218 100644 (file)
@@ -197,7 +197,6 @@ struct GTY(()) loop_info_d {
   tree low_bound;
   tree high_bound;
   vec<range_check_info, va_gc> *checks;
-  bool artificial;
 };
 
 typedef struct loop_info_d *loop_info;
@@ -2841,7 +2840,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);
 
   /* Set the condition under which the loop must keep going.
      For the case "LOOP .... END LOOP;" the condition is always true.  */