Commit c230ed0b by Arnaud Charlet

[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
parent 83f14a64
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.
2014-06-09 Jan Hubicka <hubicka@ucw.cz> 2014-06-09 Jan Hubicka <hubicka@ucw.cz>
* gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Use * gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Use
......
...@@ -687,9 +687,9 @@ package body Sem_Util is ...@@ -687,9 +687,9 @@ package body Sem_Util is
end if; end if;
end Bad_Predicated_Subtype_Use; end Bad_Predicated_Subtype_Use;
---------------------------------------- -----------------------------------------
-- Bad_Unordered_Enumeration_Reference -- -- Bad_Unordered_Enumeration_Reference --
---------------------------------------- -----------------------------------------
function Bad_Unordered_Enumeration_Reference function Bad_Unordered_Enumeration_Reference
(N : Node_Id; (N : Node_Id;
...@@ -15908,7 +15908,7 @@ package body Sem_Util is ...@@ -15908,7 +15908,7 @@ package body Sem_Util is
-- Remaining checks are only done on source nodes. Note that we test -- 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 -- for violation of No_Fixed_IO even on non-source nodes, because the
-- cases for checking violations of this restriction are instantiations -- 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 if not Comes_From_Source (N) then
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment