1. 25 Oct, 2015 1 commit
    • Implement C++17 std::invoke and LWG DR 2219 · 93e95400
      	* include/std/functional (__invoke_impl): New overloads.
      	(__invoke): Replace with a single function calling __invoke_impl.
      	(invoke): Add C++17 std::invoke.
      	(reference_wrapper::operator()): Qualify call to __invoke.
      	(_Mem_fn_traits_base, _Mem_fn_traits): Remove unused typedefs.
      	(_Mem_fn_base): Remove unused typedefs and implement call operator in
      	terms of __invoke.
      	* include/std/future (__future_base::_Async_state_commonV2): Do not
      	pass reference_wrapper as object argument to call_once.
      	* include/std/type_traits (result_of): Define nested __invoke_type.
      	Handle reference_wrapper as per LWG 2219.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error directives.
      	* testsuite/20_util/function_objects/mem_fn/55463.cc: Remove tests
      	using member functions of reference_wrapper.
      
      From-SVN: r229290
      Jonathan Wakely committed
  2. 24 Oct, 2015 6 commits
  3. 23 Oct, 2015 33 commits
    • PR ipa/pr67600 · d3647516
      
      	PR ipa/pr67600
      	* ipa-polymorphic-call.c
      	(ipa_polymorphic_call_context::get_dynamic_type): Do not confuse
      	instance offset with offset of outer type.
      	* g++.dg/torture/pr67600.C: New testcase.
      
      From-SVN: r229279
      Jan Hubicka committed
    • * fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR. · 3c7a8ece
      From-SVN: r229278
      Jan Hubicka committed
    • This patch fixes a compile-time regression that was originally introduced by the… · 9145a539
      This patch fixes a compile-time regression that was originally introduced by the fix for PR64111, in GCC 4.9.3.
      
      This patch fixes a compile-time regression that was originally
      introduced by the fix for PR64111, in GCC 4.9.3.
      gcc/ChangeLog:
      
      2015-10-23  Caroline Tice  <cmtice@google.com>
      
              (from Richard Biener)
              * tree.c (int_cst_hasher::hash):  Replace XOR with more efficient
              call to iterative_hash_host_wide_int.
      
      From-SVN: r229277
      Caroline Tice committed
    • config.gcc (powerpc-ibm-aix[6789]): Define as yes. · b9584cb5
              * config.gcc (powerpc-ibm-aix[6789]) [default_use_cxa_atexit]:
              Define as yes.
      
      From-SVN: r229276
      David Edelsohn committed
    • tree-vect-generic.c (expand_vector_operations_1): Check optab exists before use it. · bfccadc9
      gcc/
      
      	* tree-vect-generic.c (expand_vector_operations_1): Check
      	optab exists before use it.
      
      gcc/testsuite/
      
      	* g++.dg/pr68062.C: New test.
      
      From-SVN: r229275
      Ilya Enkovich committed
    • tree-vect-generic.c (expand_vector_condition): Avoid uninitialized variable warning. · 486208e7
      gcc/
      
      	* tree-vect-generic.c (expand_vector_condition): Avoid
      	uninitialized variable warning.
      
      From-SVN: r229274
      Ilya Enkovich committed
    • [PATCH 4/9] ENABLE_CHECKING refactoring: Fortran · c86db055
      2015-10-05  Mikhail Maltsev  <maltsevm@gmail.com>
      
      	* trans-common.c (create_common): Adjust to use flag_checking.
      	* trans.c (gfc_add_modify_loc): Use gcc_checking_assert.
      
      From-SVN: r229273
      Mikhail Maltsev committed
    • [PATCH] Call flush_ssaname_freelist more often · 9447d255
      [PATCH] Call flush_ssaname_freelist more often
             * passes.c (execute_function_todo): Do not call flush_ssaname_freelist
              here.  Instead...
              (execute_todo): Call it here.
              * tree-ssanames.c (make_ssa_name_fn): Unconditionally gather reuse
              statistics
              (pass_release_ssa_names::execute): Do not call flusH_ssaname_freelist.
      
      From-SVN: r229272
      Jeff Law committed
    • re PR c++/67813 ([C++14] copy-initialization of object with pointer member fails… · 73a84269
      re PR c++/67813 ([C++14] copy-initialization of object with pointer member fails in constexpr function)
      
      	PR c++/67813
      	* constexpr.c (cxx_eval_store_expression): Always use *valp if
      	set.
      
      From-SVN: r229270
      Jason Merrill committed
    • [rs6000] Enable secureplt by default on musl · 0d6be0b1
      	* config.gcc (enable_secureplt): Add *-linux*-musl*.
      
      
      Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
      
      From-SVN: r229268
      Gregor Richards committed
    • [RFA] Fix pr67830, another type narrowing problem · 0a8c1e23
      	PR tree-optimization/67830
      	* match.pd ((bit_and (plus/minus (convert @0) (convert @1)) mask)):
      	Explicitly verify the mask has no bits outside the type of
      	the innermost operands.
      
      	PR tree-optimization/67830
      	* gcc.dg/pr67830.c: New test.
      
      From-SVN: r229267
      Jeff Law committed
    • powerpc musl libc support · 7e8efecb
      gcc/
      	* config/rs6000/linux64.h (MUSL_DYNAMIC_LINKER32): Define.
      	(MUSL_DYNAMIC_LINKER64): Define.
      	(GNU_USER_DYNAMIC_LINKER32): Update.
      	(GNU_USER_DYNAMIC_LINKER64): Update.
      	(CHOOSE_DYNAMIC_LINKER): Update.
      
      	* config/rs6000/sysv4.h (GNU_USER_DYNAMIC_LINKER): Update.
      	(MUSL_DYNAMIC_LINKER, MUSL_DYNAMIC_LINKER_E,)
      	(INCLUDE_DEFAULTS_MUSL_GPP, INCLUDE_DEFAULTS_MUSL_LOCAL,)
      	(INCLUDE_DEFAULTS_MUSL_PREFIX, INCLUDE_DEFAULTS_MUSL_CROSS,)
      	(INCLUDE_DEFAULTS_MUSL_TOOL, INCLUDE_DEFAULTS_MUSL_NATIVE): Define.
      	(CHOOSE_DYNAMIC_LINKER): Update.
      	(INCLUDE_DEFAULTS): Redefine.
      
      	* config/rs6000/sysv4le.h (MUSL_DYNAMIC_LINKER_E): Define.
      
      
      Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
      
      From-SVN: r229266
      Gregor Richards committed
    • fold-const.c (operand_equal_p): Do not compare TYPE_MODE when comparing addresses. · addf8634
      	* fold-const.c (operand_equal_p): Do not compare TYPE_MODE when
      	comparing addresses.
      
      From-SVN: r229265
      Jan Hubicka committed
    • fold-const.c (operand_equal_p): Handle matching of vector constructors. · 980002c6
      	* fold-const.c (operand_equal_p): Handle matching of vector
      	constructors.
      	* gcc.dg/tree-ssa/operand-equal-2.c: New testcase.
      
      From-SVN: r229264
      Jan Hubicka committed
    • MAINTAINERS: Update email address. · d0397c75
      2015-10-23  Steve Ellcey  <sellcey@imgtec.com>
      
      	* MAINTAINERS: Update email address.
      
      From-SVN: r229262
      Steve Ellcey committed
    • Fix ChangeLog entry · 42018231
      From-SVN: r229261
      Steve Ellcey committed
    • re PR rtl-optimization/67736 (Wrong optimization with -fexpensive-optimizations on mips64el) · 5edab54b
      2015-10-23  Steve Ellcey  <sellcey@imgtec.com>
      	    Andrew Pinski  <apinski@cavium.com>
      
      	PR rtl-optimization/67736
      	* gcc.dg/torture/pr67736.c: New test.
      	* gcc.dg/combine-subregs.c: New test.
      
      Co-Authored-By: Andrew Pinski <apinski@cavium.com>
      
      From-SVN: r229260
      Steve Ellcey committed
    • re PR rtl-optimization/67736 (Wrong optimization with -fexpensive-optimizations on mips64el) · 2c40b14d
      2015-10-23  Steve Ellcey  <sellcey@imgtec.com>
      	    Andrew Pinski  <apinski@cavium.com>
      
      	PR rtl-optimization/67736
      	* combine.c (simplify_comparison): Use gen_lowpart_or_truncate instead
      	of gen_lowpart.
      
      Co-Authored-By: Andrew Pinski <apinski@cavium.com>
      
      From-SVN: r229259
      Steve Ellcey committed
    • re PR middle-end/68066 (ICE in max_value, at wide-int.cc) · f819b3b2
      gcc/
      
      	PR middle-end/68066
      	* tree.c (build_truth_vector_type): Support BLK mode
      	returned for boolean vector.
      
      From-SVN: r229256
      Ilya Enkovich committed
    • gnat_rm.texi, [...]: Regenerate. · abcb651b
      2015-10-23  Arnaud Charlet  <charlet@adacore.com>
              
      	* gnat_rm.texi, gnat_ugn.texi: Regenerate.
      	* doc/share/ada_pygments.py, doc/gnat_ugn/gnat_project_manager.rst,
      	doc/gnat_ugn/building_executable_programs_with_gnat.rst,
      	doc/gnat_ugn/gnat_and_program_execution.rst,
      	doc/gnat_rm/implementation_defined_attributes.rst,
      	doc/gnat_rm/standard_and_implementation_defined_restrictions.rst,
      	doc/gnat_rm/representation_clauses_and_pragmas.rst,
      	doc/gnat_rm/implementation_defined_pragmas.rst,
      	doc/gnat_rm/about_this_guide.rst,
      	doc/gnat_rm/implementation_of_ada_2012_features.rst,
      	doc/gnat_rm/implementation_of_specific_ada_features.rst,
      	doc/gnat_rm/implementation_defined_aspects.rst,
      	doc/gnat_rm/implementation_advice.rst: Update documentation.
      
      From-SVN: r229254
      Arnaud Charlet committed
    • [multiple changes] · 879ac954
      2015-10-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* contracts.ads, contracts.adb: New unit.
      	* exp_ch6.adb Add with and use clauses for Contracts.
      	(Expand_Subprogram_Contract): Moved to Contracts.
      	* exp_ch6.ads (Expand_Subprogram_Contract): Moved to Contracts.
      	* sem_ch3.adb Add with and use clauses for Contracts.
      	(Analyze_Object_Contract): Moved to Contracts.
      	(Analyze_Declarations): Remove local variable Pack_Decl. Do not
      	capture global references in contracts. Check the hidden states
      	of a package body.
      	* sem_ch6.adb Add with and use clauses in Contracts.
      	(Analyze_Generic_Subprogram_Body): Do not capture global
      	references in contracts.
      	(Analyze_Subprogram_Body_Contract):
      	Moved to Contracts.
      	(Analyze_Subprogram_Body_Helper): Freeze the
      	contract of the nearest enclosing package body. Always analyze
      	the subprogram body contract. Do not expand the subprogram
      	body contract.
      	(Analyze_Subprogram_Contract): Moved to Contracts.
      	* sem_ch6.ads (Analyze_Subprogram_Body_Contract): Moved to Contracts.
      	(Analyze_Subprogram_Contract): Moved to Contracts.
      	* sem_ch7.adb Add with and use clauses for Contracts.
      	(Analyze_Package_Body_Contract): Moved to Contracts.
      	(Analyze_Package_Body_Helper): Freeze the contract of the
      	nearest enclosing package body.
      	(Analyze_Package_Contract): Moved to Contracts.
      	* sem_ch7.ads (Analyze_Package_Body_Contract): Moved to Contracts.
      	(Analyze_Package_Contract): Moved to Contracts.
      	* sem_ch10.adb Add with and use clauses for Contracts.
      	(Analyze_Compilation_Unit): Do not capture global references
      	in contracts.
      	(Analyze_Subprogram_Body_Stub_Contract): Moved to Contracts.
      	* sem_ch10.ads (Analyze_Subprogram_Body_Stub_Contract): Moved
      	to Contracts.
      	* sem_ch12.adb Add with and use clauses for Contracts.
      	(Analyze_Subprogram_Instantiation): Update the call to
      	Instantiate_Subprogram_Contract.
      	(Instantiate_Package_Body):
      	Do not copy the entity of the spec when creating an entity
      	for the body. Construct a brand new defining identifier for
      	the body and inherit the Comes_From_Source flag from the spec.
      	(Instantiate_Subprogram_Body): Remove Anon_Id to Act_Decl_Id
      	and update all occurrences. Construct a brand new defining
      	identifier for the body and inherit the Comes_From_Source
      	flag from the spec.
      	(Instantiate_Subprogram_Contract): Moved
      	to Contracts.
      	(Save_Global_References_In_Aspects): Moved to
      	the spec of Sem_Ch12.
      	(Save_Global_References_In_Contract):
      	Moved to Contracts.
      	* sem_ch12.ads (Save_Global_References_In_Aspects): Moved from
      	the body of Sem_Ch12.
      	(Save_Global_References_In_Contract):
      	Moved to Contracts.
      	* sem_prag.adb Add with and use clauses for Contracts.
      	(Add_Item): Removed. All references to this routine have been
      	replaced with calls to Append_New_Elmt.
      	(Analyze_Constituent):
      	Add special diagnostics for errors caused by freezing of
      	contracts.
      	(Analyze_Refined_State_In_Decl_Part): Add formal
      	parameter Freeze_Id. Add new global variable Freeze_Posted.
      	(Collect_Body_States): Removed.
      	(Report_Unused_States): Removed.
      	* sem_prag.ads (Analyze_Defined_State_In_Decl_Part): Add formal
      	parameter Freeze_Id and update comment on usage.
      	* sem_util.adb Remove with and use clauses for
      	Sem_Ch12.
      	(Add_Contract_Item): Moved to Contracts.
      	(Check_Unused_Body_States): New routine.
      	(Collect_Body_States):
      	New routine.
      	(Create_Generic_Contract): Moved to Contracts.
      	(Inherit_Subprogram_Contract): Moved to Contracts.
      	(Report_Unused_Body_States): New routine.
      	* sem_util.ads (Add_Contract_Item): Moved to Contracts.
      	(Check_Unused_Body_States): New routine.
      	(Collect_Body_States): New routine.
      	(Create_Generic_Contract): Moved to Contracts.
      	(Inherit_Subprogram_Contract): Moved to Contracts.
      	(Report_Unused_Body_States): New routine.
      	* sinfo.adb (Is_Expanded_Contract): New routine.
      	(Set_Is_Expanded_Contract): New routine.
      	* sinfo.ads New attribute Is_Expanded_Contract along with
      	placement in nodes.
      	(Is_Expanded_Contract): New routine along
      	with pragma Inline.
      	(Set_Is_Expanded_Contract): New routine
      	along with pragma Inline.
      	* gcc-interface/Make-lang.in: Add entry for contracts.o
      
      2015-10-23  Bob Duff  <duff@adacore.com>
      
      	* bindgen.adb, init.c, opt.ads, switch-b.adb: Implement new -Ea and
      	-Es switches.
      	* switch-b.ads: Minor comment fix.
      	* bindusg.adb: Document new -Ea and -Es switches.
      	* s-exctra.ads: Use -Es instead of -E.
      
      From-SVN: r229253
      Arnaud Charlet committed
    • utils2.c (build_call_alloc_dealloc): Check no implicit task and protected object restrictions. · 9733088f
      2015-10-23  Tristan Gingold  <gingold@adacore.com>
      
      	* gcc-interface/utils2.c (build_call_alloc_dealloc): Check no implicit
      	task and protected object restrictions.
      
      From-SVN: r229252
      Tristan Gingold committed
    • sem_ch12.adb, [...]: Minor reformatting. · 6f99dcec
      2015-10-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch12.adb, exp_ch6.adb: Minor reformatting.
      
      From-SVN: r229251
      Hristian Kirtchev committed
    • [multiple changes] · a1c09064
      2015-10-23  Gary Dismukes  <dismukes@adacore.com>
      
      	* exp_ch6.adb: Minor reformatting.
      
      2015-10-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Check_Formal_Packages): A formal package whose
      	actual part is (others => <>) os identical to a formal package
      	with an actual part written as (<>).
      
      2015-10-23  Arnaud Charlet  <charlet@adacore.com>
      
      	* a-reatim.adb ("/"): For Time_Span division convert the operands
      	to integers and then use integer division, which conforms to
      	the rounding required by Ada RM.
      
      From-SVN: r229250
      Arnaud Charlet committed
    • sem_ch6.adb (Check_Missing_Return): Do not report a missing return statement on… · 241fac51
      sem_ch6.adb (Check_Missing_Return): Do not report a missing return statement on a function body constructed to...
      
      2015-10-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Check_Missing_Return): Do not report a missing
      	return statement on a function body constructed to complete a
      	package body for a premature instantiation.
      
      2015-10-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch6.adb (Build_Procedure_Body_Form): Replace body of
      	original function with that of generated procedure, to simplify
      	processing and avoid scoping problems with local declarations.
      	(Rewrite_Function_Call_For_C): Handle properly the case of a
      	parameterless function.
      
      From-SVN: r229249
      Ed Schonberg committed
    • a-exextr.adb, [...]: Minor reformatting. · 43184ab7
      2015-10-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* a-exextr.adb, sem_ch6.adb, sem_ch13.adb: Minor reformatting.
      
      From-SVN: r229248
      Hristian Kirtchev committed
    • [multiple changes] · ed11bbfe
      2015-10-23  Arnaud Charlet  <charlet@adacore.com>
      
      	* s-taskin.ads: Minor code clean up.
      	(Ada_Task_Control_Block): Move fixed size field before variable sized
      	ones.
      	* einfo.ads: Minor editing.
      
      2015-10-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Check_Aggregate_Accessibility): Apply rule in RM
      	6.5 (8.3) to verify that access discriminants in an aggregate
      	in a return statement have the proper accessibility, i.e. do
      	not lead to dangling references.
      
      2015-10-23  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Add missing
      	test on Address_Clause_Overlay_Warnings to the "constant overlays
      	variable" warning. For the reverse case, also issue a warning if
      	the modification is potentially made through the initialization
      	of the variable.
      
      2015-10-23  Jose Ruiz  <ruiz@adacore.com>
      
      	* a-exetim-posix.adb (Clock): Use the pthread_getcpuclockid
      	function to have access to CPU clocks for tasks other than the
      	calling task.
      
      From-SVN: r229247
      Arnaud Charlet committed
    • [multiple changes] · bf8f12c2
      2015-10-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* debug.adb: Switch -gnatd.5 is no longer in use, remove the
      	associated documentation.
      	* exp_dbug.adb (Get_External_Name): Do not add a special prefix
      	for ignored Ghost entities or when switch -gnatd.5 is enabled.
      	* exp_dbug.ads Remove the documentation concerning the encoding
      	of ignored Ghost entities.
      
      2015-10-23  Bob Duff  <duff@adacore.com>
      
      	* a-exextr.adb (Notify_Exception): For Unhandled_Raise_In_Main,
      	mimic the output from Ada.Exceptions.Last_Chance_Handler; don't
      	print "Exception raised".
      	* s-stalib.ads, s-exctra.ads, s-exctra.adb: Add
      	Unhandled_Raise_In_Main to types Exception_Trace_Kind/Trace_Kind.
      
      From-SVN: r229246
      Arnaud Charlet committed
    • Support for vectorizing conditional expressions · af29617a
      2015-10-23  Alan Hayward <alan.hayward@arm.com>
      
      gcc/
      	PR tree-optimization/65947
      	* tree-vect-loop.c
      	(vect_is_simple_reduction_1): Find condition reductions.
      	(vect_model_reduction_cost): Add condition reduction costs.
      	(get_initial_def_for_reduction): Add condition reduction initial var.
      	(vect_create_epilog_for_reduction): Add condition reduction epilog.
      	(vectorizable_reduction): Condition reduction support.
      	* tree-vect-stmts.c (vectorizable_condition): Add vect reduction arg
      	* doc/sourcebuild.texi (Vector-specific attributes): Document
      	vect_max_reduc
      
      gcc/testsuite
      	PR tree-optimization/65947
      	* lib/target-supports.exp
      	(check_effective_target_vect_max_reduc): Add.
      	* gcc.dg/vect/pr65947-1.c: New test.
      	* gcc.dg/vect/pr65947-2.c: New test.
      	* gcc.dg/vect/pr65947-3.c: New test.
      	* gcc.dg/vect/pr65947-4.c: New test.
      	* gcc.dg/vect/pr65947-5.c: New test.
      	* gcc.dg/vect/pr65947-6.c: New test.
      	* gcc.dg/vect/pr65947-7.c: New test.
      	* gcc.dg/vect/pr65947-8.c: New test.
      	* gcc.dg/vect/pr65947-9.c: New test.
      	* gcc.dg/vect/pr65947-10.c: New test.
      	* gcc.dg/vect/pr65947-11.c: New test.
      
      From-SVN: r229245
      Alan Hayward committed
    • exp_attr.adb, [...]: Minor reformatting. · f3bf0d9a
      2015-10-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_attr.adb, freeze.adb, sem_attr.adb, exp_aggr.adb,
      	gnatname.adb: Minor reformatting.
      
      From-SVN: r229244
      Hristian Kirtchev committed
    • [multiple changes] · 6031f544
      2015-10-23  Steve Baird  <baird@adacore.com>
      
      	* a-cbdlli.ads, a-cbhama.ads, a-cbhase.ads, a-cbmutr.ads,
      	a-cborma.ads, a-cborse.ads, a-cbprqu.ads, a-cbsyqu.ads,
      	a-cdlili.ads, a-cfdlli.ads, a-cfhama.ads, a-cfhase.ads,
      	a-cfinve.ads, a-cforma.ads, a-cforse.ads, a-cidlli.ads,
      	a-cihama.ads, a-cihase.ads, a-cimutr.ads, a-ciorma.ads,
      	a-ciormu.ads, a-ciorse.ads, a-coboho.ads, a-cobove.ads,
      	a-cofove.ads, a-cohama.ads, a-cohase.ads, a-coinho.ads,
      	a-coinho-shared.ads, a-coinve.ads, a-comutr.ads, a-conhel.ads,
      	a-convec.ads, a-coorma.ads, a-coormu.ads, a-coorse.ads,
      	a-cuprqu.ads, a-cusyqu.ads, a-rbtgbo.ads: Add spec Annotate
      	pragmas.
      	* a-cbdlli.adb, a-cbhama.adb, a-cbhase.adb, a-cbmutr.adb,
      	a-cborma.adb, a-cborse.adb, a-cbprqu.adb, a-cbsyqu.adb,
      	a-cdlili.adb, a-cfdlli.adb, a-cfhama.adb, a-cfhase.adb,
      	a-cfinve.adb, a-cforma.adb, a-cforse.adb, a-cidlli.adb,
      	a-cihama.adb, a-cihase.adb, a-cimutr.adb, a-ciorma.adb,
      	a-ciormu.adb, a-ciorse.adb, a-coboho.adb, a-cobove.adb,
      	a-cofove.adb, a-cohama.adb, a-cohase.adb, a-coinho.adb,
      	a-coinho-shared.adb, a-coinve.adb, a-comutr.adb, a-conhel.adb,
      	a-convec.adb, a-coorma.adb, a-coormu.adb, a-coorse.adb,
      	a-cuprqu.adb, a-cusyqu.adb, a-rbtgbo.adb: Remove body Annotate
      	pragmas.
      
      2015-10-23  Vincent Celier  <celier@adacore.com>
      
      	* gnatname.adb: When gnatname is invoked with a project file,
      	specified with switch -P, if gprname is available, gnatname will
      	invoke gprname, with the target if it is a cross gnatname.
      
      2015-10-23  Arnaud Charlet  <charlet@adacore.com>
      
      	* exp_ch4.adb: Fix typo.
      	* exp_ch6.adb: Update comment.
      	* exp_attr.adb (Expand_Min_Max_Attribute): Simplify expansion.
      	* exp_aggr.adb (Convert_To_Positional): Only convert to
      	positional when generating C in case of an object declaration.
      	(In_Object_Declaration): New.
      	(Late_Expansion): Adapt to trees generated by Modify_Tree_For_C.
      	* sinfo.ads: Update documentation.
      
      2015-10-23  Joel Brobecker  <brobecker@adacore.com brobecker>
      
      	* sigtramp.h (struct sigcontext, struct ucontext): Remove declarations,
      	and replace them by include of corresponding header file.
      
      From-SVN: r229243
      Arnaud Charlet committed
    • [multiple changes] · d742bfc0
      2015-10-23  Bob Duff  <duff@adacore.com>
      
      	* a-convec.adb (Copy): Make sure C is initialized
      	on all paths, including when Checks is False.
      
      2015-10-23  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Remove
      	error as unreachable.
      
      From-SVN: r229242
      Arnaud Charlet committed