[COMMITTED] ada: Fix grammar in comment

Message ID 20240507080041.38124-1-poulhies@adacore.com
State Committed
Headers
Series [COMMITTED] ada: Fix grammar in comment |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 warning Patch is already merged

Commit Message

Marc Poulhiès May 7, 2024, 8 a.m. UTC
  From: Piotr Trojanek <trojanek@adacore.com>

Code cleanup.

gcc/ada/

	* exp_aggr.ads (Static_Array_Aggregate): Fix typo in comment.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/exp_aggr.ads | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/ada/exp_aggr.ads b/gcc/ada/exp_aggr.ads
index 8db0a020663..0b92e98370a 100644
--- a/gcc/ada/exp_aggr.ads
+++ b/gcc/ada/exp_aggr.ads
@@ -61,7 +61,7 @@  package Exp_Aggr is
    --  N is an array aggregate that may have a component association with
    --  an others clause and a range. If bounds are static and the expressions
    --  are compile-time known constants, rewrite N as a purely positional
-   --  aggregate, to be use to initialize variables and components of the type
+   --  aggregate, to be used to initialize variables and components of the type
    --  without generating elaboration code.
 
 end Exp_Aggr;