aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/make.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-12-05 11:59:09 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2012-12-05 11:59:09 +0100
commita53c56136d37b424f4f6b89e903763b82c33cfb9 (patch)
tree4c0fa6b38c44a576559169d8ac21ad008797f8bd /gcc/ada/make.adb
parent5e29ae8259c54bdc25e82b3e71c956cde0a49a99 (diff)
downloadgcc-a53c56136d37b424f4f6b89e903763b82c33cfb9.zip
gcc-a53c56136d37b424f4f6b89e903763b82c33cfb9.tar.gz
gcc-a53c56136d37b424f4f6b89e903763b82c33cfb9.tar.bz2
[multiple changes]
2012-12-05 Ed Schonberg <schonberg@adacore.com> * exp_ch5.adb (Expand_N_Assignment_Statement): Handle properly the generation of discriminant checks when the left-hand side has a type with hidden discriminants. * sem_ch3.ads (Is_Visible_Component): Add defaulted parameter to specify the node on which component visibility is being checked. * sem_ch3.adb (Is_Visible_Component): Use new parameter to determine whether the reference comes from a type conversion to a full view of a private type with unknown discriminants. * sem_ch4.adb (Analyze_Selected_Component): Call Is_Visible_Component with added parameter. 2012-12-05 Arnaud Charlet <charlet@adacore.com> * make.adb: Minor comment update. 2012-12-05 Arnaud Charlet <charlet@adacore.com> * gnatlink.adb: Also use -x adascil in CodePeer mode when calling gcc. * exp_ch5.adb: Minor reformatting. 2012-12-05 Bob Duff <duff@adacore.com> * exp_ch4.adb: Minor comment. 2012-12-05 Bob Duff <duff@adacore.com> * par-ch4.adb: Set Paren_Count correctly for a parenthesized expression containing a conditional expression or quantified expression. * sprint.adb: Update comment. 2012-12-05 Bob Duff <duff@adacore.com> * style.adb, scans.ads, styleg.adb: Update comments. 2012-12-05 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Find_Selected_Component): Handle properly an expanded name whose prefix is the expanded name of an enclosing entry, that is to say a construct such as T.E.X, where T is an enclosing concurrent type and E is an enclosing entry. From-SVN: r194204
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r--gcc/ada/make.adb8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index c54debf..97d4278 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -7841,12 +7841,8 @@ package body Make is
Operating_Mode := Check_Semantics;
Check_Object_Consistency := False;
- -- Except in CodePeer mode, where we do want to call bind/link
- -- in CodePeer mode (-P switch).
-
- -- This is testing for -gnatcC, what is that??? Also why do we
- -- want to call bind/link in the codepeer case with -gnatc
- -- specified, seems odd.
+ -- Except in CodePeer mode (set by -gnatcC), where we do want to
+ -- call bind/link in CodePeer mode (-P switch).
if Argv'Last >= 7 and then Argv (7) = 'C' then
CodePeer_Mode := True;