-
- Downloads
[multiple changes]
2011-08-04 Thomas Quinot <quinot@adacore.com> * gnatls.adb: Use Prj.Env.Initialize_Default_Project_Path to retrieve the project path. 2011-08-04 Robert Dewar <dewar@adacore.com> * a-coinho.adb: Minor reformatting. 2011-08-04 Robert Dewar <dewar@adacore.com> * a-coinho.ads: Minor reformatting. 2011-08-04 Vadim Godunko <godunko@adacore.com> * s-atocou.ads, s-atocou.adb: New files. * a-strunb-shared.ads, a-strunb-shared.adb, a-stwiun-shared.ads, a-stwiun-shared.adb, a-stzunb-shared.ads, a-stzunb-shared.adb: Remove direct use of GCC's atomic builtins and replace them by use of new atomic counter package. 2011-08-04 Ed Schonberg <schonberg@adacore.com> * exp_strm.adb: better error message for No_Default_Stream_Attributes. 2011-08-04 Hristian Kirtchev <kirtchev@adacore.com> * a-tags.adb (Unregister_Tag): Replace the complex address arithmetic with a call to Get_External_Tag. * exp_ch7.adb (Build_Cleanup_Statements): Update the comment on subprogram usage. Remove the guard against package declarations and bodies since Build_Cleanup_Statements is no longer invoked in that context. (Build_Components): Initialize Tagged_Type_Stmts when the context contains at least one library-level tagged type. (Build_Finalizer): New local variables Has_Tagged_Types and Tagged_Type_Stmts along with associated comments on usage. Update the logic to include tagged type processing. (Create_Finalizer): Insert all library-level tagged type unregistration code before the jump block circuitry. (Expand_N_Package_Body): Remove the call to Build_Cleanup_Statements. (Expand_N_Package_Declaration): Remove the call to Build_Cleanup_Statements. (Process_Tagged_Type_Declaration): New routine. Generate a call to unregister the external tag of a tagged type. (Processing_Actions): Reimplemented to handle tagged types. (Process_Declarations): Detect the declaration of a library-level tagged type and carry out the appropriate actions. (Unregister_Tagged_Types): Removed. The machinery has been directly merged with Build_Finalizer. From-SVN: r177401
Showing
- gcc/ada/ChangeLog 51 additions, 0 deletionsgcc/ada/ChangeLog
- gcc/ada/a-coinho.adb 7 additions, 9 deletionsgcc/ada/a-coinho.adb
- gcc/ada/a-coinho.ads 2 additions, 1 deletiongcc/ada/a-coinho.ads
- gcc/ada/a-strunb-shared.adb 5 additions, 18 deletionsgcc/ada/a-strunb-shared.adb
- gcc/ada/a-strunb-shared.ads 3 additions, 3 deletionsgcc/ada/a-strunb-shared.ads
- gcc/ada/a-stwiun-shared.adb 5 additions, 18 deletionsgcc/ada/a-stwiun-shared.adb
- gcc/ada/a-stwiun-shared.ads 3 additions, 3 deletionsgcc/ada/a-stwiun-shared.ads
- gcc/ada/a-stzunb-shared.adb 5 additions, 18 deletionsgcc/ada/a-stzunb-shared.adb
- gcc/ada/a-stzunb-shared.ads 3 additions, 3 deletionsgcc/ada/a-stzunb-shared.ads
- gcc/ada/a-tags.adb 1 addition, 5 deletionsgcc/ada/a-tags.adb
- gcc/ada/exp_ch7.adb 116 additions, 102 deletionsgcc/ada/exp_ch7.adb
- gcc/ada/exp_strm.adb 19 additions, 0 deletionsgcc/ada/exp_strm.adb
- gcc/ada/gnatls.adb 13 additions, 93 deletionsgcc/ada/gnatls.adb
- gcc/ada/s-atocou.adb 74 additions, 0 deletionsgcc/ada/s-atocou.adb
- gcc/ada/s-atocou.ads 70 additions, 0 deletionsgcc/ada/s-atocou.ads
Loading
Please register or sign in to comment