1. 17 Nov, 2017 18 commits
    • PR libstdc++/83025 fix constraints for path overloads in <fstream> · 96e0367e
      	PR libstdc++/83025
      	* include/std/fstream (basic_filebuf::_If_path): Move to
      	namespace-scope and rename to _If_fs_path.
      	(basic_filebuf::open): Use new name.
      	(basic_ifstream(_Path, ios::openmode))
      	(basic_ifstream::open(_Path, ios::openmode))
      	(basic_ofstream(_Path, ios::openmode))
      	(basic_ofstream::open(_Path, ios::openmode))
      	(basic_fstream(_Path, ios::openmode))
      	(basic_fstream::open(_Path, ios::openmode)): Use _If_fs_path.
      	* testsuite/27_io/basic_filebuf/open/char/path.cc: Test with filename
      	as non-const char*.
      	* testsuite/27_io/basic_fstream/cons/char/path.cc: Likewise.
      	* testsuite/27_io/basic_fstream/open/char/path.cc: Likewise.
      	* testsuite/27_io/basic_ifstream/cons/char/path.cc: Likewise.
      	* testsuite/27_io/basic_ifstream/open/char/path.cc: Likewise.
      	* testsuite/27_io/basic_ofstream/cons/char/path.cc: Likewise.
      	* testsuite/27_io/basic_ofstream/open/char/path.cc: Likewise.
      
      From-SVN: r254871
      Jonathan Wakely committed
    • re PR fortran/83017 (DO CONCURRENT not parallelizing) · 34705fdc
      2017-11-17  Richard Biener  <rguenther@suse.de>
      
      	PR fortran/83017
      	* tree-core.h (enum annot_expr_kind): Add annot_expr_parallel_kind.
      	* tree-pretty-print.c (dump_generic_node): Handle
      	annot_expr_parallel_kind.
      	* tree-cfg.c (replace_loop_annotate_in_block): Likewise.
      	* gimplify.c (gimple_boolify): Likewise.
      
      	fortran/
      	* trans-stmt.c (gfc_trans_forall_loop): Annotate DO CONCURRENT
      	loops with annot_expr_parallel_kind instead of just
      	annot_expr_ivdep_kind.
      
      From-SVN: r254869
      Richard Biener committed
    • Enable building libgcc with CET options. · 1ecae1fc
      Enable building libgcc with CET options by default on Linux/x86 if
      binutils supports CET v2.0.  It can be disabled with --disable-cet.
      It is an error to configure GCC with --enable-cet if bintuiils
      doesn't support CET v2.0.
      
      ENDBR instruction is added to __morestack_large_model since it is
      called indirectly.
      
      2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
      
      config/
      	* cet.m4: New file.
      
      gcc/
      	* config.gcc (extra_headers): Add cet.h for x86 targets.
      	* config/i386/cet.h: New file.
      	* doc/install.texi: Add --enable-cet/--disable-cet.
      
      libgcc/
      	* Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
      	(CET_FLAGS): New.
      	* config/i386/morestack.S: Include <cet.h>.
      	(__morestack_large_model): Add _CET_ENDBR at function entrance.
      	* config/i386/resms64.h: Include <cet.h>.
      	* config/i386/resms64f.h: Likewise.
      	* config/i386/resms64fx.h: Likewise.
      	* config/i386/resms64x.h: Likewise.
      	* config/i386/savms64.h: Likewise.
      	* config/i386/savms64f.h: Likewise.
      	* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
      	(CRTSTUFF_T_CFLAGS): Likewise.
      	* configure.ac: Include ../config/cet.m4.
      	Set and substitute CET_FLAGS.
      	* configure: Regenerated.
      
      From-SVN: r254868
      Igor Tsimbalist committed
    • re PR fortran/83017 (DO CONCURRENT not parallelizing) · a851ce04
      2017-11-17  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/83017
      	* tree-parloops.c (MIN_PER_THREAD): Use --param parloops-min-per-thread.
      	(gen_parallel_loop): Properly count iterations.
      	(parallelize_loops): Handle loop->can_be_parallel independent
      	of flag_loop_parallelize_all.  Make static profitability test match
      	the runtime one.
      	* params.def (PARAM_PARLOOPS_MIN_PER_THREAD): New.
      	* invoke.texi (parloops-min-per-thread): Document.
      
      	* gcc.dg/autopar/pr49960.c: Adjust.
      
      From-SVN: r254867
      Richard Biener committed
    • [ARC] Update GLIBC_DYNAMIC_LINKER · e716496a
      Update GLIBC_DYNAMIC_LINKER per glibc upstreaming review comments:
      http://lists.infradead.org/pipermail/linux-snps-arc/2017-June/002634.html
      
      gcc/
      	* config/arc/linux.h: GLIBC_DYNAMIC_LINKER update per glibc
      	upstreaming review comments
      
      From-SVN: r254866
      Vineet Gupta committed
    • [ARM] Fix test armv8_2-fp16-move-1.c · fdb5fa0c
      2017-11-17  Sudakshina Das  <sudi.das@arm.com>
      
      	* gcc.target/arm/armv8_2-fp16-move-1.c: Edit vmov scan-assembler
      	directives.
      
      From-SVN: r254863
      Sudakshina Das committed
    • expr.c (copy_blkmode_to_reg): Fix bitsize for targets with fast unaligned access. · 6f203500
      2017-11-17  Tamar Christina  <tamar.christina@arm.com>
      
      	* expr.c (copy_blkmode_to_reg): Fix bitsize for targets
      	with fast unaligned access.
      	* doc/sourcebuild.texi (word_mode_no_slow_unalign): New.
      	
      gcc/testsuite/
      2017-11-17  Tamar Christina  <tamar.christina@arm.com>
      
      	* gcc.dg/struct-simple.c: New.
      	* lib/target-supports.exp
      	(check_effective_target_word_mode_no_slow_unalign): New.
      
      From-SVN: r254862
      Tamar Christina committed
    • [ARM] Rework expectation for call to Armv8-M nonsecure function · 7326cf0f
      Testcase gcc.target/arm/cmse/cmse-14.c checks whether bar is called via
      __gnu_cmse_nonsecure_call libcall and not via a direct call. However the
      pattern is a bit surprising in that it needs to explicitely allow "by"
      due to allowing anything before the 'b'.
      
      This patch rewrites the logic to look for b as a first non-whitespace
      letter followed iby anything (to match bl and conditional branches)
      followed by some spaces and then bar.
      
      2017-11-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/testsuite/
          * gcc.target/arm/cmse/cmse-14.c: Change logic to match branch
          instruction to bar.
      
      From-SVN: r254861
      Thomas Preud'homme committed
    • [ARM] Fix selection of effective target for cmse tests · cdee9e6b
      Some of the tests in the gcc.target/arm/cmse directory (eg.
      gcc.target/arm/cmse/mainline/bitfield-4.c) are failing when run without
      an architecture specified in RUNTESTFLAGS due to them not adding the
      option to select an Armv8-M architecture.
      
      This patch fixes the issue by adding the right option from the exp file
      so that no architecture fiddling is necessary in the individual tests.
      
      2017-11-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/testsuite/
          * gcc.target/arm/cmse/cmse.exp: Add option to select Armv8-M Baseline
          or Armv8-M Mainline when running the respective tests.
          * gcc.target/arm/cmse/baseline/cmse-11.c: Remove architecture check and
          selection.
          * gcc.target/arm/cmse/baseline/cmse-13.c: Likewise.
          * gcc.target/arm/cmse/baseline/cmse-2.c: Likewise.
          * gcc.target/arm/cmse/baseline/cmse-6.c: Likewise.
          * gcc.target/arm/cmse/baseline/softfp.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard/cmse-13.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard/cmse-5.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard/cmse-7.c: Likewise.
          * gcc.target/arm/cmse/mainline/hard/cmse-8.c: Likewise.
          * gcc.target/arm/cmse/mainline/soft/cmse-13.c: Likewise.
          * gcc.target/arm/cmse/mainline/soft/cmse-5.c: Likewise.
          * gcc.target/arm/cmse/mainline/soft/cmse-7.c: Likewise.
          * gcc.target/arm/cmse/mainline/soft/cmse-8.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp/cmse-13.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp/cmse-5.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp/cmse-7.c: Likewise.
          * gcc.target/arm/cmse/mainline/softfp/cmse-8.c: Likewise.
      
      From-SVN: r254860
      Thomas Preud'homme committed
    • [ARM] Fix ICE in Armv8-M Security Extensions code · cbabe495
      Commit r253825 which introduced some sanity checks for sbitmap revealed
      a bug in the conversion of cmse_nonsecure_entry_clear_before_return ()
      to using bitmap structure. bitmap_and expects that the two bitmaps have
      the same length, yet the code in
      cmse_nonsecure_entry_clear_before_return () have different size for
      to_clear_bitmap and to_clear_arg_regs_bitmap, with the assumption that
      bitmap_and would behave has if the bits not allocated were in fact zero.
      This commit makes sure both bitmap are equally sized.
      
      2017-11-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/
          * config/arm/arm.c (cmse_nonsecure_entry_clear_before_return): Allocate
          to_clear_arg_regs_bitmap to the same size as to_clear_bitmap.
      
      From-SVN: r254859
      Thomas Preud'homme committed
    • tree-ssa-pre.c (phi_translate_1): Remove redundant constant folding of references. · c5e8a8c9
      2017-11-17  Richard Biener  <rguenther@suse.de>
      
      	* tree-ssa-pre.c (phi_translate_1): Remove redundant constant
      	folding of references.
      
      From-SVN: r254858
      Richard Biener committed
    • re PR testsuite/82997 (gcc.dg/cpp/sysmac1.c and gcc.dg/cpp/macsyntx.c fail starting with r254707) · fa30ba99
      	PR testsuite/82997
      	* gcc.dg/cpp/macsyntx.c (var1, rest): Don't expect
      	"requires at least one" warning.
      	* gcc.dg/cpp/sysmac1.c (foo): Likewise.
      	* gcc.dg/cpp/macsyntx2.c: New test.
      	* gcc.dg/cpp/sysmac3.c: New test.
      	* gcc.dg/cpp/sysmac3.h: New file.
      
      From-SVN: r254857
      Jakub Jelinek committed
    • re PR middle-end/78809 (Inline strcmp with small constant strings) · caed5c92
      2017-11-15  Qing Zhao <qing.zhao@oracle.com>
      
      	PR middle-end/78809
      	* gimple-fold.c (gimple_fold_builtin_string_compare): Add handling
      	of replacing call to strncmp with corresponding call to strcmp when
      	meeting conditions.
      
      	PR middle-end/78809
      	* gcc.dg/strcmpopt_1.c: New test.
      
      From-SVN: r254856
      Qing Zhao committed
    • Enable option -mprefer-avx256 as default for Intel Skylake configuration · 5958557b
      gcc/
      	* config/i386/x86-tune.def (X86_TUNE_AVX256_OPTIMAL): Add tuning
      	option prefer-avx256 for skylake-avx512 configuration.
      	* config/i386/i386.c (ix86_option_override_internal): Ditto.
      	(get_builtin_code_for_version): Ditto.
      
      From-SVN: r254855
      Sergey Shalnov committed
    • [NDS32] Reserve more register numbers for new registers in the future. · 71d8eff1
      gcc/
      	* config/nds32/nds32.h (FIRST_PSEUDO_REGISTER): Modify.
      	(FIXED_REGISTERS): Reserve more register numbers.
      	(CALL_USED_REGISTERS): Likewise.
      	(REG_ALLOC_ORDER): Likewise.
      	(REG_CLASS_CONTENTS): Likewise.
      	(REGISTER_NAMES): Likewise.
      
      Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com>
      
      From-SVN: r254854
      Chung-Ju Wu committed
    • Add nds32 vector modes. · 3d7f09de
      gcc/
      	* config/nds32/nds32-modes.def: Add vector mode V4QI V2HI V8QI V4HI
      	V2SI.
      	* config/nds32/iterators.md: Add vector mode iterators and attributes.
      
      Co-Authored-By: Kito Cheng <kito.cheng@gmail.com>
      
      From-SVN: r254853
      Chung-Ju Wu committed
    • Daily bump. · dc8d52b1
      From-SVN: r254852
      GCC Administrator committed
  2. 16 Nov, 2017 22 commits
    • Tweak vector::_M_realloc_insert for code size · c261ba2c
      2017-11-17  Marc Glisse  <marc.glisse@inria.fr>
      
      	* include/bits/vector.tcc (vector::_M_realloc_insert): Cache old
      	values before the allocation.
      
      From-SVN: r254849
      Marc Glisse committed
    • Had a small thinko in the implementation of mmintrin.h _mm_add_pi32 that only… · b1e35f49
      Had a small thinko in the implementation of mmintrin.h _mm_add_pi32 that only shows when compiling for power9.
      
      Had a small thinko in the implementation of mmintrin.h _mm_add_pi32 that only shows
      when compiling for power9. A trivial and obvious 2 line patch to fix it.
      
      From-SVN: r254848
      Steven Munroe committed
    • Add -std=c18 etc. option aliases. · 1e39313a
      ISO C17 won't go to ballot until December, meaning publication of the
      standard won't be until 2018, leaving ambiguity as to whether people
      will end up referring to the standard as C17, as it's currently known
      and which corresponds to the __STDC_VERSION__ value, or C18 based on
      the publication date.
      
      In case people end up referring to this standard as C18, this patch
      adds corresponding option aliases -std=c18, -std=iso9899:2018,
      -std=gnu18 so people can use those names based on publication date if
      they wish.  The "expected to be" explanations in help texts and the
      manual can be removed as and when the standard is published, hopefully
      before GCC 8 is out.
      
      Bootstrapped with no regressions on x86_64-pc-linux-gnu.
      
      gcc:
      	* doc/invoke.texi (-std=c17): Refer to 2018 expected publication
      	date of C17.
      	(-std=c18, -std=iso9899:2018, -std=gnu18): Document option
      	aliases.
      
      gcc/c-family:
      	* c.opt (-std=c17, std=gnu17, -std=iso9899:2017): Refer to 2018
      	expected publication date of C17.
      	(-std=c18, -std=gnu18, -std=iso9899:2018): New option aliases.
      
      gcc/testsuite:
      	* gcc.dg/c18-version-1.c, gcc.dg/c18-version-2.c: New tests.
      
      From-SVN: r254847
      Joseph Myers committed
    • re PR bootstrap/82856 (--enable-maintainter-mode broken by incompatiblity of… · 727bd12e
      re PR bootstrap/82856 (--enable-maintainter-mode broken by incompatiblity of gcc's required automake and modern Perl)
      
      2017-11-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR bootstrap/82856
      	* doc/install.texi: Document incompatibility of Perl >=5.6.26
      	with the required version of automake 1.11.6.
      
      From-SVN: r254845
      Thomas Koenig committed
    • power9.md (power9fpdiv): New automaton and cpu_unit defined for it. · 375aa4bc
      	* rs6000/power9.md (power9fpdiv): New automaton and cpu_unit defined
      	for it.
      	(DU_C2_3_power9): Correct reservation combinations.
      	(FP_DIV_power9, VEC_DIV_power9): New.
      	(power9-alu): Split out rotate/shift...
      	(power9-rot): ...to here, correct dispatch resource.
      	(power9-cracked-alu, power9-mul, power9-mul-compare): Correct dispatch
      	resource.
      	(power9-fp): Correct latency.
      	(power9-sdiv): Add div/sqrt resource.
      	(power9-ddiv): Correct latency, add div/sqrt resource.
      	(power9-sqrt, power9-dsqrt): Add div/sqrt resource.
      	(power9-vecfdiv, power9-vecdiv): Correct latency, add div/sqrt
      	resource.
      	(power9-qpdiv, power9-qpmul): Adjust resource usage.
      
      From-SVN: r254844
      Pat Haugen committed
    • PR c++/79092 - non-type args of different types are different · 6296cf8e
      	* tree.c (cp_tree_equal): Check the type of constants.
      	* pt.c (unify) [TEMPLATE_PARM_INDEX]: Handle UNIFY_ALLOW_INTEGER
      	when comparing to previously deduced argument.
      	(maybe_convert_nontype_argument): New.
      	(convert_nontype_argument): Call it.
      	(tsubst_copy_and_build): Handle partial instantiation of
      	IMPLICIT_CONV_EXPR.
      	(unify): Ignore type when deducing from array bound.
      	(dependent_type_p_r): Handle DEFERRED_NOEXCEPT.
      	(value_dependent_expression_p): Any type-dependent expression is
      	value-dependent.  Handle IMPLICIT_CONV_EXPR.
      	* cp-tree.h (IMPLICIT_CONV_EXPR_NONTYPE_ARG): New.
      	* mangle.c (write_template_arg): Strip IMPLICIT_CONV_EXPR.
      
      From-SVN: r254843
      Jason Merrill committed
    • rs6000.c (rs6000_expand_builtin): Do not do the switch statement mapping KF… · 285346b5
      rs6000.c (rs6000_expand_builtin): Do not do the switch statement mapping KF built-ins to TF built-ins if...
      
      [gcc]
      2017-11-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000.c (rs6000_expand_builtin): Do not do the
      	switch statement mapping KF built-ins to TF built-ins if we don't
      	have the proper ISA 3.0 assembler support.
      
      [gcc/testsuite]
      2017-11-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/bfp/bfp.exp: Look for *.c files, not *.c*
      	files to prevent ~ files from getting recognized.
      	* gcc.target/powerpc/dfp/dfp.exp: Likewise.
      	* gcc.target/powerpc/vsu/vsu.exp: Likewise.
      
      From-SVN: r254839
      Michael Meissner committed
    • Makefile.am: Remove references to c-compiler-name.h and cp-compiler-name.h · 9d99775c
      	* Makefile.am: Remove references to c-compiler-name.h and
      	cp-compiler-name.h
      	* Makefile.in: Regenerate.
      	* compiler-name.hh: New file.
      	* libcc1.cc: Don't include c-compiler-name.h.  Include
      	compiler-name.hh.
      	* libcp1.cc: Don't include cp-compiler-name.h.  Include
      	compiler-name.hh.
      
      Co-Authored-By: Pedro Alves <palves@redhat.com>
      
      From-SVN: r254838
      Sergio Durigan Junior committed
    • [BRIGFE] Reduce the number of type conversions due to · dc03239c
      the untyped HSAIL regs.
      
      Instead of always representing the HSAIL's untyped registers as
      unsigned int, the gccbrig now pre-analyzes the BRIG code and
      builds the register variables as a type used the most when storing
      or reading data to/from each register. This reduces the total
      conversions which cannot be always optimized away.
      
      From-SVN: r254837
      Henry Linjamäki committed
    • tree-emutls.c (lower_emutls_data): Remove unused bb_freq. · 35a282e0
      
      	* tree-emutls.c (lower_emutls_data): Remove unused bb_freq.
      	(lower_emutls_function_body): Do not compute it.
      
      From-SVN: r254836
      Jan Hubicka committed
    • ipa-split.c (split_bb_info): Turn time to sreal. · c2e87766
      
      	* ipa-split.c (split_bb_info): Turn time to sreal.
      	(split_point): Likewise.
      	(dump_split_point): Likewise.
      	(fine_split_points): Likewise.
      	(execute_split_functions): Only zero split_bbs; turn time to sreals.
      
      From-SVN: r254835
      Jan Hubicka committed
    • ipa-fnsummary.c (analyze_function_body): Accumulate time consistently in sreal. · b71289b1
      
      	* ipa-fnsummary.c (analyze_function_body): Accumulate time consistently
      	in sreal.
      	* gcc.dg/ipa/ipcp-2.c: Lower threshold.
      
      From-SVN: r254834
      Jan Hubicka committed
    • PR middle-end/63477 - Bogus warning with -O3 -Warray-bounds: array subscript · 913f8c08
      PR middle-end/63477 - Bogus warning with -O3 -Warray-bounds: array subscript
      is above array bounds
      
      gcc/testsuite/ChangeLog:
      
      	PR middle-end/63477
      	* gcc.dg/pr63477.c: New test.
      
      From-SVN: r254833
      Martin Sebor committed
    • predict.c (combine_predictions_for_bb): Preserve zero predicted eges. · b00ff621
      
      	* predict.c (combine_predictions_for_bb): Preserve zero predicted	
      	eges.
      	(expensive_function_p): Remove useless assert.
      	(determine_unlikely_bbs): Propagate also forward; determine cold blocks
      
      From-SVN: r254832
      Jan Hubicka committed
    • Remove wrong ChangeLog entry · aef0c806
      From-SVN: r254831
      Jason Merrill committed
    • PR tree-optimization/82588 - missing -Warray-bounds on a excessively large index · 8a5ee94a
      PR tree-optimization/82588 - missing -Warray-bounds on a excessively large index
      PR tree-optimization/82583 - missing -Warray-bounds on out-of-bounds inner indic
      
      gcc/ChangeLog:
      
      	PR tree-optimization/82588
      	PR tree-optimization/82583
      	* tree-vrp.c (check_array_ref): Handle flexible array members,
      	string literals, and inner indices.
      	(search_for_addr_array): Add detail to diagnostics.
      
      gcc/testsuite/ChangeLog:
      
      	PR tree-optimization/82588
      	PR tree-optimization/82583
      	* c-c++-common/Warray-bounds.c: New test.
      	* gcc.dg/Warray-bounds-11.c: Adjust.
      	* gcc.dg/Warray-bounds-22.c: New test.
      
      From-SVN: r254830
      Martin Sebor committed
    • Makefile.in: Merge Aarch64 and ARM "ifeq" blocks. · 79cefe9d
      2017-11-16  Doug Rupp  <rupp@adacore.com>
      
      	* gcc-interface/Makefile.in: Merge Aarch64 and ARM "ifeq" blocks.
      
      From-SVN: r254829
      Doug Rupp committed
    • [multiple changes] · d2ca5779
      2017-11-16  Steve Baird  <baird@adacore.com>
      
      	* debug.adb: Update another comment to indicate gnat2scil's use of the
      	-gnatd.7 switch.
      
      2017-11-16  Bob Duff  <duff@adacore.com>
      
      	* exp_ch6.adb (Expand_Call_Helper): Avoid creating a transient scope in
      	the case of nested build-in-place calls.
      
      From-SVN: r254827
      Pierre-Marie de Rodat committed
    • [multiple changes] · c82387cc
      2017-11-16  Joel Brobecker  <brobecker@adacore.com>
      
      	* doc/gnat_ugn/gnat_utility_programs.rst: Document the switches
      	available in gnatsymbolize.
      
      2017-11-16  Steve Baird  <baird@adacore.com>
      
      	* debug.adb: Update comment to indicate gnat2scil's use of the -gnatd.7
      	switch.
      
      From-SVN: r254826
      Pierre-Marie de Rodat committed
    • [multiple changes] · a3f9da70
      2017-11-16  Gary Dismukes  <dismukes@adacore.com>
      
      	* doc/gnat_ugn/elaboration_order_handling_in_gnat.rst, sem_ch6.adb,
      	sem_elab.adb: Minor editorial corrections.
      	* gnat_ugn.texi: Regenerate.
      
      2017-11-16  Joel Brobecker  <brobecker@adacore.com>
      
      	* doc/gnat_ugn/gnat_utility_programs.rst (GNAT UGN): Add
      	gnatsymbolize documentation.
      	* gnat_ugn.texi: Regenerate.
      
      2017-11-16  Steve Baird  <baird@adacore.com>
      
      	* sem_ch3.adb (Build_Derived_Record_Type): Replace all uses of
      	"Scope (Parent_Type)" with "Scope (Parent_Base)".
      
      From-SVN: r254825
      Pierre-Marie de Rodat committed
    • [PATCH] New lang hook · 5f3682ff
      https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01340.html
      	PR c++/82836
      	PR c++/82737
      	* tree.h (COPY_DECL_RTL): Rename parms for clarity.
      	(SET_DECL_ASSEMBLER_NAME): Forward to
      	overwrite_decl_assembler_name.
      	(COPY_DECL_ASSEMBLER_NAME): Rename parms for clarity.
      	(overwrite_decl_assembler_name): Declare.
      	* tree.c (overwrite_decl_assembler_name): New.
      	* langhooks-def.h (lhd_overwrite_decl_assembler_name): Declare.
      	(LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME): Provide default.
      	(LANG_HOOKS_INITIALIZER): Add it.
      	* langhooks.h (struct lang_hooks): Add overwrite_decl_assembler_name.
      	* langhooks.c (lhd_set_decl_assembler_name): Use
      	SET_DECL_ASSEMBLER_NAME.
      	(lhd_overwrite_decl_assembler_name): Default implementation.
      
      	PR c++/82836
      	PR c++/82737
      	* cp-objcp-common.h (LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME):
      	Override.
      	* cp-tree.h (overwrite_mangling): Declare.
      	* decl2.c (struct mangled_decl_hash): Entries are deletable.
      	(overwrite_mangling): New.
      
      	PR c++/82836
      	PR c++/82737
      	* g++.dg/pr82836.C: New.
      
      From-SVN: r254823
      Nathan Sidwell committed
    • Add noexcept to std::shared_future copy operations (LWG DR 2799) · a930324d
      	* include/std/future (shared_future): Add noexcept to copy constructor
      	and copy-assignment operator (LWG 2799).
      
      From-SVN: r254821
      Jonathan Wakely committed