diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-30 11:57:55 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-30 11:57:55 +0000 |
commit | aaf44d5ae637a9b94975dbe08f00976e543bb78c (patch) | |
tree | 63033fd7f2b79007a6e8b8b4047e0792396cc72a /gcc/ada/exp_ch9.adb | |
parent | 037706917ec2e066bc1d474fcf3326ddbf8036f7 (diff) | |
download | gcc-aaf44d5ae637a9b94975dbe08f00976e543bb78c.tar.gz |
2009-10-30 Bob Duff <duff@adacore.com>
* s-fileio.adb (Errno_Message): Suppress VMS-specific warning.
2009-10-30 Ed Schonberg <schonberg@adacore.com>
* sem_case.adb (Check_Choices): Add explanatory message when there are
missing alternatives when the required range of alternatives is given
by the base type of the case expression or discriminant in a variant
part.
* opt.ads: New flag Warn_On_Overlap, to enable warnings on potentially
dangerous overlap between actuals in a call, activated by -gnatw.i
* sem_warn.adb (Set_Dot_Warning_Switch): set flag.
(Warn_On_Overlapping_Actuals): use new flag.
* gnat_ugn.texi: Document -gnatw.i, warning on overlapping actuals
2009-10-30 Robert Dewar <dewar@adacore.com>
* exp_aggr.adb, exp_ch9.adb: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153740 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch9.adb')
-rw-r--r-- | gcc/ada/exp_ch9.adb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ada/exp_ch9.adb b/gcc/ada/exp_ch9.adb index f9cbf7b50d8..7fe20b37cad 100644 --- a/gcc/ada/exp_ch9.adb +++ b/gcc/ada/exp_ch9.adb @@ -3983,13 +3983,16 @@ package body Exp_Ch9 is Spec_Id : Entity_Id; begin + -- Case of explicit task type, suffix TB + if Comes_From_Source (T) then - -- This is an explicit task type Spec_Id := Make_Defining_Identifier (Loc, Chars => New_External_Name (Chars (T), "TB")); + + -- Case of anonymous task type, suffix B + else - -- This is an anonymous task type Spec_Id := Make_Defining_Identifier (Loc, Chars => New_External_Name (Chars (T), 'B')); |