Skip to content
Snippets Groups Projects
  1. Sep 27, 2016
  2. Sep 26, 2016
    • Ville Voutilainen's avatar
      re PR libstdc++/77727 (Unwrapping std::optional constructor is not working for... · 71ade764
      Ville Voutilainen authored
      re PR libstdc++/77727 (Unwrapping std::optional constructor is not working for non-transferable object)
      
          PR libstdc++/77727
          * include/std/optional (optional(const optional<_Up>&)):
          Default-initialize the base and use emplace.
          (optional(optional<_Up>&&)): Likewise.
          * testsuite/20_util/optional/cons/77727.cc: New.
      
      From-SVN: r240511
      71ade764
    • François Dumont's avatar
      2016-09-26 François Dumont <fdumont@gcc.gnu.org> · f2fe9e0a
      François Dumont authored
      	* include/debug/safe_base.h
      	(_Safe_iterator_base::_M_detach_single): Make public.
      
      From-SVN: r240510
      f2fe9e0a
    • Rainer Orth's avatar
      Fix fallthrough comments for Ada, Solaris/x86, SPARC · fbedd170
      Rainer Orth authored
      	gcc:
      	* config/i386/i386.c (ix86_print_operand)
      	[HAVE_AS_IX86_CMOV_SUN_SYNTAX]: Add gcc_fallthrough.
      	* config/sparc/sparc.c (check_pic): Add fallthrough comment.
      	(epilogue_renumber): Likewise.
      
      	gcc/ada:
      	* gcc-interface/decl.c: Fix fall through comment formatting.
      	* gcc-interface/misc.c: Likewise.
      	* gcc-interface/trans.c: Likewise.
      	* gcc-interface/utils.c: Likewise.
      	* gcc-interface/utils2.c: Likewise.
      
      From-SVN: r240509
      fbedd170
    • Steven G. Kargl's avatar
      re PR fortran/77420 (gfortran and equivalence produces internal compiler error) · a184e37f
      Steven G. Kargl authored
      2016-09-26  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/77420
      	* trans-common.c:  Handle array elements in equivalence when
      	the lower and upper bounds of array spec are NULL.
       
      2016-09-26  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/77420
      	* gfortran.dg/pr77420_1.f90: New test.
      	* gfortran.dg/pr77420_2.f90: Ditto.
      	* gfortran.dg/pr77420_3.f90: New test. Requires ...
      	* gfortran.dg/pr77420_4.f90: this file.
      
      From-SVN: r240506
      a184e37f
    • Kugan Vivekanandarajah's avatar
      re PR tree-optimization/77719 (ICE in pp_string, at pretty-print.c:955) · 8be59d19
      Kugan Vivekanandarajah authored
      Fix PR77719
      gcc/testsuite/ChangeLog:
      
      2016-09-26  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	PR middle-end/77719
      	* gfortran.dg/pr77719.f90: New test.
      
      gcc/ChangeLog:
      
      2016-09-26  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	PR middle-end/77719
      	* tree-ssa-reassoc.c (make_new_ssa_for_def): Use gimple_get_lhs to get lhs
      	instead of gimple_assign_lhs as stmt can be builtins too.
      
      From-SVN: r240505
      8be59d19
    • Thomas Preud'homme's avatar
      tree.h (memmodel_from_int, [...]): Move to ... · e73cf9a2
      Thomas Preud'homme authored
      2016-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/
          * tree.h (memmodel_from_int, memmodel_base, is_mm_relaxed,
          is_mm_consume, is_mm_acquire, is_mm_release, is_mm_acq_rel,
          is_mm_seq_cst, is_mm_sync): Move to ...
          * memmodel.h: This.  New file.
          * builtins.c: Include memmodel.h.
          * optabs.c: Likewise.
          * tsan.c: Likewise.
          * config/aarch64/aarch64.c: Likewise.
          * config/alpha/alpha.c: Likewise.
          * config/arm/arm.c: Likewise.
          * config/i386/i386.c: Likewise.
          * config/ia64/ia64.c: Likewise.
          * config/mips/mips.c: Likewise.
          * config/rs6000/rs6000.c: Likewise.
          * config/sparc/sparc.c: Likewise.
          * genconditions.c: Include memmodel.h in generated file.
          * genemit.c: Likewise.
          * genoutput.c: Likewise.
          * genpeep.c: Likewise.
          * genpreds.c: Likewise.
          * genrecog.c: Likewise.
      
          gcc/c-family/
          * c-common.c: Include memmodel.h.
      
      From-SVN: r240504
      e73cf9a2
    • Thomas Preud'homme's avatar
      builtin-sprintf-warn-1.c: Adjust regex to accept singular form of byte when quantity is unknown. · 991075a4
      Thomas Preud'homme authored
      2016-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
      gcc/testsuite/
          * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Adjust regex to accept
          singular form of byte when quantity is unknown.
      
      From-SVN: r240503
      991075a4
    • David Malcolm's avatar
      read-rtl.c: split out read_rtx_operand from read_rtx_code · f22735ae
      David Malcolm authored
      gcc/ChangeLog:
      	* read-rtl.c (read_rtx_code): Rename local "i" to "idx", and use
      	"c" instead when parsing characters.  Move operand parsing into...
      	(read_rtx_operand): ...this new function, renaming "i" to "idx",
      	and tightening the scope of various locals.
      
      From-SVN: r240502
      f22735ae
    • Anton Kolesov's avatar
      configure.ac: Disable "sim" directory for arc*-*-*. · 2fd88f4f
      Anton Kolesov authored
      2016-09-26  Anton Kolesov  <Anton.Kolesov@synopsys.com>
      
      	* configure.ac: Disable "sim" directory for arc*-*-*.
      	* conifgure: Regenerated.
      
      From-SVN: r240501
      2fd88f4f
    • Liu Hao's avatar
      cygming.h (ASM_OUTPUT_DWARF_OFFSET): Fix typo. · cfff6cdd
      Liu Hao authored
      2016-09-26  LH Mouse  <lh_mouse@126.com>
      
      	* config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Fix typo.
      
      From-SVN: r240500
      cfff6cdd
    • Marek Polacek's avatar
      c-lex.c (c_common_has_attribute): Handle attribute fallthrough. · c6147dc4
      Marek Polacek authored
      	* c-lex.c (c_common_has_attribute): Handle attribute fallthrough.
      
      	* system.h: Use __has_attribute to check whether the fallthrough
      	attribute is supported.
      
      	* g++.dg/cpp1z/feat-cxx1z.C: Test attribute fallthrough.
      
      From-SVN: r240499
      c6147dc4
    • Marek Polacek's avatar
      ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. · 8e4284d0
      Marek Polacek authored
      	* ipa-inline-analysis.c (find_foldable_builtin_expect): Use
      	gimple_call_internal_p.
      	* ipa-split.c (find_return_bb): Likewise.
      	(execute_split_functions): Likewise.
      	* omp-low.c (dump_oacc_loop_part): Likewise.
      	(oacc_loop_xform_head_tail): Likewise.
      	* predict.c (predict_loops): Likewise.
      	* sanopt.c (pass_sanopt::execute): Likewise.
      	* tree-cfg.c (get_abnormal_succ_dispatcher): Likewise.
      	* tree-parloops.c (oacc_entry_exit_ok_1): Likewise.
      	* tree-stdarg.c (gimple_call_ifn_va_arg_p): Remove function.
      	(expand_ifn_va_arg_1): Use gimple_call_internal_p.
      	(expand_ifn_va_arg): Likewise.
      	* tree-vect-loop.c (vect_determine_vectorization_factor): Likewise.
      	(optimize_mask_stores): Likewise.
      	* tree-vect-stmts.c (vect_simd_lane_linear): Likewise.
      	(vect_transform_stmt): Likewise.
      	* tree-vectorizer.c (vect_loop_vectorized_call): Likewise.
      	* tsan.c (instrument_memory_accesses): Likewise.
      
      From-SVN: r240498
      8e4284d0
    • David Edelsohn's avatar
      Fix typo in date. · 6e139966
      David Edelsohn authored
      From-SVN: r240497
      6e139966
    • Kyrylo Tkachov's avatar
      [regrename][sel-sched] Fix bogus use of HARD_FRAME_POINTER_REGNUM (was: Fix arm bootstrap) · a943bb7f
      Kyrylo Tkachov authored
      
      	* regrename.c (rename_chains): Check
      	HARD_FRAME_POINTER_IS_FRAME_POINTER rather than
      	HARD_FRAME_POINTER_REGNUM when picking unavailable registers.
      	* sel-sched.c (mark_unavailable_hard_regs): Likewise.
      
      Co-Authored-By: default avatarAlexander Monakov <amonakov@ispras.ru>
      
      From-SVN: r240496
      a943bb7f
Loading