1. 22 Jan, 2014 24 commits
    • re PR c/59891 (ICE on invalid code (with div-by-zero) at all optimization levels… · f34f1c87
      re PR c/59891 (ICE on invalid code (with div-by-zero) at all optimization levels on x86_64-linux-gnu)
      
      	PR c/59891
      c/
      	* c-typeck.c (build_conditional_expr): Call c_fully_fold instead
      	of remove_c_maybe_const_expr on op1 and op2.
      testsuite/
      	* gcc.dg/torture/pr59891.c: New test.
      
      From-SVN: r206944
      Marek Polacek committed
    • combine-stack-adj.c (combine_stack_adjustments_for_block): Remove ARG_SIZE note… · 77b7a218
      combine-stack-adj.c (combine_stack_adjustments_for_block): Remove ARG_SIZE note when adjustment was eliminated.
      
      	* combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
      	ARG_SIZE note when adjustment was eliminated.
      
      From-SVN: r206943
      Jan Hubicka committed
    • re PR tree-optimization/59597 (Performance degradation on Coremark after r205074) · bb50b870
      	PR tree-optimization/59597
      	* tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
      	in file.  Accept new argument REGISTERING and use it to modify
      	dump output appropriately.
      	(register_jump_thread): Corresponding changes.
      	(mark_threaded_blocks): Reinstate code to cancel unprofitable
      	thread paths involving joiner blocks.  Add code to dump cancelled
      	jump threading paths.
      
      	PR tree-optimization/59597
      	* gcc.dg/tree-ssa/pr59597.c: New test.
      
      From-SVN: r206941
      Jeff Law committed
    • re PR libstdc++/58764 ([lwg/2193] error: converting to ‘const… · c3cdd71f
      re PR libstdc++/58764 ([lwg/2193] error: converting to ‘const std::vector<std::basic_string<char> >’ from initializer list would use explicit constructor)
      
      	PR libstdc++/58764
      	* include/bits/stl_deque.h (deque::deque(const allocator_type&):
      	Split into separate default constructor and constructor taking
      	allocator.
      	* include/bits/stl_list.h (list::list(const allocator_type&): Likewise.
      	* include/bits/stl_vector.h (vector::vector(const allocator_type&):
      	Likewise.
      	* include/debug/deque (deque::deque(const allocator_type&)): Likewise.
      	* include/debug/list (list::list(const _Allocator&)): Likewise.
      	* include/debug/map.h (map::map(const _Compare&, const _Allocator&)):
      	Likewise.
      	* include/debug/multimap.h
      	(multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
      	* include/debug/set.h (set::set(const _Compare&, const _Allocator&)):
      	Likewise.
      	* include/debug/multiset.h
      	(multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
      	* include/debug/vector (vector::vector(const allocator_type&)):
      	Likewise.
      	* include/profile/deque (deque::deque(const _Allocator&)): Likewise.
      	* include/profile/list (list::list(const _Allocator&)): Likewise.
      	* include/profile/map.h
      	(map::map(const _Compare&, const _Allocator&)): Likewise.
      	* include/profile/multimap.h
      	(multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
      	* include/profile/set.h
      	(set::set(const _Compare&, const _Allocator&)): Likewise.
      	* include/profile/multiset.h
      	(multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
      	* include/profile/vector (vector::vector(const _Allocator&)):
      	Likewise.
      	* testsuite/23_containers/deque/58764.cc: New.
      	* testsuite/23_containers/list/58764.cc: New.
      	* testsuite/23_containers/map/58764.cc: New.
      	* testsuite/23_containers/multimap/58764.cc: New.
      	* testsuite/23_containers/set/58764.cc: New.
      	* testsuite/23_containers/multiset/58764.cc: New.
      	* testsuite/23_containers/vector/58764.cc: New.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
      
      From-SVN: r206939
      Jonathan Wakely committed
    • re PR rtl-optimization/59477 (ICE: in assign_by_spills, at lra-assigns.c:1281 with -O) · df2980be
      2014-01-22  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59477
      	* lra-constraints.c (inherit_in_ebb): Process call for living hard
      	regs.  Update reloads_num and potential_reload_hard_regs for all
      	insns.
      
      2014-01-22  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59477
      	* g++.dg/pr59477.C: New.
      
      From-SVN: r206938
      Vladimir Makarov committed
    • pr44194-1.c: Match "insn " and "insn:", but not "insn/f". · 88d7c4b9
      gcc/testsuite/
      	* gcc.dg/pr44194-1.c: Match "insn " and "insn:", but not "insn/f".
      
      From-SVN: r206936
      Richard Sandiford committed
    • re PR c++/59482 (A friend class cannot inherit a private nested class) · 32ab58b2
      /cp
      2014-01-22  Ville Voutilainen  <ville.voutilainen@gmail.com>
      
      	PR c++/59482
      	* parser.c (cp_parser_class_head): Push the class before parsing
      	the base-clause, pop after it.
      
      /testsuite
      2014-01-22  Ville Voutilainen  <ville.voutilainen@gmail.com>
      
      	PR c++/59482
      	* g++.dg/pr59482.C: New.
      
      From-SVN: r206933
      Ville Voutilainen committed
    • i386-interix.h (i386_pe_unique_section): Don't use PARAMS. · 1bb99900
      	* config/i386/i386-interix.h (i386_pe_unique_section): Don't use
      	PARAMS.
      	* config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
      
      From-SVN: r206932
      Tom Tromey committed
    • [multiple changes] · 3b8056a5
      2014-01-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): A subprogram
      	body generated for an expression function within a protected body
      	needs a set of renaming declarations if the expression function
      	comes from source.
      
      2014-01-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* lib-xref.adb (Get_Type_Reference): In semantics-only mode,
      	list interface progenitor of a tagged concurrent type, for better
      	source navigation.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* lib.adb (In_Extended_Main_Code_Unit): Return False for
      	Standard_Location.
      	(In_Extended_Main_Source_Unit): Return False for Standard_Location.
      	* lib.ads (In_Extended_Main_Code_Unit): Add documentation on
      	treatment of Slocs No_Location and Standard_Location.
      	* restrict.adb (Check_Restriction_No_Dependence): Explicitly
      	check for entity with Standard_Location Sloc, rather than relying
      	on Lib routines to do that.
      	* sem_res.adb (Resolve_Call): Implement SPARK_05 restriction
      	that a call cannot occur before a later occuring body within
      	the same unit.
      
      From-SVN: r206931
      Arnaud Charlet committed
    • [multiple changes] · fba9ebfc
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* rtsfind.adb: Update comment.
      
      2014-01-22  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_aux.ads, sem_aux.adb (Is_Body): New routine.
      	* sem_ch3.adb (Analyze_Declarations): Add local variable
      	Body_Seen. Generate the spec of a late controlled
      	primitive body that is about to freeze its related type.
      	(Handle_Late_Controlled_Primitive): New routine.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* a-stream.adb: Minor reformatting.
      
      2014-01-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch8.adb (From_Actual_Package): Introduce a recursive
      	sub-procedure Declared_In_Actual to handle properly the visibility
      	of actuals in actual packages, that are themselves actuals to a
      	actual package of the current instance. This mimics properly the
      	visibility of formals of formal packages declared with a box,
      	within the corresponding generic unit.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb: Do not assume that a volatile variable is valid.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* g-catiio.ads (Image, Value): Clarify that these functions
      	operate in the local time zone.  Minor documentation update.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* csets.adb, csets.ads, opt.ads: Minor documentation fixes.
      
      From-SVN: r206930
      Arnaud Charlet committed
    • [multiple changes] · b2834fbd
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_aux.adb, sem_aux.ads, sem_ch3.adb (Has_Unconstrained_Elements):
      	Moved to sem_aux.adb.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* vms_data.ads: Minor reformatting.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* debug.adb: Document messages affected by -gnatd.E including
      	the new ones that relate to late definition of equality.
      	* sem_ch6.adb (Check_Untagged_Equality): In Ada 2012 mode, if
      	debug flag -gnatd.E is set, then generate warnings rather than
      	errors.
      	(Check_Untagged_Equality): In earlier versions of Ada,
      	generate warnings if Warn_On_Ada_2012_Incompatibility flag is set.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_prag.adb (Usage_Error): Output additional messages for
      	unconstrained OUT parameters lacking an input dependency.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch4.adb: Minor reformatting.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* restrict.ads: Minor reformatting.
      	* sem_res.adb (Resolve_Call): Check for SPARK_05 restriction that
      	forbids a call from within a subprogram to the same subprogram.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* a-stream.ads (Read_SEA, Write_SEA): New subprograms, optimized
      	stream attributes for Stream_Element_Array.
      	* a-stream.adb (Read_SEA, Write_SEA): Bodies for the above.
      	* rtsfind.adb (Check_CRT): Do not reject a reference to an entity
      	defined in the current scope.
      
      From-SVN: r206929
      Arnaud Charlet committed
    • [multiple changes] · d4129bfa
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* debug.adb, exp_ch4.adb, erroutc.adb: Minor reformatting.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch7.adb, sem_ch8.adb, exp_ch3.adb: Minor reformatting.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch3.adb (Analyze_Object_Declaration): For a constant
      	declaration initialized with a function call, whose type
      	has variable size, need to remove side effects so that the
      	initialization expression becomes a dereference of a temporary
      	reference to the function result.
      
      From-SVN: r206928
      Arnaud Charlet committed
    • errout.adb (Initialize): Remove trick to add dummy entry in Warnings table. · b6f36bf8
      2014-01-22  Yannick Moy  <moy@adacore.com>
      
      	* errout.adb (Initialize): Remove trick to add dummy entry
      	in Warnings table.
      	* erroutc.adb (Set_Warnings_Mode_Off,
      	Set_Warnings_Mode_On): Do nothing if warnings are suppressed by
      	command line switch.
      	* opt.ads (Warning_Mode): Document behavior
      	wrt pragma Warnings, in normal mode and in GNATprove_Mode.
      
      From-SVN: r206927
      Yannick Moy committed
    • insert-vsx-be-order.c: New. · 6aadc942
      2014-01-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gcc.dg/vmx/insert-vsx-be-order.c: New.
      	* gcc.dg/vmx/extract-vsx.c: New.
      	* gcc.dg/vmx/extract-vsx-be-order.c: New.
      	* gcc.dg/vmx/insert-vsx.c: New.
      
      From-SVN: r206926
      William Schmidt committed
    • insert-vsx-be-order.c: New. · 0466b16a
      2014-01-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gcc.dg/vmx/insert-vsx-be-order.c: New.
      	* gcc.dg/vmx/extract-vsx.c: New.
      	* gcc.dg/vmx/extract-vsx-be-order.c: New.
      	* gcc.dg/vmx/insert-vsx.c: New.
      
      From-SVN: r206925
      William Schmidt committed
    • * include/bits/stl_deque.h (_Deque_impl): Move comment. · af0e0fa0
      From-SVN: r206924
      Jonathan Wakely committed
    • sem_ch3.adb, [...]: Minor reformatting. · 113a62d9
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch3.adb, errout.adb, erroutc.adb: Minor reformatting.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch13.adb (Check_Pool_Size_Clash): New procedure
      	(Analyze_Attribute_Definition_Clause, case Storage_Pool): call
      	Check_Pool_Size_Clash (Analyze_Attribute_Definition_Clause,
      	case Storage_Size): call Check_Pool_Size_Clash.
      
      From-SVN: r206923
      Robert Dewar committed
    • [multiple changes] · f5f6d8d7
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch3.adb, exp_util.adb, sem_dim.adb, sem_elab.adb, sem_ch8.adb,
      	sem_eval.ads: Minor reformatting.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_eval.adb (Compile_Time_Known_Bounds): Return False for
      	Any_Composite to prevent cascaded errors.
      
      2014-01-22  Yannick Moy  <moy@adacore.com>
      
      	* errout.adb (Initialize): Do not insert special entry in Warnings
      	table in GNATprove_Mode.
      	* erroutc.adb (Set_Warnings_Mode_On): Add info in Warnings table in
      	GNATprove_Mode.
      	* gnat1drv.adb (Adjust_Global_Switches): Do not suppress frontend
      	warnings anymore.
      
      From-SVN: r206922
      Arnaud Charlet committed
    • [multiple changes] · 2e70d415
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_prag.adb (Analyze_Initializes_In_Decl_Part): Handle null
      	initializes case.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* snames.ads-tmpl: Update header.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_util.adb (Insert_Actions): When inserting actions on a
      	short circuit operator that has already been analyzed, do not park
      	actions in node; instead introduce an N_Expression_With_Actions
      	and insert actions immediately.
      	Add guard for unexpected case of climbing up through statement
      	in Actions list of an N_Expression_With_Actions.
      	* sem_elab.adb (Insert_Elab_Check): Remove complex
      	specialized circuitry for the case where the context is already
      	analyzed, as it is not needed and introduces irregularities in
      	finalization. Instead rely on the above change to Insert_Actions
      	to ensure that late insertion on short circuit operators works
      	as expected.
      
      2014-01-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Operator_Check): Improve error message when an
      	operand of concatenation is an access type.
      
      2014-01-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_dim.adb (Analyze_Dimension_Identifier): Add guard against
      	cascaded error.
      
      2014-01-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch8.adb (Find_Selected_Component): Handle properly the case
      	of an expanded name in a proper body, whose prefix is a package
      	in the context of the proper body, when there is a homonym of
      	the package declared in the parent unit.
      
      From-SVN: r206921
      Arnaud Charlet committed
    • sem_warn.adb (Check_Use_Clause): Don't give no entities used msg if errors found. · 1250f802
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_warn.adb (Check_Use_Clause): Don't give no entities used
      	msg if errors found.
      	(Check_One_Unit): Same change.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* ug_words: Add missing/wrong entries for VMS warning switches.
      	* sem_prag.adb (Check_Duplicate_Pragma): Avoid flagging parent type.
      
      From-SVN: r206920
      Robert Dewar committed
    • [multiple changes] · 54533a0b
      2014-01-22  Jerome Guitton  <guitton@adacore.com>
      
      	* mlib-tgt-specific-vxworks.adb (Get_Target_Suffix): Replace xscale by
      	arm.
      
      2014-01-22  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi, gnat_ugn.texi: Document passive task optimization
      
      From-SVN: r206919
      Arnaud Charlet committed
    • * gcc-interface/Makefile.in: Minor fixes. · 3044bbe4
      From-SVN: r206918
      Eric Botcazou committed
    • Daily bump. · 4c70d460
      From-SVN: r206914
      GCC Administrator committed
  2. 21 Jan, 2014 16 commits
    • MAINTAINERS: Update my email address. · dd35b84f
      	* MAINTAINERS: Update my email address.
      
      From-SVN: r206911
      John David Anglin committed
    • re PR rtl-optimization/59896 (Bootstrap: Thumb-1 LRA unable to generate reloads for jump_insn) · 9102dadd
      2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59896
      	* lra-constraints.c (process_alt_operands): Check unused note for
      	matched operands of insn with no output reloads.
      
      2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59896
      	* gcc.target/arm/pr59896.c: New.
      
      From-SVN: r206908
      Vladimir Makarov committed
    • mips.c (mips_move_to_gpr_cost): Add M16_REGS case. · ca376eb8
      gcc/
      	* config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
      	(mips_move_from_gpr_cost): Likewise.
      
      From-SVN: r206907
      Richard Sandiford committed
    • regex.tcc: Remove incorrect `nosubs` handling. · 8f7082f5
      2014-01-21  Tim Shen  <timshen91@gmail.com>
      
      	* include/bits/regex.tcc: Remove incorrect `nosubs` handling.
      	* include/bits/regex_scanner.tcc: Handle `nosubs` correctly.
      	* testsuite/28_regex/constants/syntax_option_type.cc: Add a test case.
      
      From-SVN: r206906
      Tim Shen committed
    • re PR libstdc++/56267 (unordered containers require Assignable hash function) · 6ff956e3
      	PR libstdc++/56267
      	* include/bits/hashtable.h (__cache_default): Do not depend on
      	whether the hash function is DefaultConstructible or CopyAssignable.
      	(_Hashtable): Adjust static assertions.
      	* doc/xml/manual/containers.xml (containers.unordered.cache): Update.
      	* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
      	dg-error line number.
      	* testsuite/23_containers/unordered_set/
      	not_default_constructible_hash_neg.cc: Remove.
      
      From-SVN: r206904
      Jonathan Wakely committed
    • Fix typo. · 8fc36b15
      From-SVN: r206900
      Sterling Augustine committed
    • re PR rtl-optimization/59858 (ICE: assign_by_spills, at lra-assigns.c:1283) · a9711f36
      2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59858
      	* lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
      	ira_class_hard_regs_num.
      	(process_alt_operands): Increase reject for dying matched operand.
      
      2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59858
      	* gcc.target/arm/pr59858.c: New.
      
      From-SVN: r206897
      Vladimir Makarov committed
    • re PR target/59003 (profiledbootstrap miscompiles gcc during stagefeedback --with-tune=amdfam10) · f8ea7cb0
      	PR target/59003
      	* config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
      	smaller than size, perform several stores or loads and stores
      	at dst + count - size to store or copy all of size bytes, rather
      	than just last modesize bytes.
      
      	* gcc.dg/tree-prof/pr59003.c: New test.
      
      From-SVN: r206896
      Jakub Jelinek committed
    • config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*. · 800d8bd5
      libgcc/
      	* config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
      
      From-SVN: r206895
      Baruch Siach committed
    • Fix ChangeLog entry, moving it from top-level ChangeLog to · d2be9965
      gcc/ChangeLog.
      
      From-SVN: r206893
      Ian Lance Taylor committed
    • [multiple changes] · 71affc54
      2014-01-21  Robert Dewar  <dewar@adacore.com>
      
      	* par-ch4.adb (P_If_Expression): Rewritten to improve error recovery.
      	* par-ch5.adb (P_Condition): New version with expression prescanned.
      	* par.adb (P_Condition): New version with expression prescanned.
      
      2014-01-21  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi: Document that Allow_Integer_Address is ignored
      	if Address is not a private type.
      	* sem_prag.adb (Analyze_Pragma, case Allow_Integer_Address):
      	Ignore pragma if System.Address is not a private type.
      
      2014-01-21  Arnaud Charlet  <charlet@adacore.com>
      
      	* namet.ads (Name_Len): Initialize to 0 to avoid accessing an
      	uninitialized value.
      
      From-SVN: r206892
      Arnaud Charlet committed
    • [multiple changes] · ef1c0511
      2014-01-21  Thomas Quinot  <quinot@adacore.com>
      
      	* gnat_rm.texi (Scalar_Storage_Order): Update documentation.
      
      2014-01-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Set_Instance_Env): In Ada 2012 mode, preserve
      	the value of Assertions_Enabled flag when compiling an instance of
      	an internal unit. This facilitates the use of pre/postconditions
      	in generic internal units, such as the new elementary function
      	libraries.
      
      2014-01-21  Robert Dewar  <dewar@adacore.com>
      
      	* exp_aggr.adb: Minor reformatting.
      	* sem_attr.adb: Minor reformatting.
      	* sem_res.adb: Minor comment addition.
      	* einfo.adb: Minor comment updates.
      	* freeze.adb: Minor reformatting and code reorganization.
      
      2014-01-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* par-ch4.adb (P_If_Expression): Handle more gracefully an
      	elsif clause that does not have an else part.
      
      From-SVN: r206891
      Arnaud Charlet committed
    • [multiple changes] · 637a41a5
      2014-01-21  Robert Dewar  <dewar@adacore.com>
      
      	* checks.adb, sem_util.ads, sem_ch4.adb: Minor reformatting.
      
      2014-01-21  Pascal Obry  <obry@adacore.com>
      
      	* projects.texi: Minor typo fix.
      
      2014-01-21  Thomas Quinot  <quinot@adacore.com>
      
      	* freeze.adb (Check_Component_Storage_Order): If a record type
      	has an explicit Scalar_Storage_Order attribute definition clause,
      	reject any component that itself is of a composite type and does
      	not have one.
      
      2014-01-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch10.adb (Generate_Parent_Reference): Make public so it
      	can be used to generate proper cross-reference information for
      	the parent units of proper bodies.
      
      2014-01-21  Thomas Quinot  <quinot@adacore.com>
      
      	* gcc-interface/decl.c (gnat_to_gnu_entity): For a modular
      	type that represents a bit packed array type, propagate the
      	reverse storage order flag to the generated wrapper record.
      	* exp_pakd.adb (Expand_Packed_Element_Set,
      	Expand_Packed_Element_Reference): No byte swapping required in
      	the front-end for the case of a reverse storage order array,
      	as this is now handled uniformly in the back-end.  However we
      	still need to swap back an extracted element if it is itself a
      	nested composite with reverse storage order.
      
      From-SVN: r206890
      Arnaud Charlet committed
    • [multiple changes] · 497716fe
      2014-01-21  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_External_Property): Add processing for "others".
      	(Analyze_Pragma): Update the grammar of pragma Abstract_State to
      	include "others".
      
      2014-01-21  Arnaud Charlet  <charlet@adacore.com>
      
      	* gnat_ugn.texi: Minor updates.
      
      From-SVN: r206889
      Arnaud Charlet committed
    • [multiple changes] · fb1fdf7d
      2014-01-21  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_pakd.adb: Update comment, minor reformatting.
      
      2014-01-21  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch3.adb (Analyze_Variable_Contract): Trigger the volatile
      	object check when SPARK_Mode is on.
      	* sem_ch6.adb (Process_Formals): Trigger the volatile object
      	check when SPARK_Mode is on.
      	* sem_ch12.adb (Instantiate_Object): Trigger the volatile object
      	check when SPARK_Mode is on.
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Insert the
      	corresponding pragma of aspect SPARK_Mode in the visible
      	declarations of a package declaration.
      	* sem_prag.adb (Analyze_Pragma): Trigger the volatile object
      	check when SPARK_Mode is on.
      	* sem_res.adb (Resolve_Actuals): Trigger the volatile object
      	check when SPARK_Mode is on.
      	(Resolve_Entity_Name): Trigger
      	the volatile object check when SPARK_Mode is on.
      
      2014-01-21  Robert Dewar  <dewar@adacore.com>
      
      	* a-except-2005.adb: Minor reformatting
      
      From-SVN: r206888
      Arnaud Charlet committed
    • [multiple changes] · 84f80f5b
      2014-01-21  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch3.adb, sem_prag.adb, sem_prag.ads, sem_ch12.adb, sem_res.adb,
      	sem_ch6.adb, a-except-2005.adb: Minor reformatting.
      
      2014-01-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch3.adb (Expand_N_Object_Declaration): When a class-wide
      	object is declared, it is rewritten as a renaming of an dynamic
      	expression that wraps the initial value.  The renaming declaration
      	is first given an internal name, to prevent collisions with the
      	entity already declared, and then the name is modified to reflect
      	the original one. the modification of the name must preserve
      	the source location of the original, to prevent spurious errors
      	when compiling with style checks if the declaration involves
      	more than one entity.
      
      From-SVN: r206887
      Arnaud Charlet committed