From: Eric Botcazou Date: Sat, 26 Jan 2019 12:03:12 +0000 (+0000) Subject: trans.c (struct loop_info_d): Remove artificial field. X-Git-Tag: releases/gcc-7.5.0~639 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655e887b5306e97488c2fe794465cc8762550ec1;p=thirdparty%2Fgcc.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: r268292 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index f8f948b8dce5..df465b9edb84 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/decl.c (annotate_value) : Use test on diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index 14de1fbdf619..25bae750fbbb 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -197,7 +197,6 @@ struct GTY(()) loop_info_d { tree low_bound; tree high_bound; vec *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. */