trans.c (Regular_Loop_to_gnu): Do not rotate the loop if -Og is enabled.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 23 Sep 2019 08:31:52 +0000 (08:31 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 23 Sep 2019 08:31:52 +0000 (08:31 +0000)
commit09248547abd5cce9eee57b07b8ee788f45f002ee
tree636103bf521e05bdfc3a458d54c2cb6b03e37dad
parent8082999eb2e01e16beca9722664f7575185b0e61
trans.c (Regular_Loop_to_gnu): Do not rotate the loop if -Og is enabled.

* gcc-interface/trans.c (Regular_Loop_to_gnu): Do not rotate the loop
if -Og is enabled.
(build_return_expr): Do not perform NRV if -Og is enabled.
(Subprogram_Body_to_gnu): Likewise.
(gnat_to_gnu) <N_Simple_Return_Statement>: Likewise.
(Handled_Sequence_Of_Statements_to_gnu): Do not inline finalizers if
-Og is enabled.
* gcc-interface/utils.c (convert_to_index_type): Return early if -Og
is enabled.

From-SVN: r276047
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c