1. 21 Jan, 2014 4 commits
  2. 20 Jan, 2014 36 commits
    • target-supports.exp (force_conventional_output_for): New procedure. · 6d1a1d9d
      gcc/testsuite/
      	* lib/target-supports.exp (force_conventional_output_for): New
      	procedure.
      	* lib/scanasm.exp (scan-assembler_required_options)
      	(scan-assembler-not_required_options)
      	(scan-assembler-times_required_options): Replace with
      	force_conventional_output_fors.
      	* lib/scanrtl.exp: Force conventional output for all rtl dump scans.
      	* gcc.target/mips/octeon-pipe-1.c: Remove -ffat-lto-objects.
      
      From-SVN: r206860
      Richard Sandiford committed
    • create_testsuite_files: Add testsuite/experimental in the list of folders to search for tests. · 9d0bb2ea
      2014-01-20  François Dumont  <fdumont@gcc.gnu.org>
      
      	* scripts/create_testsuite_files: Add testsuite/experimental in
      	the list of folders to search for tests.
      	* include/experimental/string_view
      	(basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT,
      	incompatible with constexpr qualifier.
      	(basic_string_view<>::front()): Likewise.
      	(basic_string_view<>::back()): Likewise.
      	* testsuite/experimental/string_view/element_access/wchar_t/2.cc:
      	Merge dg-options directives into one.
      	* testsuite/experimental/string_view/element_access/char/2.cc:
      	Likewise. Remove invalid experimental namespace scope on
      	string_view_type.
      
      From-SVN: r206859
      François Dumont committed
    • Add type to DEFCIFCODE to describe the inline failure · 1cf11770
      Report inline error during early inlining if the inline failure is
      CIF_FINAL_ERROR.
      
      gcc/
      
      	PR middle-end/59789
      	* cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
      	(cgraph_inline_failed_type): New function.
      	* cgraph.h (DEFCIFCODE): Add type.
      	(cgraph_inline_failed_type_t): New enum.
      	(cgraph_inline_failed_type): New prototype.
      	* cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
      	FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
      	FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
      	LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
      	MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
      	RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
      	OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
      	INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL. 
      	Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
      	FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
      	EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
      	OPTIMIZATION_MISMATCH.
      	* tree-inline.c (expand_call_inline): Emit errors during
      	early_inlining if cgraph_inline_failed_type returns
      	CIF_FINAL_ERROR.
      
      gcc/testsuite/
      
      	PR middle-end/59789
      	* gcc.target/i386/pr59789.c: New testcase.
      
      From-SVN: r206858
      H.J. Lu committed
    • re PR target/59685 (ICE: in output_2305, at config/i386/sse.md:8919 with -march=bdver1 -mavx512f) · 8586e4bd
      	PR target/59685
      	* config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
      	mode attribute in insn output.
      
      From-SVN: r206856
      Uros Bizjak committed
    • output.h (output_constant): Delete. · 99482090
      	* output.h (output_constant): Delete.
      	* varasm.c (output_constant): Make private.
      
      From-SVN: r206855
      Eric Botcazou committed
    • ra1.C (struct tree_base): Change the width of the 'code' bitfield from 16 to 8. · 66bc6a9e
      gcc/testsuite
      
      	* g++.dg/debug/ra1.C (struct tree_base): Change the width of
      	the 'code' bitfield from 16 to 8.
      
      From-SVN: r206853
      Yufeng Zhang committed
    • Fixing ChangeLog entry for earlier commit. · 39ec0d29
      From-SVN: r206852
      Marcus Shawcroft committed
    • [AArch64] Disable vec_perm patterns for aarch64_be. · ede23272
      From-SVN: r206851
      Alex Velenko committed
    • [AArch64] vneg floating point testcase BE fixed. · 201b7ecd
      2013-01-20  Alex Velenko  <Alex.Velenko@arm.com>
      
      	* gcc.target/aarch64/vneg_f.c (STORE_INST): New macro.
      	(RUN_TEST): Use new macro.
      	(INDEX64_32): Delete.
      	(INDEX64_64): Likewise.
      	(INDEX128_32): Likewise.
      	(INDEX128_64): Likewise.
      	(INDEX): Likewise.
      	(test_vneg_f32): Use fixed RUN_TEST.
      
      From-SVN: r206850
      Alex Velenko committed
    • re PR tree-optimization/59860 (ICE in compute_may_aliases, at tree-ssa-structalias.c:6843) · 9a7eefec
      	PR middle-end/59860
      	* tree.h (fold_builtin_strcat): New prototype.
      	* builtins.c (fold_builtin_strcat): No longer static.  Add len
      	argument, if non-NULL, don't call c_strlen.  Optimize
      	directly into __builtin_memcpy instead of __builtin_strcpy.
      	(fold_builtin_2): Adjust fold_builtin_strcat caller.
      	* gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
      
      From-SVN: r206848
      Jakub Jelinek committed
    • i386.c (ix86_avoid_lea_for_addr): Return false for SImode_address_operand… · 3e729145
      i386.c (ix86_avoid_lea_for_addr): Return false for SImode_address_operand operands, having only a REG argument.
      
      	* config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
      	for SImode_address_operand operands, having only a REG argument.
      
      From-SVN: r206847
      Uros Bizjak committed
    • re PR other/58996 (build failure in libcilkrts) · ef132d59
      Fix for PR other/58996.
      +2014-01-20  Balaji V. Iyer  <balaji.v.iyer@intel.com>
      +
      +       PR other/58996
      +       * configure.ac: Added a check for pthread affinity support.
      +       * runtime/os-unix.c: Likewise.
      +       * configure: Regenerate.
      +
      
      From-SVN: r206846
      Balaji V. Iyer committed
    • [AArch64] Define BE loader name. · eee0e487
      2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
      
      	    * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
      	    loader name using mbig-endian.
      	    (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
      
      From-SVN: r206845
      Marcus Shawcroft committed
    • [multiple changes] · 43417b90
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* exp_ch4.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* opt.adb (SPARK_Mode_Config): Handled like other config flags
      	* opt.ads (SPARK_Mode_Type): Moved here from types (renamed from
      	SPARK_Mode_Id) (SPARK_Mode_Type): Add pragma Ordered, remove
      	SPARK_ from names (SPARK_Mode): New flag (SPARK_Mode_Config):
      	New flag (Config_Switches_Type): Add SPARK_Mode field
      	* sem.adb: Minor code reorganization (remove unnecessary with)
      	* sem.ads (Scope_Stack_Entry): Add Save_SPARK_Mode field
      	* sem_aggr.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* sem_attr.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* sem_ch3.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* sem_ch4.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Reset SPARK_Mode
      	from spec if needed
      	* sem_ch7.adb (Analyze_Package_Body_Helper): Reset SPARK_Mode
      	from spec if needed
      	* sem_ch8.adb (Push_Scope): Save SPARK_Mode (Pop_Scope):
      	Restore SPARK_Mode
      	* sem_elab.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* sem_prag.adb (Get_SPARK_Mode_From_Pragma): New function
      	(Get_SPARK_Mode_Id): Removed (Get_SPARK_Mode_Type): New name
      	of Get_SPARK_Mode_Id
      	* sem_prag.ads (Get_SPARK_Mode_From_Pragma): New function
      	* sem_res.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* sem_util.adb: Check SPARK_Mode instead of GNATProve_Mode for
      	converting warnings on inevitable exceptions to errors.
      	* types.ads (SPARK_Mode_Id): Moved to opt.ads and renamed
      	SPARK_Mode_Type
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch13.adb: Add semantic information to rewritten type
      	reference.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch5.adb (Expand_N_Assignment_Statement): If both sides
      	are of a type with unknown discriminants, convert both to the
      	underlying view of the type, so that the proper constraint check
      	can be applied to the right-hand side.
      
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* atree.adb (Copy_Node): Fix failure to copy last component
      	(Exchange_Entities): Fix failure to exchange last entity
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb: Code clean up.
      
      From-SVN: r206844
      Arnaud Charlet committed
    • gnat_rm.texi, [...]: Minor reformatting. · e4deba8e
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi, sem_ch4.adb: Minor reformatting.
      
      From-SVN: r206843
      Robert Dewar committed
    • [multiple changes] · a736f6e6
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Analyze_Quantified_Expression): If after
      	pre-analysis  the loop parameter specification has been
      	rewritten as a iterator specification, propagate the change to
      	the quantified expression, for ASIS navigtion needs.
      
      2014-01-20  Vincent Celier  <celier@adacore.com>
      
      	* par-ch10.adb: Minor error message change: escape [ and ].
      
      From-SVN: r206842
      Arnaud Charlet committed
    • [multiple changes] · 4a28b181
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb: Make warnings on exceptions into errors in GNATprove mode.
      	* errout.adb: Implement [ and ] insertion characters.
      	* errout.ads: Document new [ and ] insertion characters.
      	* sem_ch12.adb, restrict.adb, frontend.adb, exp_ch7.adb: Minor
      	addition of ??? comment.
      	* lib-xref.adb, exp_util.adb, gnat1drv.adb: Minor reformatting
      	* exp_ch4.adb, sem_ch3.adb, sem_ch4.adb, sem_ch6.adb, sem_elab.adb,
      	sem_eval.adb, sem_res.adb, sem_util.adb, sem_attr.adb, sem_aggr.adb:
      	Make warnings on exceptions into errors in GNATprove mode.
      	* sem_dim.adb: Minor reformatting throughout Quote [ and ]
      	in error messages.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch13.adb: Code clean up.
      
      From-SVN: r206841
      Arnaud Charlet committed
    • [AArch64 Documentation] Clarify meaning of -mcpu, -mtune, -march · 9e540e37
      gcc/
      
      	* doc/invoke.texi (-march): Clarify documentation for AArch64.
      	(-mtune): Likewise.
      	(-mcpu): Likewise.
      
      From-SVN: r206840
      James Greenhalgh committed
    • [multiple changes] · b465ef6f
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* errout.ads, errout.adb: Implement >? >x? >X? sequences in error
      	messages.
      	* sem_ch6.adb (Check_Statement_Sequence): Missing return is an
      	error in GNATprove mode.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* par-ch4.adb (Is_Parameterless_Attribute): The Ada2012 attribute
      	reference 'Old takes no parameters, and thus can appear as a
      	prefix of a slice.
      
      2014-01-20  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* exp_aggr.adb: Fix minor typos.
      
      From-SVN: r206839
      Arnaud Charlet committed
    • [multiple changes] · a6152428
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute, case 'Constrained): In an
      	instance the attribute is legal, and its value is determined
      	statically if the type has no discriminants. This choice is
      	more useful than rechecking the legality rule in the instance,
      	is consistent with older usage, and is also consistent with all
      	existing tests.
      
      2014-01-20  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_cat.adb (Validate_Static_Object_Name): Change error into
      	warning in Relaxed_Semantic_Mode.
      
      From-SVN: r206838
      Arnaud Charlet committed
    • [multiple changes] · e19fd0bd
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_attr.adb: Code and comments cleanup.
      
      2014-01-20  Yannick Moy  <moy@adacore.com>
      
      	* debug.adb Free debug flags -gnatd.D, -gnatd.G and -gnatd.V *
      	* errout.adb (Compilation_Errors): Remove special handling in
      	GNATprove mode.
      	* gnat1drv.adb (Adjust_Global_Switches): Remove handling of the
      	removed debug flags.
      	* gnat_rm.texi: Initial documentation for Abstract_State, Depends,
      	Global, Initial_Condition, Initializes and Refined_State pragmas and
      	aspects.
      	* opt.ads (Frame_Condition_Mode, Formal_Extensions,
      	SPARK_Strict_Mode): Remove global flags.
      	* sem_ch3.adb (Analyze_Object_Declaration): Check of no hidden state
      	always performed now, on packages declaring a null state.
      	(Signed_Integer_Type_Declaration): Remove ill-designed attempt
      	at providing pedantic mode for bounds of integer types.
      	* sem_ch4.adb (Analyze_Quantified_Expression): Warning on suspicious
      	"some" quantified expression now issued under control of -gnatw.t,
      	like the other warning on unused bound variable.
      	* sem_prag.adb (Check_Precondition_Postcondition): Remove useless test
      	on removed flag.
      	(Analyze_Pragma): Remove tests for SPARK 2014
      	pragmas, not officially allowed by GNAT.
      
      From-SVN: r206837
      Arnaud Charlet committed
    • [multiple changes] · 58827738
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_Pragma): Ensure that
      	the sole argument of pragmas Abstract_State, Contract_Cases,
      	Depends, Global and Initializes in in aggregate form.
      	(Analyze_Refined_Pragma): Ensure that the sole argument of
      	pragmas Refined_Depends, Refined_Global and Refined_State is in
      	aggregate form.
      	(Ensure_Aggregate_Form): New routine.
      
      2014-01-20  Doug Rupp  <rupp@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute): case
      	Attribute_Constrained => treat all prefixes as legal for Declib
      	compatibility.
      
      From-SVN: r206836
      Arnaud Charlet committed
    • [multiple changes] · 9559eccf
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Check_Mode): Reimplement the routine.
      	(Find_Mode): New routine.
      
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch4.adb (Operator_Check): Handle additional
      	Allow_Integer_Address cases.
      
      From-SVN: r206835
      Arnaud Charlet committed
    • re PR libstdc++/56267 (unordered containers require Assignable hash function) · 92e16228
      	PR libstdc++/56267
      	* include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant
      	friendship to _Local_iterator_base<..., false>.
      	(_Local_iterator_base): Give protected access to all existing members.
      	(_Local_iterator_base::_M_curr()): New public accessor.
      	(_Local_iterator_base::_M_get_bucket()): New public accessor.
      	(_Local_iterator_base<..., false>::_M_init()): New function to manage
      	the lifetime of the _Hash_code_base explicitly.
      	(_Local_iterator_base<..., false>::_M_destroy()): Likewise.
      	(_Local_iterator_base<..., false>): Define copy constructor and copy
      	assignment operator that use new functions to manage _Hash_code_base.
      	(operator==(const _Local_iterator_base&, const _Local_iterator_base&),
      	operator==(const _Local_iterator_base&, const _Local_iterator_base&)):
      	Use public API for _Local_iterator_base.
      	* include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise.
      	* include/debug/unordered_map (__debug::unordered_map::erase(),
      	__debug::unordered_multimap::erase()): Likewise.
      	* include/debug/unordered_set (__debug::unordered_set::erase(),
      	__debug::unordered_multiset::erase()): Likewise.
      	* testsuite/23_containers/unordered_set/56267-2.cc: New test.
      
      From-SVN: r206834
      Jonathan Wakely committed
    • gnat_rm.texi (Allow_Integer_Address): Remove note about not allowed if address… · 7dbd3de9
      gnat_rm.texi (Allow_Integer_Address): Remove note about not allowed if address is non-private, no longer true.
      
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi (Allow_Integer_Address): Remove note about not
      	allowed if address is non-private, no longer true.
      	* sem_prag.adb (Analyze_Pragma, case Allow_Integer_Address):
      	Remove check for address being private, causes difficulty when
      	pragma used in gnat.adc file and is not needed, since we guard
      	this in Address_Integer_Convert_OK.
      	* exp_ch7.adb: Minor reformatting.
      	* sem_ch4.adb: Handle operator operands in Allow_Integer_Address mode.
      
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb (Apply_Range_Check): Remove gnatprove special
      	casing of exponentiation.
      	* sem_res.adb (Resolve_Op_Expon): Apply range check to right
      	operand for integer case to check range against Natural.
      
      From-SVN: r206833
      Robert Dewar committed
    • [multiple changes] · 061828e3
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* s-tataat.adb: Minor reformatting.
      
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.adb (Is_Descendent_Of_Address): Now applies to all
      	entities, and also fix documentation to remove mention of visible
      	integer type, since this is not what the implementation does.
      	* einfo.ads (Is_Descendent_Of_Address): Now applies to all
      	entities, and also fix documentation to remove mention of visible
      	integer type, since this is not what the implementation does.
      	* gnat_rm.texi: Minor clarification of Allow_Integer_Address
      	function.
      	* sem_ch4.adb (Analyze_One_Call): Handle Allow_Integer_Address
      	case for parameter type check.
      	* sem_res.adb (Resolve): Use new function
      	Address_Integer_Convert_OK.
      	* sem_type.adb: Minor code reorganization (use Ekind_In) Minor
      	reformatting throughout.
      	* sem_util.adb (Address_Integer_Convert_OK): New function.
      	* sem_util.ads: Minor reformatting (put specs in alpha order)
      	(Address_Integer_Convert_OK): New function.
      
      2014-01-20  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch7.adb (Wrap_Transient_Expression):
      	Insertion extra conditional expression only if
      	Opt.Suppress_Control_Flow_Optimizations is set.
      
      From-SVN: r206832
      Arnaud Charlet committed
    • [multiple changes] · ff4e28eb
      2014-01-20  Arnaud Charlet  <charlet@adacore.com>
      
      	* s-tataat.adb (Initialize_Attributes): Abort might already be
      	deferred in Create_Task.
      
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* checks.adb (Apply_Scalar_Range_Check): Flag
      	the exponent as requiring a range check when the expression is
      	an exponentiation.
      
      From-SVN: r206831
      Arnaud Charlet committed
    • [multiple changes] · a1efcc17
      2014-01-20  Fedor Rybin  <frybin@adacore.com>
      
      	* gnat_ugn.texi: Documenting --passed-tests option for gnattest.
      
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_util.adb (Default_Initialization): New routine.
      	* sem_util.ads: Add new type Default_Initialization_Kind.
      	(Default_Initialization): New routine.
      
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Check_Mode): Correct all error
      	message logic dealing with in/in out parameters that may appear
      	as inputs or have a self reference.
      
      From-SVN: r206830
      Arnaud Charlet committed
    • [multiple changes] · 6fd0a72a
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* exp_ch9.adb, checks.adb, exp_intr.adb: Minor reformatting.
      	* sem_res.adb (Resolve): Fix error causing infinite loop for
      	integer used as address. Allow addresses as integers.
      
      2014-01-20  Arnaud Charlet  <charlet@adacore.com>
      
      	* s-osinte-linux.ads (struct_sigaction): Fix rep clause.
      
      2014-01-20  Bob Duff  <duff@adacore.com>
      
      	* par-ch8.adb (P_Use_Type_Clause): Detect syntax
      	error when "use all" is not followed by "type".
      
      From-SVN: r206829
      Arnaud Charlet committed
    • [multiple changes] · 3b4598a7
      2014-01-20  Bob Duff  <duff@adacore.com>
      
      	* exp_intr.adb (Expand_Unc_Deallocation): Remove warning on abort
      	followed by free.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* checks.adb (Apply_Address_Clause_Check): If there is an
      	alignment check on the expression in an address clause, and there
      	is no local exception propagation, add an additional explanatory
      	message to clarify the cause of previous warning.
      
      From-SVN: r206828
      Arnaud Charlet committed
    • [multiple changes] · 4058ddcc
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* exp_ch7.adb: Minor reformatting.
      	* opt.ads: Minor comment updates.
      	* sem.adb: Minor name change Is_Main_Unit =>
      	Is_Main_Unit_Or_Main_Unit_Spec.
      	* sem_ch6.adb: Minor reformatting and code reorganization.
      
      2014-01-20  Bob Duff  <duff@adacore.com>
      
      	* gnat_ugn.texi: Update gnatpp switches.
      
      2014-01-20  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch9.adb: Minor comment edit.
      
      From-SVN: r206827
      Arnaud Charlet committed
    • [multiple changes] · d8a764c4
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi: Document that Allow_Integer_Address is permitted
      	only if System.Address is a private type.
      	* opt.ads (Allow_Integer_Address): No longer set by -gnates.
      	* sem_prag.adb (Analyze_Pragma, case Allow_Integer_Address):
      	Allowed only if type System.Address is private, since otherwise
      	it makes no sense.
      	* sem_res.adb: Fix failure to properly Analyze unchecked
      	conversions that were introduced by Allow_Integer_Address.
      	* switch-c.adb: Remove -gnates switch.
      	* usage.adb: Remove -gnates switch.
      	* gnat_ugn.texi: Remove documentation of -gnates flag.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Analyze_Expression_Function): Pre-analyze and
      	resolve expression to perform proper name capture.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem.adb (Semantics): When saving/restoring configuration
      	switches, the spec of a pre- defined unit that is the main unit
      	must be treated as a predefined unit as well.
      
      2014-01-20  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch7.adb (Wrap_Transient_Expression): For a Boolean
      	expression, insert an extra conditional expression when saving
      	the value of the expression, for the benefit of control flow
      	graph based coverage analysis.
      	* exp_ch3.adb: Minor reformatting.
      
      From-SVN: r206826
      Arnaud Charlet committed
    • [multiple changes] · 818b578d
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* gnat1drv.adb: Set Allow_Integer_Address in relaxed semantics mode.
      	* gnat_rm.texi: Document pragma Allow_Integer_Address.
      	* gnat_ugn.texi: Document pragma Allow_Integer_Address, -gnates.
      	* opt.ads: New flag Allow_Integer_Address.
      	* par-prag.adb: Dummy entry for pragma Allow_Integer_Address.
      	* sem_ch5.adb: Minor reformatting.
      	* sem_prag.adb: Implement pragma Allow_Integer_Address.
      	* sem_res.adb (Resolve): Allow integer address value if
      	switch set.
      	* sem_util.adb: Minor reformatting.
      	* snames.ads-tmpl: Add entry for pragma Allow_Integer_Address.
      	* switch-c.adb: Recognize flag -gnates.
      	* usage.adb: Document flag -gnates.
      
      2014-01-20  Thomas Quinot  <quinot@adacore.com>
      
      	* s-tadeca.adb: Fix minor typos in comment.
      
      From-SVN: r206825
      Arnaud Charlet committed
    • [multiple changes] · c2e54001
      2014-01-20  Pascal Obry  <obry@adacore.com>
      
      	* s-win32.ads (FreeLibrary): New import.
      
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* sem_res.adb, sem_cat.adb: Minor reformatting.
      	* sem_ch11.adb (Analyze_Raise_Statement): Only give warning about
      	assigning to OUT parameters for the current subprogram scope.
      	* exp_ch4.adb: Minor reformatting.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch4.adb (Process_Transient_Object,
      	Find_Enclosing_Contexts): If the top-level if-expression that
      	generated the transient object is an actual in a call, the proper
      	Hook_Context is a construct enclosing the call.
      	* einfo.ads: Indicate that Related_Expression is used to link a
      	loop variable to the container expression over which the loop
      	takes place.
      	(Analyze_Iterator_Specification): Set the Related_Expression of
      	the loop variable in a container element iterator.
      	(Note_Possible_Modification): If the variable is the loop
      	variable in a container element iterator, indicate that the
      	enclosing container is also modified.
      
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* aspects.adb (Move_Or_Merge_Aspects): Reimplemented.
      
      From-SVN: r206824
      Arnaud Charlet committed
    • [multiple changes] · 90b51aaf
      2014-01-20  Robert Dewar  <dewar@adacore.com>
      
      	* s-taasde.ads, gnat_ugn.texi, s-tadeca.adb, sem_res.adb, s-tadeca.ads:
      	Minor reformatting and code clean up.
      
      2014-01-20  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_cat.adb (Validate_Object_Declaration): Relax semantics
      	of objects of private type if Relaxed_RM_Semantics.
      
      From-SVN: r206823
      Arnaud Charlet committed
    • [multiple changes] · 2838fa93
      2014-01-20  Claire Dross  <dross@adacore.com>
      
      	* a-cofove.ads (Vector): Capacity discriminant
      	should be in range of the index.
      
      2014-01-20  Thomas Quinot  <quinot@adacore.com>
      
      	* a-caldel.ads(To_Duration), s-taasde.ads(Time_Enqueue):
      	Clarify specs s-tadeca.adb(Enqueue_Calendar): Compensate for
      	possible difference between epoch of Ada.Calendar clock and Ada
      	real-time/tasking clock.
      	* s-taprop-posix.adb: Minor comment fix.
      
      2014-01-20  Doug Rupp  <rupp@adacore.com>
      
      	* sysdep.c [vxworks]: Remove Vxworks version noise for RTP.
      
      2014-01-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_attr.adb (Expand_N_Attribute_Reference): Generate validity
      	checks on the prefix of attribute 'Old.
      	* sem_ch3.adb (Process_Range_Expr_In_Decl): Suppress the
      	generation of validity checks on a range that belongs to the
      	iteration scheme of a quantified expression.
      	* sem_ch5.adb (One_Bound): Suppress the generation of validity
      	checks on a bound that belongs to the iteration scheme of a
      	quantified expression, generate the check in all other cases.
      
      2014-01-20  Bob Duff  <duff@adacore.com>
      
      	* gnat_ugn.texi: Enable --pp-new by default. Minor reorganization.
      
      2014-01-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_res.adb (Resolve): When compiling a predefined unit, ignore
      	interpretations that do not come from other predefined units,
      	to prevent spurious ambiguities in the presence of user-defined
      	operators in the context of (an instance of) a predefined unit.
      
      From-SVN: r206822
      Arnaud Charlet committed