1. 01 Jan, 2017 1 commit
    • gcc.c (process_command): Update copyright notice dates. · c1a9c369
      gcc/
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov-dump.c (print_version): Ditto.
      	* gcov.c (print_version): Ditto.
      	* gcov-tool.c (print_version): Ditto.
      	* gengtype.c (create_file): Ditto.
      	* doc/cpp.texi: Bump @copying's copyright year.
      	* doc/cppinternals.texi: Ditto.
      	* doc/gcc.texi: Ditto.
      	* doc/gccint.texi: Ditto.
      	* doc/gcov.texi: Ditto.
      	* doc/install.texi: Ditto.
      	* doc/invoke.texi: Ditto.
      gcc/fortran/
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      	* gfc-internals.texi: Bump @copying's copyright year.
      	* gfortran.texi: Ditto.
      	* intrinsic.texi: Ditto.
      	* invoke.texi: Ditto.
      gcc/ada/
      	* gnat_ugn.texi: Bump @copying's copyright year.
      	* gnat_rm.texi: Likewise.
      gcc/go/
      	* gccgo.texi: Bump @copyrights-go year.
      libitm/
      	* libitm.texi: Bump @copying's copyright year.
      libgomp/
      	* libgomp.texi: Bump @copying's copyright year.
      libquadmath/
      	* libquadmath.texi: Bump @copying's copyright year.
      
      From-SVN: r243992
      Jakub Jelinek committed
  2. 07 Dec, 2016 3 commits
  3. 05 Dec, 2016 2 commits
  4. 30 Nov, 2016 1 commit
    • [multiple changes] · 60aa5228
      2016-11-30  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_prag.adb, sem_ch6.adb: Minor reformatting and typo fixes.
      	* g-sechas.adb: Minor reformatting.
      	* lib-xref.ads: minor grammar fix in comment.
      	* lib-xref-spark_specific.adb
      	(Is_SPARK_Reference): do not ignore references to concurrent
      	objects.
      	* sinfo.ads: Fix of unbalanced parens in comment
      
      2016-11-30  Ed Schonberg  <schonberg@adacore.com>
      
      	* lib-xref.adb (Get_Type_Reference): If the entity is a function
      	returning a classwide type, the type reference is obtained right
      	away and does not need further unwinding.
      
      2016-11-30  Javier Miranda  <miranda@adacore.com>
      
      	* sem_ch8.adb (Find_Renamed_Entity): For non-overloaded subprogram
      	actuals of generic units check that the spec of the renaming
      	and renamed entities match.
      
      2016-11-30  Tristan Gingold  <gingold@adacore.com>
      
      	* raise-gcc.c: For CERT runtimes: do not use gcc includes, simplify
      	the handling.
      	* sem_attr.adb (Analyze_Attribute): Check No_Dynamic_Priorities
      	restriction for Priority Attribute.
      
      From-SVN: r243022
      Arnaud Charlet committed
  5. 27 Nov, 2016 2 commits
  6. 22 Nov, 2016 1 commit
  7. 18 Nov, 2016 1 commit
    • Add SET_DECL_MODE · 899ca90e
      This may no longer be necessary with the current version
      of the SVE patches, but it does at least make things consistent
      with the TYPE_MODE/SET_TYPE_MODE split.
      
      gcc/ada/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* gcc-interface/utils.c (create_label_decl): Use SET_DECL_MODE.
      
      gcc/c/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* c-decl.c (merge_decls): Use SET_DECL_MODE.
      	(make_label, finish_struct): Likewise.
      
      gcc/cp/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* class.c (finish_struct_bits): Use SET_DECL_MODE.
      	(build_base_field_1, layout_class_type, finish_struct_1): Likewise.
      	* decl.c (make_label_decl): Likewise.
      	* pt.c (tsubst_decl): Likewise.
      
      gcc/fortran/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* trans-common.c (build_common_decl): Use SET_DECL_MODE.
      	* trans-decl.c (gfc_build_label_decl): Likewise.
      	* trans-types.c (gfc_get_array_descr_info): Likewise.
      
      gcc/lto/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* lto.c (offload_handle_link_vars): Use SET_DECL_MODE.
      
      gcc/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* tree.h (SET_DECL_MODE): New macro.
      	* cfgexpand.c (avoid_deep_ter_for_debug): Use SET_DECL_MODE.
      	(expand_gimple_basic_block): Likewise.
      	* function.c (split_complex_args): Likeise.
      	* ipa-prop.c (ipa_modify_call_arguments): Likewise.
      	* omp-simd-clone.c (ipa_simd_modify_stmt_ops): Likewise.
      	* stor-layout.c (layout_decl, relayout_decl): Likewise.
      	(finish_bitfield_representative): Likewise.
      	* tree.c (make_node_stat): Likewise.
      	* tree-inline.c (remap_ssa_name): Likewise.
      	(tree_function_versioning): Likewise.
      	* tree-into-ssa.c (rewrite_debug_stmt_uses): Likewise.
      	* tree-sra.c (sra_ipa_reset_debug_stmts): Likewise.
      	* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise.
      	* tree-ssa-loop-ivopts.c (remove_unused_ivs): Likewise.
      	* tree-ssa.c (insert_debug_temp_for_var_def): Likewise.
      	* tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise.
      	* varasm.c (make_debug_expr_from_rtl): Likewise.
      
      libcc1/
      2016-11-16  Richard Sandiford  <richard.sandiford@arm.com>
       	    Alan Hayward  <alan.hayward@arm.com>
       	    David Sherwood  <david.sherwood@arm.com>
      
      	* plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
      
      Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
      Co-Authored-By: David Sherwood <david.sherwood@arm.com>
      
      From-SVN: r242585
      Richard Sandiford committed
  8. 14 Nov, 2016 1 commit
  9. 13 Nov, 2016 5 commits
  10. 07 Nov, 2016 1 commit
  11. 01 Nov, 2016 1 commit
  12. 31 Oct, 2016 1 commit
    • dwarf2out.h (struct dw_loc_descr_node): Adjust comment for frame_offset_rel bit. · 5cea3ad6
      	* dwarf2out.h (struct dw_loc_descr_node): Adjust comment
      	for frame_offset_rel bit.
      	(struct array_descr_info): Add rank field.
      	* dwarf2out.c (struct loc_descr_context): Add placeholder_arg
      	and placeholder_seen fields.
      	(resolve_args_picking_1): Handle also frame_offset_rel DW_OP_dup
      	and DW_OP_over.  Optimize DW_OP_pick 0 into DW_OP_dup and
      	DW_OP_pick 1 into DW_OP_over.
      	(function_to_dwarf_procedure, type_byte_size, field_byte_offset,
      	gen_variant_part): Clear placeholder_{arg,seen}.
      	(loc_list_from_tree_1): Drop const from context argument.
      	Handle integral PLACEHOLDER_EXPR if context->placeholder_arg.
      	(loc_list_for_address_of_addr_expr_of_indirect_ref,
      	loc_list_from_tree, loc_descriptor_from_tree): Drop const from
      	context argument.
      	(add_scalar_info): Drop const from context argument.  Handle
      	context->placeholder_arg.
      	(add_bound_info): Drop const from context argument.
      	(gen_descr_array_type_die): Drop const from ctx variable.
      	Initialize placeholder_arg and placeholder_seen.  Add DW_AT_rank
      	attribute and use a single DW_TAG_generic_subrange instead of
      	7 DW_TAG_subrange_type for assumed rank arrays.
      fortran/
      	* trans-types.c (gfc_get_array_descr_info): For -gdwarf-5 or
      	-gno-strict-dwarf, handle assumed rank arrays the way dwarf2out
      	expects.
      ada/
      	* gcc-interface/misc.c (gnat_get_array_descr_info): Clear rank
      	field.
      
      From-SVN: r241719
      Jakub Jelinek committed
  13. 24 Oct, 2016 1 commit
  14. 20 Oct, 2016 1 commit
  15. 19 Oct, 2016 1 commit
  16. 18 Oct, 2016 1 commit
    • Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS): Define. · c354ab1f
      	* gcc-interface/Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS): Define.
      	(EXTRA_GNATRTL_TASKING_OBJS): Likewise.
      	(ARM/Android): Add atomic support.
      	(SPARC/Solaris): Simplify.
      	(x86/Solaris): Likewise.
      	(x86/Linux): Likewise.
      	(x86-64/kFreeBDS): Adjust and use system-freebsd-x86.ads
      	(x86/FreeBSD): Add s-mudido-affinity.adb.
      	(x86-64/FreeBSD): Likewise and use system-freebsd-x86.ads.
      	(s390/Linux): Simplify.
      	(PowerPC/AIX): Likewise.
      	(Cygwin/Mingw): Likewise.
      	(MIPSel/Linux): Likewise.
      	(ARM/Linux): Add atomic support.
      	(Aarch64/Linux): Use system-linux-armel.ads.
      	(SPARC/Linux): Simplify.
      	(IA-64/Linux): Minor tweak.
      	(IA-64/HP-UX): Likewise.
      	(Alpha/Linux): Likewise.
      	(x86-64/Linux): Use system-linux-x86.ads.
      	(x86/Darwin): Simplify.
      	(PowerPC/Darwin): Likewise.
      	(ARM/Darwin): Use system-darwin-arm.ads.
      	(ADA_EXCLUDE_SRCS): Minor reformatting.
      	* system-aix.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	(Support_Atomic_Primitives): Set to True.
      	* system-aix64.ads: Delete.
      	* system-darwin-arm.ads: New.
      	* system-darwin-ppc.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	(Support_Atomic_Primitives): Set to True.
      	* system-darwin-ppc64.ads: New.
      	* system-darwin-x86.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-darwin-x86_64.ads: Delete.
      	* system-freebsd-x86.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-freebsd-x86_64.ads: Delete.
      	* system-linux-alpha.ads (Support_Atomic_Primitives): Set to True.
      	* system-linux-armeb.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	(Support_Atomic_Primitives): Set to True.
      	* system-linux-armel.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	(Support_Atomic_Primitives): Set to True.
      	* system-linux-mips.ads: (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-linux-mipsel.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-linux-s390.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	(Stack_Check_Probes): Set to True.
      	* system-linux-s390x.ads: Delete.
      	* system-linux-sparc.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-linux-sparcv9.ads: Delete.
      	* system-linux-x86.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-linux-x86_64.ads: Delete.
      	* system-mingw-x86_64.ads: Delete.
      	* system-mingw.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-solaris-sparc.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	(Support_Atomic_Primitives): Set to True.
      	* system-solaris-sparcv9.ads: Delete.
      	* system-solaris-x86.ads (Word_Size): Change to Standard'Word_Size.
      	(Memory_Size): Change to 2 ** Word_Size.
      	* system-solaris-x86_64.ads: Delete.
      
      From-SVN: r241316
      Eric Botcazou committed
  17. 17 Oct, 2016 1 commit
    • system-darwin-ppc64.ads (Support_64_Bit_Divides): Delete. · d47d3849
      	* system-darwin-ppc64.ads (Support_64_Bit_Divides): Delete.
      	* system-linux-armeb.ads (Support_64_Bit_Divides): Likewise.
      	* system-linux-mips.ads (Support_64_Bit_Divides): Likewise.
      	* system-linux-mips64el.ads (Support_64_Bit_Divides): Likewise.
      	* system-linux-mipsel.ads (Support_64_Bit_Divides): Likewise.
      	* system-linux-sparcv9.ads (Support_64_Bit_Divides): Likewise.
      	* system-rtems.ads (Support_64_Bit_Divides): Likewise.
      
      From-SVN: r241230
      Eric Botcazou committed
  18. 16 Oct, 2016 2 commits
    • re PR ada/37139 (DEP prevents using Ada tasking) · 4c640e26
      	PR ada/37139
      	PR ada/67205
      	* common.opt (-ftrampolines): New option.
      	* doc/invoke.texi (Code Gen Options): Document it.
      	* doc/tm.texi.in (Trampolines): Add TARGET_CUSTOM_FUNCTION_DESCRIPTORS.
      	* doc/tm.texi: Regenerate.
      	* builtins.def: Add init_descriptor and adjust_descriptor.
      	* builtins.c (expand_builtin_init_trampoline): Do not issue a warning
      	on platforms with descriptors.
      	(expand_builtin_init_descriptor): New function.
      	(expand_builtin_adjust_descriptor): Likewise.
      	(expand_builtin) <BUILT_IN_INIT_DESCRIPTOR>: New case.
      	<BUILT_IN_ADJUST_DESCRIPTOR>: Likewise.
      	* calls.c (prepare_call_address): Remove SIBCALLP parameter and add
      	FLAGS parameter.  Deal with indirect calls by descriptor and adjust.
      	Set STATIC_CHAIN_REG_P on the static chain register, if any.
      	(call_expr_flags): Set ECF_BY_DESCRIPTOR for calls by descriptor.
      	(expand_call): Likewise.  Move around call to prepare_call_address
      	and pass all flags to it.
      	* cfgexpand.c (expand_call_stmt): Reinstate CALL_EXPR_BY_DESCRIPTOR.
      	* gimple.h (enum gf_mask): New GF_CALL_BY_DESCRIPTOR value.
      	(gimple_call_set_by_descriptor): New setter.
      	(gimple_call_by_descriptor_p): New getter.
      	* gimple.c (gimple_build_call_from_tree): SetCALL_EXPR_BY_DESCRIPTOR.
      	(gimple_call_flags): Deal with GF_CALL_BY_DESCRIPTOR.
      	* langhooks.h (struct lang_hooks): Add custom_function_descriptors.
      	* langhooks-def.h (LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS): Define.
      	(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS.
      	* rtl.h (STATIC_CHAIN_REG_P): New macro.
      	* rtlanal.c (find_first_parameter_load): Skip static chain registers.
      	* target.def (custom_function_descriptors): New POD hook.
      	* tree.h (FUNC_ADDR_BY_DESCRIPTOR): New flag on ADDR_EXPR.
      	(CALL_EXPR_BY_DESCRIPTOR): New flag on CALL_EXPR.
      	* tree-core.h (ECF_BY_DESCRIPTOR): New mask.
      	Document FUNC_ADDR_BY_DESCRIPTOR and CALL_EXPR_BY_DESCRIPTOR.
      	* tree.c (make_node_stat) <tcc_declaration>: Use FUNCTION_ALIGNMENT.
      	(build_common_builtin_nodes): Initialize init_descriptor and
      	adjust_descriptor.
      	* tree-nested.c: Include target.h.
      	(struct nesting_info): Add 'any_descr_created' field.
      	(get_descriptor_type): New function.
      	(lookup_element_for_decl): New function extracted from...
      	(create_field_for_decl): Likewise.
      	(lookup_tramp_for_decl): ...here.  Adjust.
      	(lookup_descr_for_decl): New function.
      	(convert_tramp_reference_op): Deal with descriptors.
      	(build_init_call_stmt): New function extracted from...
      	(finalize_nesting_tree_1): ...here.  Adjust and deal withdescriptors.
      	* defaults.h (FUNCTION_ALIGNMENT): Define.
      	(TRAMPOLINE_ALIGNMENT): Set to above instead of FUNCTION_BOUNDARY.
      	* config/i386/i386.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
      	* config/ia64/ia64.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Likewise.
      	* config/rs6000/rs6000.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS):Likewise.
      	* config/sparc/sparc.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Likewise.
      ada/
      	* gcc-interface/misc.c (LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS):Define.
      	* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Access>: Deal with
      	a zero TARGET_CUSTOM_FUNCTION_DESCRIPTORS specially for Code_Address.
      	Otherwise, if TARGET_CUSTOM_FUNCTION_DESCRIPTORS is positive, set
      	FUNC_ADDR_BY_DESCRIPTOR for 'Access/'Unrestricted_Access of nested
      	subprograms if the type can use an internal representation.
      	(call_to_gnu): Likewise, but set CALL_EXPR_BY_DESCRIPTOR on indirect
      	calls if the type can use an internal representation.
      
      From-SVN: r241222
      Eric Botcazou committed
    • system-aix.ads (Always_Compatible_Rep): Change to False. · 01c0b7cf
      	* system-aix.ads (Always_Compatible_Rep): Change to False.
      	* system-aix64.ads (Always_Compatible_Rep): Likewise.
      	* system-hpux-ia64.ads (Always_Compatible_Rep): Likewise.
      	* system-hpux.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-alpha.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-hppa.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-ia64.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-mips.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-mips64el.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-mipsel.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-s390.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-s390x.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-sh4.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-sparc.ads (Always_Compatible_Rep): Likewise.
      	* system-linux-sparcv9.ads (Always_Compatible_Rep): Likewise.
      	* system-rtems.ads (Always_Compatible_Rep): Likewise.
      
      From-SVN: r241213
      Eric Botcazou committed
  19. 14 Oct, 2016 1 commit
  20. 13 Oct, 2016 10 commits
    • Move MEMMODEL_* from coretypes.h to memmodel.h · 4d0cdd0c
      2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/
          * coretypes.h: Move MEMMODEL_* macros and enum memmodel definition
          into ...
          * memmodel.h: This file.
          * alias.c, asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
            caller-save.c, calls.c, ccmp.c, cfgbuild.c, cfgcleanup.c,
            cfgexpand.c, cfgloopanal.c, cfgrtl.c, cilk-common.c, combine.c,
            combine-stack-adj.c, common/config/aarch64/aarch64-common.c,
            common/config/arm/arm-common.c, common/config/bfin/bfin-common.c,
            common/config/c6x/c6x-common.c, common/config/i386/i386-common.c,
            common/config/ia64/ia64-common.c, common/config/nvptx/nvptx-common.c,
            compare-elim.c, config/aarch64/aarch64-builtins.c,
            config/aarch64/aarch64-c.c, config/aarch64/cortex-a57-fma-steering.c,
            config/arc/arc.c, config/arc/arc-c.c, config/arm/arm-builtins.c,
            config/arm/arm-c.c, config/avr/avr.c, config/avr/avr-c.c,
            config/avr/avr-log.c, config/bfin/bfin.c, config/c6x/c6x.c,
            config/cr16/cr16.c, config/cris/cris.c, config/darwin-c.c,
            config/darwin.c, config/epiphany/epiphany.c,
            config/epiphany/mode-switch-use.c,
            config/epiphany/resolve-sw-modes.c, config/fr30/fr30.c,
            config/frv/frv.c, config/ft32/ft32.c, config/h8300/h8300.c,
            config/i386/i386-c.c, config/i386/winnt.c, config/iq2000/iq2000.c,
            config/lm32/lm32.c, config/m32c/m32c.c, config/m32r/m32r.c,
            config/m68k/m68k.c, config/mcore/mcore.c,
            config/microblaze/microblaze.c, config/mmix/mmix.c,
            config/mn10300/mn10300.c, config/moxie/moxie.c,
            config/msp430/msp430.c, config/nds32/nds32-cost.c,
            config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
            config/nds32/nds32-memory-manipulation.c,
            config/nds32/nds32-predicates.c, config/nds32/nds32.c,
            config/nios2/nios2.c, config/nvptx/nvptx.c, config/pa/pa.c,
            config/pdp11/pdp11.c, config/rl78/rl78.c, config/rs6000/rs6000-c.c,
            config/rx/rx.c, config/s390/s390-c.c, config/s390/s390.c,
            config/sh/sh.c, config/sh/sh-c.c, config/sh/sh-mem.cc,
            config/sh/sh_treg_combine.cc, config/sol2.c, config/spu/spu.c,
            config/stormy16/stormy16.c, config/tilegx/tilegx.c,
            config/tilepro/tilepro.c, config/v850/v850.c, config/vax/vax.c,
            config/visium/visium.c, config/vms/vms-c.c, config/xtensa/xtensa.c,
            coverage.c, cppbuiltin.c, cprop.c, cse.c, cselib.c, dbxout.c, dce.c,
            df-core.c, df-problems.c, df-scan.c, dojump.c, dse.c, dwarf2asm.c,
            dwarf2cfi.c, dwarf2out.c, emit-rtl.c, except.c, explow.c, expmed.c,
            expr.c, final.c, fold-const.c, function.c, fwprop.c, gcse.c,
            ggc-page.c, haifa-sched.c, hsa-brig.c, hsa-gen.c, hw-doloop.c,
            ifcvt.c, init-regs.c, internal-fn.c, ira-build.c, ira-color.c,
            ira-conflicts.c, ira-costs.c, ira-emit.c, ira-lives.c, ira.c, jump.c,
            loop-doloop.c, loop-invariant.c, loop-iv.c, loop-unroll.c,
            lower-subreg.c, lra.c, lra-assigns.c, lra-coalesce.c,
            lra-constraints.c, lra-eliminations.c, lra-lives.c, lra-remat.c,
            lra-spills.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
            postreload-gcse.c, postreload.c, predict.c, print-rtl-function.c,
            recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
            reload.c, reload1.c, reorg.c, resource.c, rtl-chkp.c, rtl-tests.c,
            rtlanal.c, rtlhooks.c, sched-deps.c, sched-rgn.c, sdbout.c,
            sel-sched-ir.c, sel-sched.c, shrink-wrap.c, simplify-rtx.c,
            stack-ptr-mod.c, stmt.c, stor-layout.c, target-globals.c,
            targhooks.c, toplev.c, tree-nested.c, tree-outof-ssa.c,
            tree-profile.c, tree-ssa-coalesce.c, tree-ssa-ifcombine.c,
            tree-ssa-loop-ivopts.c, tree-ssa-loop.c, tree-ssa-reassoc.c,
            tree-ssa-sccvn.c, tree-vect-data-refs.c, ubsan.c, valtrack.c,
            var-tracking.c, varasm.c: Include memmodel.h.
          * genattrtab.c (write_header): Include memmodel.h in generated file.
          * genautomata.c (main): Likewise.
          * gengtype.c (open_base_files): Likewise.
          * genopinit.c (main): Likewise.
          * genconditions.c (write_header): Include memmodel.h earlier in
          generated file.
          * genemit.c (main): Likewise.
          * genoutput.c (output_prologue): Likewise.
          * genpeep.c (main): Likewise.
          * genpreds.c (write_insn_preds_c): Likewise.
          * genrecog.c (write_header): Likewise.
          * Makefile.in (PLUGIN_HEADERS): Include memmodel.h
      
          gcc/ada/
          * gcc-interface/utils2.c: Include memmodel.h.
      
          gcc/c-family/
          * c-cppbuiltin.c: Include memmodel.h.
          * c-opts.c: Likewise.
          * c-pragma.c: Likewise.
          * c-warn.c: Likewise.
      
          gcc/c/
          * c-typeck.c: Include memmodel.h.
      
          gcc/cp/
          * decl2.c: Include memmodel.h.
          * rtti.c: Likewise.
      
          gcc/fortran/
          * trans-intrinsic.c: Include memmodel.h.
      
          gcc/go/
          * go-backend.c: Include memmodel.h.
      
          libgcc/
          * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
          equivalent.
          * config/tilepro/atomic.c: Likewise and stop casting model to
          enum memmodel.
      
      From-SVN: r241121
      Thomas Preud'homme committed
    • [multiple changes] · ec225529
      2016-10-13  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch6.adb (Analyze_Expression_Function):
      	Remove the aspects of the original expression function has been
      	rewritten into a subprogram declaration or a body. Reinsert the
      	aspects once they have been analyzed.
      
      2016-10-13  Tristan Gingold  <gingold@adacore.com>
      
      	* exp_ch9.adb (Expand_N_Asynchronous_Select): Return immediately
      	on restricted profile.
      
      2016-10-13  Javier Miranda  <miranda@adacore.com>
      
      	* sem_prag.adb
      	(Process_Compile_Time_Warning_Or_Error): Register the pragma
      	for its validation after the backend has been called only if its
      	expression has some occurrence of attributes 'size or 'alignment
      	* table.ads (Release_Threshold): New formal.
      	(Release): Adding documentation of its new functionality.
      	* table.adb (Release): Extend its functionality with a
      	Release_Threshold.
      	* nlists.adb (Next_Node table): Set its Release_Threshold.
      	* atree.adb (Orig_Nodes table): Set its Release_Threshold.
      	* atree.ads (Nodes table): Set its Release_Threshold.
      	(Flags table): Set its Release_Threshold.
      	* alloc.ads (Nodes_Release_Threshold): New constant declaration.
      	(Orig_Nodes_Release_Threshold): New constant declaration.
      	* debug.adb (switch d.9): Left free.
      	* gnat1drv.adb (Post_Compilation_Validation_Checks): Enable
      	validation of pragmas Compile_Time_Error and Compile_Time_Warning.
      
      From-SVN: r241117
      Arnaud Charlet committed
    • [multiple changes] · 8eb8461d
      2016-10-13  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch6.adb (Create_Extra_Formals): Generate
      	an Itype reference for the object extra formal in case the
      	subprogram is called within the same or nested scope.
      
      2016-10-13  Claire Dross  <dross@adacore.com>
      
      	* sem_ch5.adb (Analyze_Iterator_Specification):
      	Also create a renaming in GNATprove mode.
      
      2016-10-13  Ed Schonberg  <schonberg@adacore.com>
      
      	* freeze.adb (Freeze_Fixed_Point_Type): in SPARK mode, the
      	given bounds of the type must be strictly representable, and the
      	range reduction by one delta ("shaving") allowed by the Ada RM,
      	is not applicable in SPARK.
      
      2016-10-13  Javier Miranda  <miranda@adacore.com>
      
      	* debug.adb (switch d.9): Used to temporarily disable the support
      	needed for this enhancement since it causes regressions with
      	large sources.
      	* gnat1drv.adb (Post_Compilation_Validation_Checks): Temporarily
      	leave the validation of pragmas Compile_Time_Warning and
      	Compile_Time_Error under control of -gnatd.9/
      
      From-SVN: r241115
      Arnaud Charlet committed
    • * i-vxinco.adb, i-vxinco.ads: New files. · 870ce4d5
      From-SVN: r241114
      Ed Falis committed
    • [multiple changes] · 5dc203d2
      2016-10-13  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch10.adb (Entity_Needs_Body): A generic
      	subprogram renaming needs a body if the renamed unit is declared
      	outside the current compilation unit.
      
      2016-10-13  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sinfo.ads, sem_ch12.adb, sem.adb, expander.adb, sem_res.ads,
      	sem_ch4.adb, sem_ch8.adb, s-memory.adb: Minor reformatting.
      
      2016-10-13  Vincent Celier  <celier@adacore.com>
      
      	* gnatcmd.adb: Delete all temporary files when invoked as gnat
      	list -V -P ...
      
      2016-10-13  Ed Falis  <falis@adacore.com>
      
      	* impunit.adb: add i-vxinco.ads.
      	* s-interr-vxworks.adb: add hook for user interrupt connection routine.
      
      From-SVN: r241112
      Arnaud Charlet committed
    • s-interr-hwint.adb, [...]: Rename s-interr-hwint.adb to s-interr-vxworks.adb. · 6c25a676
      2016-10-13  Ed Falis  <falis@adacore.com>
      
      	* s-interr-hwint.adb, s-interr-vxworks.adb: Rename s-interr-hwint.adb
      	to s-interr-vxworks.adb.
      
      From-SVN: r241110
      Ed Falis committed
    • exp_ch7.adb, [...]: Minor typo fixes and reformatting. · c9d2e84b
      2016-10-13  Gary Dismukes  <dismukes@adacore.com>
      
      	* exp_ch7.adb, einfo.ads, sem_prag.adb, sem_prag.ads, sem.ads,
      	sem_attr.adb, sem_case.adb, sem_ch13.ads: Minor typo fixes and
      	reformatting.
      
      From-SVN: r241109
      Gary Dismukes committed
    • sem_prag.ads (Process_Compile_Time_Warning_Or_Error): New overloaded subprogram… · a946a5c3
      sem_prag.ads (Process_Compile_Time_Warning_Or_Error): New overloaded subprogram that factorizes code executed as part of the regular...
      
      2016-10-13  Javier Miranda  <miranda@adacore.com>
      
      	* sem_prag.ads (Process_Compile_Time_Warning_Or_Error): New
      	overloaded subprogram that factorizes code executed as part
      	of the regular processing of these pragmas and as part of its
      	validation after invoking the backend.
      	* sem_prag.adb (Process_Compile_Time_Warning_Or_Error): New
      	subprogram.
      	(Process_Compile_Time_Warning_Or_Error): If the
      	condition is known at compile time then invoke the new overloaded
      	subprogram; otherwise register the pragma in a table to validate
      	it after invoking the backend.
      	* sem.ads, sem.adb (Unlock): New subprogram.
      	* sem_attr.adb (Analyze_Attribute [Size]): If we are processing
      	pragmas Compile_Time_Warning and Compile_Time_Errors after the
      	backend has been called then evaluate this attribute if 'Size
      	is known at compile time.
      	* gnat1drv.adb (Post_Compilation_Validation_Checks): Validate
      	compile time warnings and errors.
      	* sem_ch13.ads, sem_ch13.adb (Validate_Compile_Time_Warning_Error):
      	New subprogram.
      	(Validate_Compile_Time_Warning_Errors): New subprogram.
      
      From-SVN: r241107
      Javier Miranda committed
    • [multiple changes] · c877ae8d
      2016-10-13  Yannick Moy  <moy@adacore.com>
      
      	* sem_prag.adb (Analyze_Refined_Depends_In_Decl_Part): Adapt to
      	optional refinement for abstract states with only partial refinement
      	visible.
      
      2016-10-13  Justin Squirek  <squirek@adacore.com>
      
      	* sem_ch13.adb: Minor correction in comment in
      	Analyze_Aspect_Specifications
      	* sem_prag.adb: Minor reformatting.
      
      2016-10-13  Thomas Quinot  <quinot@adacore.com>
      
      	* s-stratt-xdr.adb: Disable compiler unit warnings.
      
      2016-10-13  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Visible_Component): In an instance body, check
      	whether the component may be hidden in a selected component by
      	a homonym that is a primitive operation of the type of the prefix.
      
      From-SVN: r241106
      Arnaud Charlet committed
    • re PR target/77957 (Undefined .LCTOC0 with -fstack-protector-strong -mminimal-toc -O0 on ppc64) · 1202f33e
      	PR target/77957
      	* hooks.h (hook_tree_void_null): Declare.
      	* hooks.c (hook_tree_void_null): New function.
      	* langhooks.c (lhd_return_null_tree_v): Remove.
      	* langhooks-def.h (lhd_return_null_tree_v): Remove.
      	* cfgexpand.c (stack_protect_prologue): If guard_decl is NULL,
      	set y to const0_rtx.
      	* function.c (stack_protect_epilogue): Likewise.
      	* config/tilepro/tilepro.c (TARGET_STACK_PROTECT_GUARD): Redefine
      	if TARGET_THREAD_SSP_OFFSET is defined.
      	* config/s390/s390.c (TARGET_STACK_PROTECT_GUARD): Likewise.
      	* config/sparc/sparc.c (TARGET_STACK_PROTECT_GUARD): Likewise.
      	* config/tilegx/tilegx.c (TARGET_STACK_PROTECT_GUARD): Likewise.
      	* config/rs6000/rs6000.c (TARGET_STACK_PROTECT_GUARD): Likewise.
      	* config/i386/i386.c (TARGET_STACK_PROTECT_GUARD): Likewise.
      	(ix86_stack_protect_guard): New function.
      c/
      	* c-objc-common.h (LANG_HOOKS_GETDECLS): Use hook_tree_void_null
      	instead of lhd_return_null_tree_v.
      ada/
      	* gcc-interface/misc.c (LANG_HOOKS_GETDECLS): Use hook_tree_void_null
      	instead of lhd_return_null_tree_v.
      
      From-SVN: r241087
      Jakub Jelinek committed
  21. 12 Oct, 2016 2 commits
    • [multiple changes] · 05f1a543
      2016-10-12  Yannick Moy  <moy@adacore.com>
      
      	* einfo.adb, einfo.ads (Partial_Refinement_Constituents): Take
      	into account constituents that are themselves abstract states
      	with full or partial refinement visible.
      	* sem_prag.adb (Find_Encapsulating_State): Move function
      	to library-level, to share between subprograms.
      	(Analyze_Refined_Global_In_Decl_Part): Use
      	Find_Encapsulating_State to get relevant encapsulating state.
      
      2016-10-12  Arnaud Charlet  <charlet@adacore.com>
      
      	* gnat1drv.adb: Fix minor typo.
      
      From-SVN: r241052
      Arnaud Charlet committed
    • sem_prag.adb (Analyze_Refined_Depends_In_Decl_Part): Adapt checking for optional… · a25f5b28
      sem_prag.adb (Analyze_Refined_Depends_In_Decl_Part): Adapt checking for optional refinement of abstract state with partial visible...
      
      2016-10-12  Yannick Moy  <moy@adacore.com>
      
      	* sem_prag.adb (Analyze_Refined_Depends_In_Decl_Part): Adapt checking
      	for optional refinement of abstract state with partial
      	visible refinement.
      	(Analyze_Refined_Global_In_Decl_Part): Adapt checking for optional
      	refinement of abstract state with partial visible refinement. Implement
      	new rules in SPARK RM 7.2.4 related to optional refinement.
      	Also fix the missing detection of missing items.
      
      From-SVN: r241050
      Yannick Moy committed