summaryrefslogtreecommitdiff
path: root/gcc/ada/checks.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-04 13:16:56 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-04 13:16:56 +0000
commitf6742bc085755096f16bd4f80d89b53e5508d0be (patch)
treeb0a80bb7396b365be2b51d7d1140612193541c09 /gcc/ada/checks.adb
parentf83b64ca5fdab1eb0ddbd4266d7105b81b5294ec (diff)
downloadgcc-f6742bc085755096f16bd4f80d89b53e5508d0be.tar.gz
2010-10-04 Vincent Celier <celier@adacore.com>
* sinput-l.adb (Load_File): Do not fail when switch -gnateG is specified and the processed file cannot be written. Just issue a warning and continue. 2010-10-04 Thomas Quinot <quinot@adacore.com> * sem_res.adb: Minor reformatting. 2010-10-04 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Analyze_Subprogram_Renaming): If the renamed operation is an overridden inherited operation, the desired operation is the overriding one, which is the alias of the visible one. 2010-10-04 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Find_Corresponding_Spec): Check that the wrapper body is present before deleting from the tree, when an inherited function with a controlling result that returns a null extension is overridden by a later declaration or body. 2010-10-04 Gary Dismukes <dismukes@adacore.com> * checks.adb: Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/checks.adb')
-rw-r--r--gcc/ada/checks.adb9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/ada/checks.adb b/gcc/ada/checks.adb
index 7448168566c..b67e8d6d66c 100644
--- a/gcc/ada/checks.adb
+++ b/gcc/ada/checks.adb
@@ -819,15 +819,6 @@ package body Checks is
-- node is retained, in order to avoid the warning for
-- redundant conversions in Resolve_Type_Conversion.
- -- The above comment is uncomfortable. This seems like
- -- an awkward covert channel, since there isno general
- -- requirement in sinfo.ads or einfo.ads that requires
- -- this rewrite. Instead, the issue seems to be that in
- -- the old code, some node was incorrectly marked as
- -- coming from source when it should not have been and/or
- -- the warning code did not properly test the appropriate
- -- Comes_From_Soure flag. ???
-
Rewrite (N, Relocate_Node (N));
Set_Etype (N, Target_Type);