1. 18 Mar, 2013 13 commits
    • re PR tree-optimization/56210 (invalid -Warray-bounds warning) · 92608d0e
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/56210
      	* tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
      	Handle string / character search functions.
      	* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
      
      From-SVN: r196777
      Richard Biener committed
    • re PR middle-end/56483 (LTO issue with expanding GIMPLE_COND) · 31348d52
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/56483
      	* cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p
      	and implement properly.
      	* gimple.h (gimple_cond_single_var_p): Remove.
      
      From-SVN: r196776
      Richard Biener committed
    • tree-data-ref.h (find_data_references_in_loop): Declare. · fcac74a1
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	* tree-data-ref.h (find_data_references_in_loop): Declare.
      	* tree-data-ref.c (get_references_in_stmt): Use a stack
      	vector pre-allocated in the callers.
      	(find_data_references_in_stmt): Adjust.
      	(graphite_find_data_references_in_stmt): Likewise.
      	(create_rdg_vertices): Likewise.
      	(find_data_references_in_loop): Export.
      	* tree-vect-data-refs.c (vect_analyze_data_ref_dependences):
      	Compute dependences here...
      	(vect_analyze_data_refs): ...not here.  When we encounter
      	a non-vectorizable data reference in basic-block vectorization
      	truncate the data reference vector.  Do not bother to
      	fixup data-dependence information for gather loads.
      	* tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number
      	of data references, as reported.
      
      From-SVN: r196775
      Richard Biener committed
    • PR libstdc++/55977 (partial, std::vector and std::deque bits) · ad6fdc19
      2013-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/55977 (partial, std::vector and std::deque bits)
      	* include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
      	_InputIterator, std::input_iterator_tag)): Use emplace_back.
      	* include/bits/deque.tcc (_M_range_initialize(_InputIterator,
      	_InputIterator, std::input_iterator_tag)): Likewise.
      	* testsuite/23_containers/vector/cons/55977.cc: New.
      	* testsuite/23_containers/deque/cons/55977.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
      
      From-SVN: r196774
      Paolo Carlini committed
    • gfortran.h (gfc_option_t): Remove flag_whole_file. · 9fa52231
      2013-03-18  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.h (gfc_option_t): Remove flag_whole_file.
              * invoke.texi (-fno-whole-file): Remove.
              * lang.opt (fwhole-file): Change to Ignore.
              * options.c (gfc_init_options, gfc_post_options,
              gfc_handle_option): Remove !flag_whole_file handling
              * parse.c (resolve_all_program_units,
              * translate_all_program_units,
              gfc_parse_file): Ditto.
              * resolve.c (resolve_global_procedure): Ditto.
              * trans-decl.c (gfc_get_symbol_decl,
              * gfc_get_extern_function_decl,
              gfc_create_module_variable): Ditto.
              * trans-types.c (gfc_get_derived_type): Ditto.
      
      From-SVN: r196773
      Tobias Burnus committed
    • re PR tree-optimization/3713 (Pointers to functions or member functions are not folded or inlined) · 0d5a1b56
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/3713
      	* tree-ssa-sccvn.c (visit_copy): Simplify.  Always propagate
      	has_constants and expr.
      	(stmt_has_constants): Properly valueize SSA names when deciding
      	whether the stmt has constants.
      
      	* g++.dg/ipa/devirt-12.C: New testcase.
      
      From-SVN: r196771
      Richard Biener committed
    • tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the whole function when… · 789c34e3
      tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the whole function when there is nothing to do.
      
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	* tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the
      	whole function when there is nothing to do.
      	* tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa.
      	* tree-vectorizer.c (vectorize_loops): Update virtual and
      	loop-closed SSA once.
      	* tree-vect-loop.c (vect_transform_loop): Do not update SSA here.
      
      From-SVN: r196770
      Richard Biener committed
    • re PR c/56113 (out of memory when compiling a function with many goto labels (50k > )) · 076b4605
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/56113
      	* domwalk.c (bb_postorder): New global static.
      	(cmp_bb_postorder): New function.
      	(walk_dominator_tree): Replace scheme imposing an order for
      	visiting dominator sons by one sorting them at the time they
      	are pushed on the stack.
      
      From-SVN: r196769
      Richard Biener committed
    • re PR middle-end/39326 (Segmentation fault with -O1, out of memory with -O2) · bdb01696
      2013-03-18  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/39326
      	* tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry.
      	(struct mem_ref): Replace mem member with ao_ref typed member.
      	(MEM_ANALYZABLE): Adjust.
      	(memref_eq): Likewise.
      	(mem_ref_alloc): Likewise.
      	(gather_mem_refs_stmt): Likewise.
      	(mem_refs_may_alias_p): Use the ao_ref to query the alias oracle.
      	(execute_sm_if_changed_flag_set): Adjust.
      	(execute_sm): Likewise.
      	(ref_always_accessed_p): Likewise.
      	(refs_independent_p): Likewise.
      	(can_sm_ref_p): Likewise.
      
      From-SVN: r196768
      Richard Biener committed
    • re PR c/56566 (bogus "is narrower than values of its type" warning) · 12d2dc5e
      	PR c/56566
      	* tree.c (tree_int_cst_min_precision): For integer_zerop (value)
      	return 1 even for !unsignedp.
      
      	* c-c++-common/pr56566.c: New test.
      
      From-SVN: r196767
      Jakub Jelinek committed
    • re PR c++/54359 ([C++0x] decltype in member function's trailing return type when… · 136357ac
      re PR c++/54359 ([C++0x] decltype in member function's trailing return type when defined outside of class)
      
      	PR c++/54359
      	PR c++/56639
      	* parser.c (cp_parser_direct_declarator): Bail if we see a
      	qualified-id not at namespace scope.
      
      From-SVN: r196765
      Jason Merrill committed
    • * g++.dg/template/abstract-dr337.C: XFAIL. · d0d475ef
      From-SVN: r196764
      Jason Merrill committed
    • Daily bump. · d696777e
      From-SVN: r196762
      GCC Administrator committed
  2. 17 Mar, 2013 27 commits