1. 27 Jun, 2013 5 commits
  2. 26 Jun, 2013 14 commits
  3. 25 Jun, 2013 12 commits
  4. 24 Jun, 2013 9 commits
    • compiler: generate dummy names for blank-named constants. · fe7144f4
      Otherwise such const declarations are not checked.
      
      From-SVN: r200381
      Ian Lance Taylor committed
    • compiler: Add support for method values. · 571d3f91
      From-SVN: r200379
      Ian Lance Taylor committed
    • files.c (_cpp_stack_include): Fix the highest_location when header file is… · 39953c79
      files.c (_cpp_stack_include): Fix the highest_location when header file is guarded by #ifndef and is included...
      
      2013-06-24  Dehao Chen  <dehao@google.com>
      
      	* files.c (_cpp_stack_include): Fix the highest_location when header
      	file is guarded by #ifndef and is included twice.
      
      From-SVN: r200376
      Dehao Chen committed
    • configure.ac (AC_CHECK_FUNCS_ONCE): Put into if statement. · b4005c71
      2013-06-24  Steve Ellcey  <sellcey@mips.com>
      
      	* configure.ac (AC_CHECK_FUNCS_ONCE): Put into if statement.
      	* configure: Regenerate.
      
      From-SVN: r200374
      Steve Ellcey committed
    • re PR libstdc++/57691 (freestanding libstdc++ has compile error) · a4e28c81
      2013-06-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
      	PR libstdc++/57691
      	* include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
      	declare per the letter of the C++ standard in terms of void.
      	* include/c_std/cstdlib: Likewise.
      
      From-SVN: r200371
      Bernd Edlinger committed
    • re PR tree-optimization/57358 (segmentation fault with attribute(optimize(O0))) · 5fe8e757
      2013-06-24  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/57358
      	* ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): New function.
      	(ipa_compute_jump_functions_for_edge): Bail out if it returns true.
      	(ipa_analyze_params_uses): Generate pessimistic info when true.
      
      testsuite
      	* gcc.dg/ipa/pr57358.c: New test.
      
      From-SVN: r200369
      Martin Jambor committed
    • re PR tree-optimization/57539 (ice in ipa_edge_duplication_hook) · 44a60244
      2013-06-24  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/57539
      	* cgraphclones.c (cgraph_clone_node): Add parameter new_inlined_to, set
      	global.inlined_to of the new node to it.  All callers changed.
      	* ipa-inline-transform.c (clone_inlined_nodes): New variable
      	inlining_into, pass it to cgraph_clone_node.
      	* ipa-prop.c (ipa_propagate_indirect_call_infos): Do not call
      	ipa_free_edge_args_substructures.
      	(ipa_edge_duplication_hook): Only add edges from inlined nodes to
      	rdesc linked list.  Do not assert rdesc edges have inlined caller.
      	Assert we have found an rdesc in the rdesc list.
      
      From-SVN: r200368
      Martin Jambor committed
    • pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. · 7c5848b8
      2013-06-24  Richard Biener  <rguenther@suse.de>
      
      	* pointer-set.h (struct pointer_set_t): Move here from
      	pointer-set.c.
      	(pointer_set_lookup): Declare.
      	(class pointer_map): New template class implementing a
      	generic pointer to T map.
      	(pointer_map<T>::pointer_map, pointer_map<T>::~pointer_map,
      	pointer_map<T>::contains, pointer_map<T>::insert,
      	pointer_map<T>::traverse): New functions.
      	* pointer-set.c (struct pointer_set_t): Moved to pointer-set.h.
      	(pointer_set_lookup): New function.
      	(pointer_set_contains): Use pointer_set_lookup.
      	(pointer_set_insert): Likewise.
      	(insert_aux): Remove.
      	(struct pointer_map_t): Embed a pointer_set_t.
      	(pointer_map_create): Adjust.
      	(pointer_map_destroy): Likewise.
      	(pointer_map_contains): Likewise.
      	(pointer_map_insert): Likewise.
      	(pointer_map_traverse): Likewise.
      	* tree-streamer.h (struct streamer_tree_cache_d): Use a
      	pointer_map<unsigned> instead of a pointer_map_t.
      	* tree-streamer.c (streamer_tree_cache_insert_1): Adjust.
      	(streamer_tree_cache_lookup): Likewise.
      	(streamer_tree_cache_create): Likewise.
      	(streamer_tree_cache_delete): Likewise.
      	* lto-streamer.h (struct lto_tree_ref_encoder): Use a
      	pointer_map<unsigned> instead of a pointer_map_t.
      	(lto_init_tree_ref_encoder): Adjust.
      	(lto_destroy_tree_ref_encoder): Likewise.
      	* lto-section-out.c (lto_output_decl_index): Likewise.
      	(lto_record_function_out_decl_state): Likewise.
      	* dominance.c (iterate_fix_dominators): Use pointer_map<int>.
      
      From-SVN: r200367
      Richard Biener committed
    • re PR testsuite/57686 (FAIL: gcc.dg/torture/pr57584.c with -m32) · e04518ae
      2013-06-24  Richard Biener  <rguenther@suse.de>
      
      	PR testsuite/57686
      	* gcc.dg/torture/pr57584.c: Remove target specific bits.
      
      From-SVN: r200364
      Richard Biener committed