Skip to content
Snippets Groups Projects
  1. Nov 15, 2013
    • Paolo Carlini's avatar
      re PR c++/58188 (ICE in gimple_add_tmp_var, at gimplify.c:738) · 3d053a5f
      Paolo Carlini authored
      2013-11-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58188
      	* g++.dg/cpp0x/nsdmi-template8.C: New.
      
      2013-11-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58725
      	* g++.dg/cpp0x/nsdmi-template7.C: New.
      
      2013-11-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58829
      	* g++.dg/cpp0x/nsdmi-template6.C: New.
      
      From-SVN: r204881
      3d053a5f
    • Paolo Carlini's avatar
      re PR c++/58599 ([c++11] Trouble with non-static data member initializers in templates) · 6019d86d
      Paolo Carlini authored
      2013-11-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58599
      	* g++.dg/cpp0x/nsdmi-template5.C: New.
      
      From-SVN: r204866
      6019d86d
    • Kaz Kojima's avatar
      sh.c (barrier_align): Return 0 when barrier_or_label is null. · d7be3fcd
      Kaz Kojima authored
      	* config/sh/sh.c (barrier_align): Return 0 when barrier_or_label
      	is null.
      
      From-SVN: r204865
      d7be3fcd
    • Janne Blomqvist's avatar
      When file status is unknown, don't set O_CREAT when opening read-only. · 35f48a90
      Janne Blomqvist authored
      
      2013-11-15  Janne Blomqvist  <jb@gcc.gnu.org>
      	    Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/59108
      	* io/unix.c (regular_file): Don't set O_CREAT when opening a file
      	read-only with unknown status. Mask out O_CREAT when falling back
      	to opening read-only if ACTION= is not set and read-write fails.
      
      Co-Authored-By: default avatarJerry DeLisle <jvdelisle@gcc.gnu.org>
      
      From-SVN: r204864
      35f48a90
    • Aldy Hernandez's avatar
      Makefile.in (C_COMMON_OBJS): Depend on c-cilkplus.o. · c02065fc
      Aldy Hernandez authored
      	* Makefile.in (C_COMMON_OBJS): Depend on c-cilkplus.o.
      	* gimple-pretty-print.c (dump_omp_for): Add case for
      	GF_OMP_FOR_KIND_CILKSIMD.
      	* gimple.h (enum gf_mask): Restructure entries to add
      	GF_OMP_FOR_KIND_CILKSIMD.
      	* gimplify.c (is_gimple_stmt): Add case for CILK_SIMD.
      	(gimplify_omp_for): Handle CILK_SIMD.
      	(gimplify_expr): Add ccase for CILK_SIMD.
      	* omp-low.c (extract_omp_for_data): Handle CILK_SIMD.
      	(build_outer_var_ref): Same.
      	(check_omp_nesting_restrictions): Same.
      	(lower_rec_input_clauses): Same.
      	(lower_lastprivate_clauses): Same.
      	(expand_omp_for): Same.
      	(execute_expand_omp): Check flag_enable_cilkplus.
      	(execute_lower_omp): Same.
      	(diagnose_sb_0): Handle CILK_SIMD.
      	(diagnose_omp_structured_block_errors): Check
      	flag_enable_cilkplus.
      	(setjmp_or_longjmp_p): New.
      	(scan_omp_1_stmt): Error on setjmp/longjmp in a simd construct.
      	* tree-pretty-print.c (dump_generic_node): Add case for CILK_SIMD.
      	* tree.def: Add tree code for CILK_SIMD.
      
      testsuite/
      	* c-c++-common/cilk-plus/PS: New directory.
      	* g++.dg/cilk-plus/cilk-plus.exp: Run shared tests.
      	* g++.dg/dg.exp: Run Cilk Plus tests.
      	* gcc.dg/cilk-plus/cilk-plus.exp: Run shared tests.
      
      c-family/
      	* c-cilkplus.c: New file.
      	* c-common.c (readonly_error): Add location argument.
      	* c-common.h (readonly_error): Same.
      	(c_finish_cilk_clauses): Protoize.
      	(c_check_cilk_loop): Same.
      	c-omp.c (c_finish_omp_for): Handle CILK_SIMD nodes.
      	Do not fail on error_mark_node.
      	Abstract increment canonicalization to here...
      	(c_omp_for_incr_canonicalize_ptr): New.
      	c-pragma.c (init_pragma): Register "simd" pragma.
      	c-pragma.h (enum pragma_kind): Add PRAGMA_CILK_SIMD.
      	(enum pragma_cilk_clause): New.
      
      c/
      	* c-parser.c (c_parser_cilk_simd): New.
      	(c_parser_cilk_verify_simd): New.
      	(c_parser_pragma): Add case for PRAGMA_CILK_SIMD.
      	(c_parser_omp_for_loop): Add case for NE_EXPR.
      	Set c_break_label for CILK_SIMD.
      	(c_parser_cilk_clause_vectorlength): New.
      	(c_parser_cilk_clause_linear): New.
      	(c_parser_cilk_clause_name): New.
      	(c_parser_cilk_all_clauses): New.
      	* c-typeck.c (build_unary_op): Pass location argument to
      	readonly_error.
      	(build_modify_expr): Same.
      	(build_asm_expr): Same.
      	(c_finish_bc_stmt): Error on break/continue in loops.
      
      cp/
      	* Make-lang.in (CXX_AND_OBJCXX_OBJS): Depend on cp/cp-cilkplus.o.
      	* cp-cilkplus.c: New file.
      	* cp-tree.h (cpp_validate_cilk_plus_loop): Protoize.
      	* parser.c (cp_parser_cilk_simd): New.
      	(cp_debug_parser): Add case for IN_CILK_SIMD_FOR.
      	(cp_parser_jump_statement): Same.
      	(cp_parser_omp_for_cond): Add new argument.
      	Add case for NE_EXPR.
      	(cp_parser_omp_for_loop): Pass new argument to
      	cp_parser_omp_for_cond.
      	Handle CILK_SIMD nodes.
      	Abstract initilization code to..
      	(cp_parser_omp_for_loop_init): ...here.
      	(cp_parser_pragma): Add case for PRAGMA_CILK_SIMD.
      	(cp_parser_cilk_simd_vectorlength): New.
      	(cp_parser_cilk_simd_linear): New.
      	(cp_parser_cilk_simd_clause_name): New.
      	(cp_parser_cilk_simd_all_clauses): New.
      	(cp_parser_cilk_simd): New.
      	* parser.h (IN_CILK_SIMD_FOR): New macro.
      	* pt.c (tsubst_expr): Add case for CILK_SIMD.
      	* typeck2.c (cxx_readonly_error): Pass location argument to
      	readonly_error.
      
      From-SVN: r204863
      c02065fc
    • Bill Schmidt's avatar
      altivec.md (UNSPEC_VPERM_X, [...]): Remove. · e19eea71
      Bill Schmidt authored
      gcc:
      
      2013-11-15  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* config/rs6000/altivec.md (UNSPEC_VPERM_X, UNSPEC_VPERM_UNS_X):
      	Remove.
      	(altivec_vperm_<mode>): Revert earlier little endian change.
      	(*altivec_vperm_<mode>_internal): Remove.
      	(altivec_vperm_<mode>_uns): Revert earlier little endian change.
      	(*altivec_vperm_<mode>_uns_internal): Remove.
      	* config/rs6000/vector.md (vec_realign_load_<mode>): Revise
      	commentary.
      
      gcc/testsuite:
      
      2013-11-15  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gcc.dg/vmx/3b-15.c: Revise for little endian.
      
      From-SVN: r204862
      e19eea71
    • Jeff Law's avatar
      basic-block.h (has_abnormal_or_eh_outgoing_edge): Renamed from has_abnormal_or_outgoing_edge. · 6efe83b2
      Jeff Law authored
      	* basic-block.h (has_abnormal_or_eh_outgoing_edge): Renamed from
      	has_abnormal_or_outgoing_edge.  Check for EH edges as well.
      	* gimple-ssa-isolate-paths.c
      	(find_implicit_erroneous_behaviour): Corresponding changes.
      	Do not check stmt_ends_bb_p or GIMPLE_RETURN anymore.
      	(find_explicit_erroneous_behaviour): Likewise.
      
      From-SVN: r204861
      6efe83b2
    • Jeff Law's avatar
      ifcvt.c (find_cond_trap): Properly handle case where trap_bb == else_bb. · f0d3309e
      Jeff Law authored
      	* ifcvt.c (find_cond_trap): Properly handle case where
      	trap_bb == else_bb.
      
      From-SVN: r204856
      f0d3309e
    • Steve Ellcey's avatar
      configure.ac: Do not define HAVE_STRTOLD. · cb83df66
      Steve Ellcey authored
      2013-11-15  Steve Ellcey  <sellcey@mips.com>
      
      	* configure.ac: Do not define HAVE_STRTOLD.
      	* configure: Regenerate.
      
      From-SVN: r204855
      cb83df66
    • Andreas Schwab's avatar
      picflag.m4 (m68k-*-*): Use default PIC flag. · 66204992
      Andreas Schwab authored
      config/
      * picflag.m4 (m68k-*-*): Use default PIC flag.
      
      gcc/
      * configure: Regenerate.
      
      libada/
      * configure: Regenerate.
      
      libgcc/
      * configure: Regenerate.
      
      libiberty/
      * configure: Regenerate.
      
      From-SVN: r204854
      66204992
    • Ian Lance Taylor's avatar
      runtime: Use runtime_m to get m value after call to runtime_mcall. · 7c0f17db
      Ian Lance Taylor authored
      From-SVN: r204853
      7c0f17db
    • James Greenhalgh's avatar
      [AArch64] Remove simd_type · 78ec3036
      James Greenhalgh authored
      gcc/
      	* config/aarch64/aarch64-simd.md: Remove simd_type from all
      	patterns.
      	* config/aarch64/aarch64.md: Likewise, correct "type" attribute
      	where it is incorrect or missing.
      
      From-SVN: r204852
      78ec3036
    • Jonathan Wakely's avatar
      stl_bvector.h (vector<bool>::emplace_back()): LWG 2187: Define. · 3aaaa651
      Jonathan Wakely authored
      	* include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:
      	Define.
      	(vector<bool>::emplace()): Likewise.
      	* testsuite/23_containers/vector/bool/emplace.cc: New.
      
      From-SVN: r204851
      3aaaa651
    • Ondřej Bílka's avatar
      build_hacking.xml: Fix documentation typos. · 64e1ab11
      Ondřej Bílka authored
      
      2013-11-15  Ondřej Bílka <neleai@seznam.cz>
      	    Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* doc/xml/manual/build_hacking.xml: Fix documentation typos.
      	* doc/xml/manual/configure.xml: Likewise.
      	* include/bits/atomic_base.h: Fix typos in comments.
      	* include/bits/random.h: Likewise.
      	* include/ext/cast.h: Likewise.
      	* libsupc++/cxxabi.h: Likewise.
      	* testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/testcase.h:
      	Likewise.
      	* testsuite/util/exception/safety.h: Likewise.
      	* testsuite/util/testsuite_containers.h: Likewise.
      	* testsuite/util/testsuite_hooks.cc: Likewise.
      
      Co-Authored-By: default avatarJonathan Wakely <jwakely.gcc@gmail.com>
      
      From-SVN: r204850
      64e1ab11
    • Jonathan Wakely's avatar
      stl_map.h (map): Implement C++11 allocator-aware container requirements. · ff90a89e
      Jonathan Wakely authored
      	* include/bits/stl_map.h (map): Implement C++11 allocator-aware
      	container requirements.
      	* include/bits/stl_multimap.h (multimap): Likewise.
      	* include/bits/stl_multiset.h (multiset): Likewise.
      	* include/bits/stl_set.h (set): Likewise.
      	* include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_buffer and
      	add accessors for value.
      	(_Rb_tree_iterator, _Rb_tree_const_iterator): Use _Rb_tree_node
      	accessors.
      	(_Rb_tree): Use allocator_traits and implement support for sets and
      	maps the be allocator-aware.
      	* include/bits/forward_list.h (_Fwd_list_base::_M_create_node): Do
      	not zero-initialize storage buffer.
      	* include/bits/hashtable_policy.h (_Hashtable_alloc::_M_allocate_node):
      	Likewise.
      	* include/bits/stl_vector.h (vector(vector&&, const allocator_type&)):
      	Add conditional noexcept specification.
      	* doc/xml/manual/status_cxx2011.xml: Update status of containers.
      	* testsuite/util/testsuite_allocator.h: Re-indent.
      	* testsuite/23_containers/forward_list/allocator/copy.cc: Test
      	allocator-extended copy constructor.
      	* testsuite/23_containers/unordered_map/allocator/copy.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/allocator/copy.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multiset/allocator/copy.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/allocator/copy.cc: Likewise.
      	* testsuite/23_containers/vector/allocator/copy.cc: Likewise.
      	* testsuite/23_containers/forward_list/allocator/move.cc: New.
      	* testsuite/23_containers/unordered_map/allocator/move.cc: New.
      	* testsuite/23_containers/unordered_multimap/allocator/move.cc: New.
      	* testsuite/23_containers/unordered_multiset/allocator/move.cc: New.
      	* testsuite/23_containers/unordered_set/allocator/move.cc: New.
      	* testsuite/23_containers/vector/allocator/move.cc: New.
      	* testsuite/23_containers/map/allocator/copy.cc: New.
      	* testsuite/23_containers/map/allocator/copy_assign.cc: New.
      	* testsuite/23_containers/map/allocator/minimal.cc: New.
      	* testsuite/23_containers/map/allocator/move.cc: New.
      	* testsuite/23_containers/map/allocator/move_assign.cc: New.
      	* testsuite/23_containers/map/allocator/noexcept.cc: New.
      	* testsuite/23_containers/map/allocator/swap.cc: New.
      	* testsuite/23_containers/multimap/allocator/copy.cc: New.
      	* testsuite/23_containers/multimap/allocator/copy_assign.cc: New.
      	* testsuite/23_containers/multimap/allocator/minimal.cc: New.
      	* testsuite/23_containers/multimap/allocator/move.cc: New.
      	* testsuite/23_containers/multimap/allocator/move_assign.cc: New.
      	* testsuite/23_containers/multimap/allocator/noexcept.cc: New.
      	* testsuite/23_containers/multimap/allocator/swap.cc: New.
      	* testsuite/23_containers/multiset/allocator/copy.cc: New.
      	* testsuite/23_containers/multiset/allocator/copy_assign.cc: New.
      	* testsuite/23_containers/multiset/allocator/minimal.cc: New.
      	* testsuite/23_containers/multiset/allocator/move.cc: New.
      	* testsuite/23_containers/multiset/allocator/move_assign.cc: New.
      	* testsuite/23_containers/multiset/allocator/noexcept.cc: New.
      	* testsuite/23_containers/multiset/allocator/swap.cc: New.
      	* testsuite/23_containers/set/allocator/copy.cc: New.
      	* testsuite/23_containers/set/allocator/copy_assign.cc: New.
      	* testsuite/23_containers/set/allocator/minimal.cc: New.
      	* testsuite/23_containers/set/allocator/move.cc: New.
      	* testsuite/23_containers/set/allocator/move_assign.cc: New.
      	* testsuite/23_containers/set/allocator/noexcept.cc: New.
      	* testsuite/23_containers/set/allocator/swap.cc: New.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* 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: r204848
      ff90a89e
    • Richard Sandiford's avatar
      c-pretty-print.c (pp_c_character_constant): Remove unnecessary wchar_type and host_integerp checks. · 9cc65f15
      Richard Sandiford authored
      gcc/c-family/
      	* c-pretty-print.c (pp_c_character_constant): Remove unnecessary
      	wchar_type and host_integerp checks.
      
      From-SVN: r204847
      9cc65f15
    • Richard Sandiford's avatar
      dwarf2out.c (gen_enumeration_type_die): Remove unnecessary host_integerp test. · 6b58915b
      Richard Sandiford authored
      gcc/
      	* dwarf2out.c (gen_enumeration_type_die): Remove unnecessary
      	host_integerp test.
      	* tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
      	Use TREE_INT_CST_LOW rather than tree_low_cst when reading the
      	constant.
      	* fold-const.c (fold_binary_loc): Replace a host_integerp/tree_low_cst
      	pair with a TREE_CODE test and TREE_INT_CST_LOW.
      	* tree-vect-generic.c (expand_vector_divmod): Likewise.
      
      From-SVN: r204846
      6b58915b
    • Richard Biener's avatar
      re PR middle-end/50262 (PTA doesn't disambiguate locally allocated heap... · 11924f8b
      Richard Biener authored
      re PR middle-end/50262 (PTA doesn't disambiguate locally allocated heap objects from pointed to by arguments)
      
      2013-11-15  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/50262
      	* tree-ssa-alias.h (struct pt_solution): Split
      	vars_contains_global into vars_contains_nonlocal,
      	vars_contains_escaped and vars_contains_escaped_heap.
      	* tree-ssa-structalias.c (label_visit): Expand comment.
      	(handle_lhs_call): Adjust comment.
      	(set_uids_in_ptset): Set the new flags appropriately.
      	(pt_solution_set): Adjust.
      	(pt_solution_set_var): Likewise.
      	(pt_solution_ior_into): Likewise.
      	(pt_solution_includes_global): Likewise.
      	(pt_solutions_intersect_1): Optimize escaped handling.
      	(compute_points_to_sets): Remove heap variable globalization.
      	(ipa_escaped_pt): Adjust initializer.
      	(pass_data_ipa_pta): Do not run TODO_update_ssa.
      	* gimple-pretty-print.c (pp_points_to_solution): Print split
      	flags.
      	* tree-ssa-alias.c (dump_points_to_solution): Likewise.
      
      	* gcc.dg/tree-ssa/alias-28.c: New testcase.
      	* gcc.dg/strlenopt-1.c: Adjust.
      	* gcc.dg/strlenopt-1f.c: Likewise.
      
      From-SVN: r204845
      11924f8b
    • Richard Biener's avatar
      tree-loop-distribution.c (tree_loop_distribution): Make sure to distribute all stores. · e179190c
      Richard Biener authored
      2013-11-15  Richard Biener  <rguenther@suse.de>
      
      	* tree-loop-distribution.c (tree_loop_distribution): Make sure
      	to distribute all stores.
      
      	* gcc.dg/torture/20131115-1.c: New testcase.
      
      From-SVN: r204843
      e179190c
    • Ulrich Weigand's avatar
      * doc/invoke.texi (-mabi=elfv1, -mabi=elfv2): Document. · 33512303
      Ulrich Weigand authored
      From-SVN: r204842
      33512303
    • Joseph Myers's avatar
      acinclude.m4 (GCC_GLIBC_VERSION_GTE_IFELSE): New configure macro. · 75a2bcc0
      Joseph Myers authored
      	* acinclude.m4 (GCC_GLIBC_VERSION_GTE_IFELSE): New configure
      	macro.
      	* configure.ac: Determine target_header_dir earlier.
      	(--with-glibc-version): New configure option.
      	Use GCC_GLIBC_VERSION_GTE_IFELSE in enable_gnu_unique_object,
      	gcc_cv_libc_provides_ssp and gcc_cv_target_ldbl128 tests.
      	* configure: Regenerate.
      	* doc/install.texi (--enable-gnu-unique-object): Don't refer to
      	native toolchains for default.
      	(--with-glibc-version): Document.
      
      From-SVN: r204841
      75a2bcc0
    • H.J. Lu's avatar
      Add and use System.Linux.time_t for time_t · 9f13879e
      H.J. Lu authored
      	PR ada/54040
      	* s-linux-x32.ads: New file.
      	* s-osprim-x32.adb: Likewise.
      	* s-linux.ads (time_t): New type.
      	* s-linux-alpha.ads (time_t):  Likewise.
      	* s-linux-hppa.ads (time_t):  Likewise.
      	* s-linux-mipsel.ads (time_t):  Likewise.
      	* s-linux-sparc.ads (time_t):  Likewise.
      	* s-osinte-linux.ads (time_t): Mark it private.  Replace long
      	with System.Linux.time_t.
      	(timespec): Replace long with time_t.
      	* s-osinte-posix.adb (To_Timespec): Likewise.
      	* s-taprop-linux.adb (timeval): Replace C.long with
      	System.OS_Interface.time_t.
      	* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Replace
      	s-linux.ads with s-linux-x32.ads, s-osprim-posix.adb with
      	s-osprim-x32.adb for x32.
      
      From-SVN: r204840
      9f13879e
    • Eric Botcazou's avatar
      * fold-const.c (fold_binary_loc) <comparisons>: Reuse local variable. · d877729c
      Eric Botcazou authored
      From-SVN: r204839
      d877729c
    • Kostya Serebryany's avatar
      fix PR sanitizer/58994 · c8e1377b
      Kostya Serebryany authored
      From-SVN: r204838
      c8e1377b
    • Uros Bizjak's avatar
      lto-streamer-in.c (input function): Call cgraph_create_node if cgraph_get_node failed. · d1c369c2
      Uros Bizjak authored
      	* lto-streamer-in.c (input function): Call cgraph_create_node if
      	cgraph_get_node failed.
      
      From-SVN: r204836
      d1c369c2
    • Joseph Myers's avatar
      ucnid-9.c: New test. · 54848ff8
      Joseph Myers authored
      gcc/testsuite:
      	* gcc.dg/cpp/ucnid-9.c: New test.
      
      libcpp:
      	* ucnid.tab: Mark C99 digits as [C99DIG].
      	* makeucnid.c (read_ucnid): Handle [C99DIG].
      	(read_table): Don't check for digit characters.
      	* ucnid.h: Regenerate.
      
      From-SVN: r204835
      54848ff8
    • GCC Administrator's avatar
      Daily bump. · 4976d4f6
      GCC Administrator authored
      From-SVN: r204833
      4976d4f6
  2. Nov 14, 2013
    • Eric Botcazou's avatar
      cfgexpand.c (defer_stack_allocation): When optimization is enabled... · ee2e8462
      Eric Botcazou authored
      	* cfgexpand.c (defer_stack_allocation): When optimization is enabled,
      	defer allocation of DECL_IGNORED_P variables at toplevel unless really
      	small.  Factorize size threshold computation from the existing one.
      	(expand_used_vars): Refine comment.
      
      From-SVN: r204830
      ee2e8462
    • H.J. Lu's avatar
      Revert the last change · ed1fc0bc
      H.J. Lu authored
      	* gnat.dg/specs/addr1.ads: Revert the last change.
      	* gnat.dg/specs/atomic1.ads: Likewise.
      
      From-SVN: r204829
      ed1fc0bc
    • Ian Lance Taylor's avatar
    • Ian Lance Taylor's avatar
      compiler: Use backend interface for comparisons. · 58c55a32
      Ian Lance Taylor authored
      From-SVN: r204827
      58c55a32
    • H.J. Lu's avatar
      Include gimple.h and pointer-set.h in gcc-interface/trans.c · 1726bd6e
      H.J. Lu authored
      	* gcc-interface/trans.c: Include gimple.h and pointer-set.h.
      
      From-SVN: r204826
      1726bd6e
    • Cong Hou's avatar
      tree-vectorizer.h (struct dr_with_seg_len): Remove the base address field as... · 93bdc3ed
      Cong Hou authored
      tree-vectorizer.h (struct dr_with_seg_len): Remove the base address field as it can be obtained from dr.
      
      2013-11-14  Cong Hou  <congh@google.com>
      
          * tree-vectorizer.h (struct dr_with_seg_len): Remove the base
          address field as it can be obtained from dr.  Rename the struct.
          * tree-vect-data-refs.c (comp_dr_with_seg_len_pair): Consider
          steps of data references during sort.
          (vect_prune_runtime_alias_test_list): Adjust with the change to
          struct dr_with_seg_len.
          * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
          Adjust with the change to struct dr_with_seg_len.
      
      2013-11-14  Cong Hou  <congh@google.com>
      
          * gcc.dg/vect/vect-alias-check.c: Update.
      
      From-SVN: r204822
      93bdc3ed
    • Jeff Law's avatar
      basic-block.h (has_abnormal_outgoing_edge_p): Moved here from... · 5e94175f
      Jeff Law authored
      	* basic-block.h (has_abnormal_outgoing_edge_p): Moved here from...
      	* tree-inline.c (has_abnormal_outgoing_edge_p): Remove.
      	* gimple-ssa-isolate-paths.c: Include tree-cfg.h.
      	(find_implicit_erroneous_behaviour): If a block has abnormal outgoing
      	edges, then ignore it.  If the statement exhibiting erroneous
      	behaviour ends basic blocks, with the exception of GIMPLE_RETURNs,
      	then we can not optimize.
      	(find_explicit_erroneous_behaviour): Likewise.
      
      From-SVN: r204821
      5e94175f
    • Ian Lance Taylor's avatar
      net: On Solaris use Darwin keepalive code. · 01ef823c
      Ian Lance Taylor authored
      From-SVN: r204819
      01ef823c
    • Paolo Carlini's avatar
      re PR c++/57887 (nested non-type template parameters not declared in this scope) · 4699e99a
      Paolo Carlini authored
      /cp
      2013-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/57887
      	* parser.c (cp_parser_late_parsing_nsdmi): Call
      	maybe_begin_member_template_processing.
      	* pt.c (maybe_begin_member_template_processing): Handle NSDMIs.
      	(inline_needs_template_parms): Adjust.
      
      /testsuite
      2013-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/57887
      	* g++.dg/cpp0x/nsdmi-template3.C: New.
      	* g++.dg/cpp0x/nsdmi-template4.C: Likewise.
      
      From-SVN: r204818
      4699e99a
    • Ian Lance Taylor's avatar
      runtime: Add netpoll code that uses select. · 03a231f7
      Ian Lance Taylor authored
      Required for Solaris support.
      
      From-SVN: r204817
      03a231f7
    • Ian Lance Taylor's avatar
      runtime: Fix GC flag in when allocating memory from cgo. · 7d608db2
      Ian Lance Taylor authored
      From-SVN: r204815
      7d608db2
    • Andrew MacLeod's avatar
      gimplify-be.h: New file. · 18f429e2
      Andrew MacLeod authored
      
      	* gimplify-be.h:  New file.  Add prototypes.
      	* gimplify.h: Don't include gimple.h.
      	(struct gimplify_hasher, struct gimplify_ctx, is_gimple_sizepos,
      	gimplify_hasher::hash, gimplify_hasher::equal): Relocate from gimple.h.
      	* gimple.h (struct gimplify_hasher, gimplify_hasher::hash,
      	gimplify_hasher::equal, struct gimplify_ctx, is_gimple_sizepos): Move
      	to gimplify.h.
      	(enum gsi_iterator_update): Move to gimple-iterator.h.
      	* gimple-iterator.h (enum gsi_iterator_update): Relocate from gimple.h.
      	* gimplify-be.c: New File.
      	(force_gimple_operand_1, force_gimple_operand,
      	force_gimple_operand_gsi_1, force_gimple_operand_gsi): Relocate from
      	gimplify.c.
      	* gimplify.c (force_gimple_operand_1, force_gimple_operand,
      	force_gimple_operand_gsi_1, force_gimple_operand_gsi): Move to
      	gimplify-be.c.
      	* Makefile.in (OBJS): Add gimplify-be.o
      	* asan.c: Include only gimplify.h, gimplify-be.h, and/or gimple.h as
      	required.
      	* cfgloopmanip.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* cilk-common.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* gimple-expr.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* gimple-ssa-strength-reduction.c: Likewise.
      	* gimple.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa.c: Likewise.
      	* langhooks.c: Likewise.
      	* omp-low.c: Likewise.
      	* sese.c: Likewise.
      	* stor-layout.c: Likewise.
      	* targhooks.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-ifcombine.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree.c: Likewise.
      	* tsan.c: Likewise.
      	* value-prof.c: Likewise.
      	* config/aarch64/aarch64.c: Likewise.
      	* config/alpha/alpha.c: Likewise.
      	* config/darwin.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/tilegx/tilegx.c: Likewise.
      	* config/tilepro/tilepro.c: Likewise.
      	* config/xtensa/xtensa.c: Likewise.
      
      	* c/c-typeck.c: Include only gimplify.h and gimple.h as needed.
      	* c-family/c-common.c: Likewise.
      	* c-family/c-gimplify.c: Likewise.
      	* c-family/cilk.c: Likewise.
      
      	* cp/class.c: Include only gimplify.h and gimple.h as needed.
      	* cp/cp-gimplify.c: Likewise.
      	* cp/error.c: Likewise.
      	* cp/init.c: Likewise.
      	* cp/optimize.c: Likewise.
      	* cp/pt.c: Likewise.
      	* cp/semantics.c: Likewise.
      	* cp/tree.c: Likewise.
      	* cp/vtable-class-hierarchy.c: Likewise.
      
      	* fortran/trans-expr.c: Include only gimplify.h and gimple.h as needed.
      	* fortran/trans-openmp.c: Likewise.
      
      	* go/go-lang.c: Include only gimplify.h and gimple.h as needed.
      
      	* java/java-gimplify.c: Include only gimplify.h and gimple.h as needed.
      
      	* objc/objc-act.c: Include only gimplify.h and gimple.h as needed.
      
      From-SVN: r204812
      18f429e2
    • Joern Rennecke's avatar
      arc.md (doloop_begin_i): Remove extra alignment; use (.&-4) idiom. · 6495f8e6
      Joern Rennecke authored
      	* config/arc/arc.md (doloop_begin_i): Remove extra alignment;
      	use (.&-4) idiom.
      
      From-SVN: r204810
      6495f8e6
Loading