aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_util.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-06-11 12:49:33 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-06-11 12:49:33 +0200
commitc230ed0b7e7cfec4bc9c437f833aa703ac9b3f95 (patch)
tree009cd08a126d59c813644336bd154928f17e5ba3 /gcc/ada/sem_util.adb
parent83f14a64efe8bc80360892e9de824644a74d84fd (diff)
downloadgcc-c230ed0b7e7cfec4bc9c437f833aa703ac9b3f95.zip
gcc-c230ed0b7e7cfec4bc9c437f833aa703ac9b3f95.tar.gz
gcc-c230ed0b7e7cfec4bc9c437f833aa703ac9b3f95.tar.bz2
[multiple changes]
2014-06-11 Gary Dismukes <dismukes@adacore.com> * sem_util.adb: Minor typo fix. 2014-06-11 Ed Schonberg <schonberg@adacore.com> * sem_warn.adb (Check_References): Do not emit spurious warnings on uninitialzed variable of a formal private type if variable is not read. From-SVN: r211446
Diffstat (limited to 'gcc/ada/sem_util.adb')
-rw-r--r--gcc/ada/sem_util.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb
index afb62c1..ba472b9 100644
--- a/gcc/ada/sem_util.adb
+++ b/gcc/ada/sem_util.adb
@@ -687,9 +687,9 @@ package body Sem_Util is
end if;
end Bad_Predicated_Subtype_Use;
- ----------------------------------------
+ -----------------------------------------
-- Bad_Unordered_Enumeration_Reference --
- ----------------------------------------
+ -----------------------------------------
function Bad_Unordered_Enumeration_Reference
(N : Node_Id;
@@ -15908,7 +15908,7 @@ package body Sem_Util is
-- Remaining checks are only done on source nodes. Note that we test
-- for violation of No_Fixed_IO even on non-source nodes, because the
-- cases for checking violations of this restriction are instantiations
- -- where the refernece in the instance has Comes_From_Source False.
+ -- where the reference in the instance has Comes_From_Source False.
if not Comes_From_Source (N) then
return;