1. 20 Feb, 2017 15 commits
  2. 19 Feb, 2017 12 commits
    • re PR fortran/79447 ([F08] gfortran rejects valid & accepts invalid internal… · 63af1586
      re PR fortran/79447 ([F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule)
      
      2017-02-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/79447
      	* decl.c (gfc_set_constant_character_len): Whitespace.
      	(gfc_match_end): Catch case where a procedure is contained in
      	a module procedure and ensure that 'end procedure' is the
      	correct termination.
      
      2017-02-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/79447
      	* gfortran.dg/submodule_24.f08 : New test.
      
      From-SVN: r245582
      Paul Thomas committed
    • re PR fortran/79229 (ICE in gfc_trans_assignment_1 with -fcheck=mem) · 4ca4d1e9
      gcc/testsuite/ChangeLog:
      
      2017-02-19  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	PR fortran/79229
      	* gfortran.dg/class_allocate_24.f90: New test.
      
      
      gcc/fortran/ChangeLog:
      
      2017-02-19  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	PR fortran/79229
      	* trans-expr.c (gfc_trans_assignment_1): Deref indirect refs when
      	compiling with -fcheck=mem to check the pointer and not the data.
      
      From-SVN: r245581
      Andre Vehreschild committed
    • re PR fortran/79402 (ICE with submodules: module procedure interface defined in parent module) · dea71ad0
      2017-02-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/79402
      	* resolve.c (fixup_unique_dummy): New function.
      	(gfc_resolve_expr): Call it for dummy variables with a unique
      	symtree name.
      
      2017-02-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/79402
      	* gfortran.dg/submodule_23.f90: New test.
      
      From-SVN: r245580
      Paul Thomas committed
    • re PR fortran/79335 (Conditional jump or move depends on uninitialised in value … · e0396d77
      re PR fortran/79335 (Conditional jump or move depends on uninitialised in value  get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53))
      
      gcc/fortran/ChangeLog:
      
      2017-02-19  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	PR fortran/79335
      	* trans-array.c (duplicate_allocatable_coarray): Ensure attributes
      	passed are properly initialized.
      	(structure_alloc_comps): Same.
      	* trans-expr.c (gfc_trans_structure_assign): Same.
      
      From-SVN: r245579
      Andre Vehreschild committed
    • re PR c++/79380 (ICE on C++11 code with illegal alignas specifier on… · f46e2bc9
      re PR c++/79380 (ICE on C++11 code with illegal alignas specifier on x86_64-linux-gnu: unexpected expression ‘f’ of kind overload)
      
      /cp
      2017-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/79380
      	* typeck.c (cxx_alignas_expr): Reject a non-integral alignas
      	argument.
      
      /testsuite
      2017-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/79380
      	* g++.dg/cpp0x/alignas8.C: New.
      
      From-SVN: r245578
      Paolo Carlini committed
    • Revert: · 74705cc6
      	2016-05-30  Uros Bizjak  <ubizjak@gmail.com>
      
      	* config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)".
      
      From-SVN: r245577
      Uros Bizjak committed
    • C++17 GB50 resolution (P0505R0) · 1dee318a
      2017-02-19  Dinka Ranns  <dinka.ranns@googlemail.com>
      
      	C++17 GB50 resolution
      	* include/std/chrono (duration::operator++()): Add
      	_GLIBCXX17_CONSTEXPR.
      	(duration::operator++(int)): Likewise.
      	(duration::operator--()): Likewise.
      	(duration::operator--(int)): Likewise.
      	(duration::operator+=(const duration&)): Likewise.
      	(duration::operator-=(const duration&)): Likewise.
      	(duration::operator*=(const rep&)): Likewise.
      	(duration::operator/=(const rep&)): Likewise.
      	(duration::operator%=(const rep&)): Likewise.
      	(duration::operator%=(const duration&)): Likewise.
      	(time_point::operator+=(const duration&)): Likewise.
      	(time_point::operator-=(const duration&)): Likewise.
      	* testsuite/20_util/duration/arithmetic/constexpr_c++17.cc: New test.
      	* testsuite/20_util/duration/literals/range.cc: Adjust dg-error.
      	* testsuite/20_util/time_point/arithmetic/constexpr.cc: New test.
      
      From-SVN: r245575
      Dinka Ranns committed
    • PR c++/69523 make -Wliteral-suffix control warning · 7dfa657b
      gcc:
      
      	PR c++/69523
      	* doc/invoke.texi (C++ Dialect Options) [-Wliteral-suffix]: Update
      	description.
      
      gcc/cp:
      
      2017-02-19  Eric Fiselier  <eric@efcs.ca>
      	    Jonathan Wakely  <jwakely@redhat.com>
      
      	PR c++/69523
      	* parser.c (cp_parser_unqualified_id): Use OPT_Wliteral_suffix to
      	control warning about literal suffix identifiers without a leading
      	underscore.
      
      gcc/testsuite:
      
      2017-02-19  Eric Fiselier  <eric@efcs.ca>
      	    Jonathan Wakely  <jwakely@redhat.com>
      
      	PR c++/69523
      	* g++.dg/cpp0x/Wliteral-suffix2.C: New test.
      
      From-SVN: r245574
      Jonathan Wakely committed
    • * doc/xml/manual/debug.xml: Adjust link to ThreadSanitizer. · ff7da2b6
      From-SVN: r245572
      Gerald Pfeifer committed
    • gimple-parser.c (c_parser_gimple_postfix_expression): Check return value of… · 41d1b0b1
      gimple-parser.c (c_parser_gimple_postfix_expression): Check return value of c_parser_parse_ssa_name against error_mark_node and emit...
      
      2017-02-19  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
      
      	* gimple-parser.c (c_parser_gimple_postfix_expression): Check return
      	value of c_parser_parse_ssa_name against error_mark_node and emit
      	error if ssa name is anonymous and written as default definition.
      
      From-SVN: r245571
      Prathamesh Kulkarni committed
    • gimple-pretty-print.c (dump_ternary_rhs): Adjust gimple dump format for FMA_EXPR. · eab1f169
      2017-02-19  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
      
      	* gimple-pretty-print.c (dump_ternary_rhs): Adjust gimple dump format
      	for FMA_EXPR.
      
      c/
      	* gimple-parser.c (c_parser_gimple_postfix_expression): Handle
      	FMA_EXPR.
      
      testsuite/
      	* gcc.dg/gimplefe-26.c: New test.
      
      From-SVN: r245570
      Prathamesh Kulkarni committed
    • Daily bump. · 593bf80a
      From-SVN: r245569
      GCC Administrator committed
  3. 18 Feb, 2017 8 commits
    • io.xml: Update link to groups.google.com. · 3fad5342
      	* doc/xml/manual/io.xml: Update link to groups.google.com.
      	Tweak link description.
      
      From-SVN: r245565
      Gerald Pfeifer committed
    • final.c (last_columnnum, [...]): New variables. · 497b7c47
      	* final.c (last_columnnum, override_columnnum): New variables.
      	(final_start_function): Set last_columnnum, pass it to begin_prologue
      	hook and pass 0 to dwarf2out_begin_prologue.
      	(final_scan_insn): Update override_columnnum.  Pass last_columnnum
      	to source_line debug hook.
      	(notice_source_line): Compute last_columnnum and for debug_column_info
      	return true on column changes.
      	* debug.h (struct gcc_debug_hooks): Add column argument to
      	source_line and begin_prologue hooks.
      	(debug_nothing_int_charstar_int_bool): Remove prototype.
      	(debug_nothing_int_int_charstar,
      	debug_nothing_int_int_charstar_int_bool): New prototypes.
      	(dwarf2out_begin_prologue): Add column argument.
      	* debug.c (do_nothing_debug_hooks): Adjust source_line and
      	begin_prologue hooks.
      	(debug_nothing_int_charstar_int_bool): Remove.
      	(debug_nothing_int_int_charstar,
      	debug_nothing_int_int_charstar_int_bool): New functions.
      	* dwarf2out.c (dwarf2out_begin_prologue): Add column argument, pass it
      	through to dwarf2out_source_line.
      	(dwarf2_lineno_debug_hooks): Adjust begin_prologue hook.
      	(dwarf2out_source_line): Add column argument, emit it if requested.
      	* sdbout.c (sdbout_source_line, sdbout_begin_prologue): Add column
      	arguments.
      	* xcoffout.h (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
      	* xcoffout.c (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
      	* vmsdbgout.c (vmsdbgout_begin_prologue): Add column argument, pass it
      	through to dwarf2out_begin_prologue.
      	(vmsdbgout_source_line): Add column argument, pass it through to
      	dwarf2out_source_line.
      	* dbxout.c (dbxout_begin_prologue): Add column argument, adjust
      	dbxout_source_line caller.
      	(dbxout_source_line): Add column argument.
      
      From-SVN: r245564
      Jakub Jelinek committed
    • common.opt (gno-column-info, [...]): New options. · 0029b929
      	* common.opt (gno-column-info, gcolumn-info): New options.
      	* dwarf2out.c (dwarf2_lineno_debug_hooks): Formatting fix.
      	(check_die): Also test for multiple DW_AT_decl_column attributes.
      	(add_src_coords_attributes, dwarf2out_imported_module_or_decl_1): Add
      	DW_AT_decl_column if requested.
      	(gen_subprogram_die): Compare and/or add also DW_AT_decl_column
      	if requested.
      	(gen_variable_die): Likewise.
      	(add_call_src_coords_attributes): Add DW_AT_call_column if requested.
      	* doc/invoke.texi (-gcolumn-info, -gno-column-info): Document.
      
      From-SVN: r245563
      Jakub Jelinek committed
    • thread_local-order2.C: xfail on hppa*-*-hpux*. · 47e16d83
      	* g++.dg/tls/thread_local-order2.C: xfail on hppa*-*-hpux*.
      
      From-SVN: r245562
      John David Anglin committed
    • re PR target/79569 (Unrecognized command line option ‘-m3dnowa’) · c28fcc60
      	PR target/79569
      	* config/i386/i386.opt (m3dnowa): Replace Undocumented with Report.
      	* common/config/i386/i386-common.c (OPTION_MASK_ISA_3DNOW_A_SET): Define.
      	(ix86_handle_option): Handle OPT_m3dnowa.
      	* doc/invoke.texi (-m3dnowa): Document.
      	* doc/extend.texi (__builtin_ia32_pmulhuw, __builtin_ia32_pf2iw): Use
      	-m3dnowa instead of -m3dnow -march=athlon.
      
      	* gcc.target/i386/3dnowA-3.c: New test.
      
      From-SVN: r245561
      Jakub Jelinek committed
    • re PR target/79559 (ICE in ix86_print_operand, at config/i386/i386.c:18189) · c2615951
      	PR target/79559
      	* config/i386/i386.c (ix86_print_operand): Use output_operand_lossage
      	instead of gcc_assert for K, r and R code checks.  Formatting fixes.
      
      	* gcc.target/i386/pr79559.c: New test.
      
      From-SVN: r245560
      Jakub Jelinek committed
    • * doc/xml/manual/profile_mode.xml: Fix link. · dc15bc7a
      From-SVN: r245559
      Gerald Pfeifer committed
    • Daily bump. · d92c7d95
      From-SVN: r245558
      GCC Administrator committed
  4. 17 Feb, 2017 5 commits
    • Restore DECIMAL_DIG macro to C99/C11 value. · 97fcf744
      By extending the set of floating types, TS 18661-3 thereby affected
      the definition of DECIMAL_DIG, which is defined in terms of the
      "widest supported floating type".  This is not conditional on whether
      __STDC_WANT_IEC_60559_TYPES_EXT__ is defined when <float.h> is
      included.
      
      I raised this possible incompatibility with C11 (an implementation
      should be able to conform simultaneously with C11, and with C11 + TS
      18661) in DR#501.  This is not yet resolved, but the latest proposal
      <http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2108.pdf> would
      obsolete DECIMAL_DIG with the intention of limiting it to the C11
      types (so making it equivalent to LDBL_DECIMAL_DIG).  (This proposal
      is intended to go along with a corresponding change to TS 18661-3 to
      avoid the new types and non-arithmetic interchange encodings affecting
      the value of DECIMAL_DIG.)
      
      To avoid releasing GCC 7 with a wider-than-C11 value of DECIMAL_DIG
      and possibly reverting back to a C11 value in a future release, this
      patch reverts back to the C11 value now.  If the proposed resolution
      to DR#501 changes again so that DECIMAL_DIG *should* have a
      wider-than-C11 value, we can move back to a wider-than-C11 value in
      GCC 8.
      
      Bootstrapped with no regressions on x86_64-pc-linux-gnu.
      
      gcc/c-family:
      	* c-cppbuiltin.c (builtin_define_float_constants): Define
      	__DECIMAL_DIG__ to the value for long double.
      
      gcc/testsuite:
      	* gcc.dg/c11-float-2.c: New test.
      	* gcc.dg/torture/float128-floath.c,
      	gcc.dg/torture/float128x-floath.c,
      	gcc.dg/torture/float16-floath.c, gcc.dg/torture/float32-floath.c,
      	gcc.dg/torture/float32x-floath.c, gcc.dg/torture/float64-floath.c,
      	gcc.dg/torture/float64x-floath.c: Do not test comparison of
      	*_DECIMAL_DIG macros with DECIMAL_DIG.
      
      From-SVN: r245555
      Joseph Myers committed
    • PR c++/79508 - lookup error with member template · cb94c700
      	* parser.c (cp_parser_template_name): Clear
      	parser->context->object_type if we aren't doing lookup.
      
      From-SVN: r245553
      Jason Merrill committed
    • PR c++/78690 - ICE with using and global type with same name · 7c586749
      	* pt.c (type_dependent_object_expression_p): True for
      	IDENTIFIER_NODE.
      
      From-SVN: r245549
      Jason Merrill committed
    • re PR target/79261 (vec_xxpermdi appears to have endian issues) · a530e181
      [gcc]
      
      2017-02-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR target/79261
      	* config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add
      	support for CODE_FOR_vsx_xxpermdi_v2d[fi]_be.
      	* config/rs6000/rs6000.md (reload_gpr_from_vsx<mode>): Call
      	generator for vsx_xxpermdi_<mode>_be.
      	* config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Remove logic to
      	force big-endian semantics.
      	(vsx_xxpermdi_<mode>_be): New define_expand with same
      	implementation as previous version of vsx_xxpermdi_<mode>.
      
      [gcc/testsuite]
      
      2017-02-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR target/79261
      	* gcc.target/powerpc/vec-xxpermdi.c: New file.
      
      From-SVN: r245545
      Bill Schmidt committed
    • PR c++/79549 - C++17 ICE with non-type auto template parameter pack · edf1849a
      	* pt.c (convert_template_argument): Just return an auto arg pack.
      	(tsubst_template_args): Don't tsubst an auto pack type.
      
      From-SVN: r245544
      Jason Merrill committed