diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-11 13:21:21 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-11 13:21:21 +0000 |
commit | cba2ae82b16bf383559d47de17d9c6941ab5be81 (patch) | |
tree | c26ec77aa0dc495db79fc307769ea6b8a6b21a59 /gcc/ada/back_end.ads | |
parent | 489c9814633b5495bcde7f61998cdb5b6e80a383 (diff) | |
download | gcc-cba2ae82b16bf383559d47de17d9c6941ab5be81.tar.gz |
2013-04-11 Robert Dewar <dewar@adacore.com>
* back_end.adb (Register_Back_End_Types): Moved to Get_Targ
* back_end.ads (C_String): Moved to Get_Targ
(Register_Type_Proc): Moved to Get_Targ (Register_Back_End_Types):
Moved to Get_Targ.
* cstand.adb (Register_Float_Type): New interface
(Create_Back_End_Float_Types): Use entries in FPT_Mode_Table.
* get_targ.adb (Register_Back_End_Types): Moved here from
Back_End.
* get_targ.ads (C_String): Moved here from Back_End
(Register_Type_Proc): Moved here from Back_End
(Register_Back_End_Types): here from Back_End.
* gnat1drv.adb (GGnat11drv): Add call to
Write_Target_Dependent_Values;
* lib-writ.ads, lib-writ.adb (Write_ALI): Remove section writing
obsolete target dependent info.
* opt.ads (Generate_Target_Dependent_Info):
Removed (Target_Dependent_Info_Read): New flag
(Target_Dependent_Info_Write): New flag
* output.adb: Minor comment change
* s-os_lib.ads: Minor reformatting
* set_targ.ads, set_targ.adb: Minor reformatting.
* switch-c.adb (Scan_Switches.First_Ptr): New variable
(Scan_Front_End_Switches): Check -gnatd.b, -gnateT come first
(Scan_Front_End_Switches): Handle -gnatet, -gnateT
* ttypes.ads: Remove documentation section on target dependent
info in ali file Remove four letter codes, no longer used Instead
of using Get_Targ.Get_xxx, we use Set_Targ.xxx
* usage.adb: Add usage lines for -gnatet/-gnateT
* gcc-interface/Make-lang.in: Update dependencies.
2013-04-11 Thomas Quinot <quinot@adacore.com>
* sem_ch4.adb: Update documentation.
* sinfo.ads (N_Expression_With_Actions): Ditto.
2013-04-11 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch13.adb (Analyze_Aspect_Specifications):
Add a guard to prevent the double insertion of the same aspect
into a rep item list. This previously led to a circularity.
2013-04-11 Ed Schonberg <schonberg@adacore.com>
* sem_attr.adb (Eval_Attribute, case 'Access): Reject attribute
reference if the prefix is the dereference of an anonymous access
to subprogram type.
* exp_attr.adb (Expand_N_Attribute_Reference, Access_Cases): Handle
properly a reference to the current instance of a protected type
from within a protected subprogram.
* sem_res.adb (Find_Unique_Access_Type): Treat
Attribute_Access_Type like Allocator_Type when resolving an
equality operator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197791 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/back_end.ads')
-rw-r--r-- | gcc/ada/back_end.ads | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/gcc/ada/back_end.ads b/gcc/ada/back_end.ads index 4f30b039f39..ba25a83fb7e 100644 --- a/gcc/ada/back_end.ads +++ b/gcc/ada/back_end.ads @@ -23,11 +23,7 @@ -- -- ------------------------------------------------------------------------------ --- Call the back end with all the information needed. Also contains other --- back-end specific interfaces required by the front end. See also Get_Targ, --- which defines additional interfaces to the back end. - -with Einfo; use Einfo; +-- Call the back end with all the information needed package Back_End is @@ -47,25 +43,6 @@ package Back_End is pragma Convention (C, Back_End_Mode_Type); for Back_End_Mode_Type use (0, 1, 2); - type C_String is array (0 .. 255) of aliased Character; - pragma Convention (C, C_String); - - type Register_Type_Proc is access procedure - (C_Name : C_String; -- Nul-terminated string with name of type - Digs : Natural; -- Nr or digits for floating point, 0 otherwise - Complex : Boolean; -- True iff type has real and imaginary parts - Count : Natural; -- Number of elements in vector, 0 otherwise - Float_Rep : Float_Rep_Kind; -- Representation used for fpt type - Size : Positive; -- Size of representation in bits - Alignment : Natural); -- Required alignment in bits - pragma Convention (C, Register_Type_Proc); - -- Call back procedure for Register_Back_End_Types. This is to be used by - -- Create_Standard to create predefined types for all types supported by - -- the back end. - - procedure Register_Back_End_Types (Call_Back : Register_Type_Proc); - -- Calls the Call_Back function with information for each supported type - procedure Call_Back_End (Mode : Back_End_Mode_Type); -- Call back end, i.e. make call to driver traversing the tree and -- outputting code. This call is made with all tables locked. The back |