1. 02 Apr, 2012 12 commits
    • Complete previous change. · a7942a0e
      From-SVN: r186073
      Arnaud Charlet committed
    • [multiple changes] · a1e16658
      2012-04-02  Jose Ruiz  <ruiz@adacore.com>
      
      	* gnat_ugn.texi: Add some minimal documentation about how to
      	use GNATtest for cross platforms.
      
      2012-04-02  Vincent Celier  <celier@adacore.com>
      
      	* opt.ads (Object_Path_File_Name): New variable.
      	* prj-attr.adb: New Compiler attribute Object_Path_Switches.
      	* prj-nmsc.adb (Process_Compiler): Recognize new attribute
      	Object_Path_Switches.
      	* snames.ads-tmpl: New standard name Object_Path_Switches.
      	* switch-c.adb (Scan_Front_End_Switches): Recognize new switch
      	-gnateO= and put its value in Opt.Object_Path_File_Name.
      
      From-SVN: r186072
      Arnaud Charlet committed
    • [multiple changes] · a429e6b3
      2012-04-02  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_ch7.adb (Process_Declarations): Detect a case where
      	a source object was initialized by another source object,
      	but the expression was rewritten as a class-wide conversion
      	of Ada.Tags.Displace.
      	* exp_util.adb (Initialized_By_Ctrl_Function): Removed.
      	(Is_Controlled_Function_Call): New routine.
      	(Is_Displacement_Of_Ctrl_Function_Result): Removed.
      	(Is_Displacement_Of_Object_Or_Function_Result): New routine.
      	(Is_Source_Object): New routine.
      	(Requires_Cleanup_Actions): Detect a case where a source object was
      	initialized by another source object, but the expression was rewritten
      	as a class-wide conversion of Ada.Tags.Displace.
      	* exp_util.ads (Is_Displacement_Of_Ctrl_Function_Result): Removed.
      	(Is_Displacement_Of_Object_Or_Function_Result): New routine.
      
      2012-04-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_res.adb (Resolve_Call): A call to an expression function
      	does not freeze if it appears in a different scope from the
      	expression function itself. Such calls appear in the generated
      	bodies of other expression functions, or in pre/postconditions
      	of subsequent subprograms.
      
      From-SVN: r186071
      Arnaud Charlet committed
    • [multiple changes] · e228f7ee
      2012-04-02  Yannick Moy  <moy@adacore.com>
      
      	* lib-xref-alfa.adb: Code clean up.
      
      2012-04-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Analyze_Subprogram_Instantiation): Do not suppress
      	style checks, because the subprogram instance itself may contain
      	violations of syle rules.
      	* style.adb (Missing_Overriding): Check for missing overriding
      	indicator on a subprogram instance.
      
      2012-04-02  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch6.adb (Last_Implicit_Declaration): New routine.
      	(Process_PPCs): Insert the body of _postconditions after the
      	last internally generated declaration. This ensures that actual
      	subtypes created for formal parameters are visible and properly
      	frozen as _postconditions may reference them.
      
      From-SVN: r186070
      Arnaud Charlet committed
    • 2012-04-02 Robert Dewar <dewar@adacore.com> · 99fc068e
      	* einfo.adb (First_Component_Or_Discriminant) Now applies to
      	all types with discriminants, not just records.
      	* exp_attr.adb (Expand_N_Attribute): Add Scalar_Values handling
      	for arrays, scalars and non-variant records.
      	* sem_attr.adb (Analyze_Attribute): Handle Valid_Scalars
      	* sem_attr.ads (Valid_Scalars): Update description
      	* sem_util.ads, sem_util.adb (No_Scalar_Parts): New function.
      
      From-SVN: r186069
      Robert Dewar committed
    • PR c++/40942 - Failure of template specialization partial ordering · cdc30df3
      gcc/cp/
      
      	* pt.c (more_specialized_fn):  Don't apply decay conversion to
      	types of function parameters.
      
      gcc/testsuite/
      
      	* g++.old-deja/g++.pt/spec40.C: Adjust to take the resolution of
      	DR 214 in account.
      
      From-SVN: r186067
      Dodji Seketeli committed
    • crossconfig.m4 (*-*-*vms*): Add. · db435dce
      2012-04-02  Tristan Gingold  <gingold@adacore.com>
      
              * crossconfig.m4 (*-*-*vms*): Add.
              * configure: Regenerate.
      
      From-SVN: r186066
      Tristan Gingold committed
    • 2012-04-02 Tristan Gingold <gingold@adacore.com> · 2a6e6fea
              * ggc-page.c (PAGE_L1_SIZE, PAGE_L2_SIZE, LOOKUP_L1, LOOKUP_L2)
              (ggc_allocated_p, lookup_page_table_entry, set_page_table_entry)
              (alloc_page, init_ggc, clear_marks, struct ggc_pch_data)
              (ggc_pch_this_base): Use uintptr_t instead of size_t.
      
      From-SVN: r186065
      Tristan Gingold committed
    • stack-limit.c: Includes ansidecl.h. · 63e1e57a
      2012-04-02  Tristan Gingold  <gingold@adacore.com>
      
              * stack-limit.c: Includes ansidecl.h.
              (stack_limit_increase): Add ATTRIBUTE_UNUSED
      
      From-SVN: r186064
      Tristan Gingold committed
    • math.m4 (GCC_CHECK_MATH_FUNC): Remove if-present argument. · f38a14ca
      config/
      2012-04-02  Tristan Gingold  <gingold@adacore.com>
      
      	* math.m4 (GCC_CHECK_MATH_FUNC): Remove if-present
      	argument.  Define the variable.
      
      libgfortran/
      2012-04-02  Tristan Gingold  <gingold@adacore.com>
      
      	* configure.ac: Use new version of GCC_CHECK_MATH_FUNC.
      	* configure: Regenerate
      	* config.h.in: Regenerate.
      
      From-SVN: r186063
      Tristan Gingold committed
    • Daily bump. · 8b8c3450
      From-SVN: r186062
      GCC Administrator committed
    • re PR c++/50043 ([C++0x] Implement core/1123) · 593a0835
      /cp
      2012-04-01  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50043
      	* class.c (deduce_noexcept_on_destructor,
      	deduce_noexcept_on_destructors): New.
      	(check_bases_and_members): Call the latter.
      	* decl.c (grokfndecl): Call the former.
      	* method.c (implicitly_declare_fn): Not static.
      	* cp-tree.h (deduce_noexcept_on_destructor, implicitly_declare_fn):
      	Declare
      
      /testsuite
      2012-04-01  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/50043
      	* g++.dg/cpp0x/noexcept17.C: New.
      	* g++.old-deja/g++.eh/cleanup1.C: Adjust.
      	* g++.dg/tree-ssa/ehcleanup-1.C: Likewise.
      	* g++.dg/cpp0x/noexcept01.C: Likewise.
      	* g++.dg/eh/init-temp1.C: Likewise.
      	* g++.dg/eh/ctor1.C: Likwise.
      
      From-SVN: r186058
      Paolo Carlini committed
  2. 01 Apr, 2012 3 commits
  3. 31 Mar, 2012 7 commits
  4. 30 Mar, 2012 18 commits