public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6214] [Ada] Refine type of a multi unit index number
@ 2020-12-17 10:51 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2020-12-17 10:51 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7948214670c90dfdb656b7c71779745776f74f41
commit r11-6214-g7948214670c90dfdb656b7c71779745776f74f41
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Tue Dec 1 23:42:06 2020 +0100
[Ada] Refine type of a multi unit index number
gcc/ada/
* opt.ads (Multiple_Unit_Index): Refine type from Int to Nat.
Diff:
---
gcc/ada/opt.ads | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/opt.ads b/gcc/ada/opt.ads
index f55e9c665e2..6b32a962e29 100644
--- a/gcc/ada/opt.ads
+++ b/gcc/ada/opt.ads
@@ -1135,7 +1135,7 @@ package Opt is
-- make it easier to interface with back ends that implement C semantics.
-- There is a section in Sinfo which describes the transformations made.
- Multiple_Unit_Index : Int := 0;
+ Multiple_Unit_Index : Nat := 0;
-- GNAT
-- This is set non-zero if the current unit is being compiled in multiple
-- unit per file mode, meaning that the current unit is selected from the
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-17 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 10:51 [gcc r11-6214] [Ada] Refine type of a multi unit index number Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).