1. 04 Apr, 2014 8 commits
    • class.c (find_abi_tags_r): Check for the return of warning before emitting a note. · 3fe99aa5
      2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>
      
      	* class.c (find_abi_tags_r): Check for the return of warning
      	before emitting a note.
      	(one_inherited_ctor): Likewise.
      
      From-SVN: r209118
      Fabien Chêne committed
    • re PR ipa/60640 (ICE edge points to wrong declaration / verify_cgraph_node failed) · 610c8ef0
      2014-04-04  Martin Jambor  <mjambor@suse.cz>
      
      	PR ipa/60640
              * cgraph.h (cgraph_clone_node): New parameter added to declaration.
              Adjust all callers.
      	* cgraph.c (clone_of_p): Also return true if thunks match.
      	(verify_edge_corresponds_to_fndecl): Removed extraneous call to
      	cgraph_function_or_thunk_node and an obsolete comment.
              * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
              file.
              (build_function_decl_skip_args): Likewise.
      	(set_new_clone_decl_and_node_flags): New function.
              (duplicate_thunk_for_node): Likewise.
              (redirect_edge_duplicating_thunks): Likewise.
              (cgraph_clone_node): New parameter args_to_skip, pass it to
              redirect_edge_duplicating_thunks which is called instead of
              cgraph_redirect_edge_callee.
              (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
      	moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
      
      testsuite/
              * g++.dg/ipa/pr60640-1.C: New test.
              * g++.dg/ipa/pr60640-2.C: Likewise.
              * g++.dg/ipa/pr60640-3.C: Likewise.
              * g++.dg/ipa/pr60640-4.C: Likewise.
      
      From-SVN: r209097
      Martin Jambor committed
    • re PR fortran/60191 (test case gfortran.dg/dynamic_dispatch_1/3.f03 fail on ARMv7) · 57ef133b
      2014-04-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              PR fortran/60191
              * fortran/trans-types.c (gfc_get_function_type): In case of recursion
              build a variadic function type with empty argument list instead of a
              stdarg-like function type with incomplete argument list.
      
      From-SVN: r209091
      Bernd Edlinger committed
    • re PR target/60657 (ICE: error: insn does not satisfy its constraints) · fc02bcca
              PR target/60657
      	* config/arm/predicates.md (const_int_I_operand): New predicate.
      	(const_int_M_operand): Similarly.
      	* config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
      	const_int_operand.
      	(insv_t2, extv_reg, extzv_t2): Likewise.
      	(load_multiple_with_writeback): Similarly for const_int_I_operand.
      	(pop_multiple_with_writeback_and_return): Likewise.
      	(vfp_pop_multiple_with_writeback): Likewise
      
      	PR target/60657
      	* gcc.target/arm/pr60657.c: New test.
      
      From-SVN: r209085
      Jeff Law committed
    • re PR middle-end/60746 (ICE segfault in gimple-expr.c:314) · 45b62594
      2014-04-04  Richard Biener  <rguenther@suse.de>
      
      	PR ipa/60746
      	* tree-ssanames.c (make_ssa_name_fn): Fix assert.
      	* gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
      	non-GIMPLE_LABELs.
      	* gimplify.h (gimple_add_tmp_var_fn): Declare.
      	* gimplify.c (gimple_add_tmp_var_fn): New function.
      	* gimple-expr.h (create_tmp_reg_fn): Declare.
      	* gimple-expr.c (create_tmp_reg_fn): New function.
      	* gimple-low.c (record_vars_into): Don't change cfun.
      	* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
      	code generation without cfun.
      
      	* g++.dg/torture/pr60746.C: New testcase.
      
      From-SVN: r209079
      Richard Biener committed
    • Fix shell scripting. · bb609c35
      	PR bootstrap/60719
      	* Makefile.in (install-driver): Fix shell scripting.
      
      From-SVN: r209072
      Thomas Schwinge committed
    • decl.c (duplicate_decls): Check for the return of permerror before emitting a note. · d4a69ff4
      2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>
      
      	* decl.c (duplicate_decls): Check for the return of permerror
      	before emitting a note.
      
      
      2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>
      
      	* g++.old-deja/g++.robertl/eb121.C: Adjust.
      	* g++.old-deja/g++.jason/overload21.C: Likewise.
      	* g++.old-deja/g++.law/init5.C: Likewise.
      
      From-SVN: r209071
      Fabien Chêne committed
    • Daily bump. · 2d18d295
      From-SVN: r209068
      GCC Administrator committed
  2. 03 Apr, 2014 10 commits
    • re PR tree-optimization/60505 (Warning caused by GCC vectorizer.) · 090cd8dc
      2014-04-03  Cong Hou  <congh@google.com>
      
      PR tree-optimization/60505
          * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
          threshold of number of iterations below which no vectorization will be
          done.
          * tree-vect-loop.c (new_loop_vec_info):
          Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
          * tree-vect-loop.c (vect_analyze_loop_operations):
          Set LOOP_VINFO_COST_MODEL_THRESHOLD.
          * tree-vect-loop.c (vect_transform_loop):
          Use LOOP_VINFO_COST_MODEL_THRESHOLD.
          * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
          of iterations of the loop and see if we should build the epilogue.
      
      2014-04-03  Cong Hou  <congh@google.com>
      
          PR tree-optimization/60505
          * gcc.dg/vect/pr60505.c: New test.
      
      From-SVN: r209065
      Cong Hou committed
    • tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member. · bdc67fd6
      2014-04-03  Richard Biener  <rguenther@suse.de>
      
      	* tree-streamer.h (struct streamer_tree_cache_d): Add next_idx
      	member.
      	(streamer_tree_cache_create): Adjust.
      	* tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
      	to allow optional nodes array.
      	(streamer_tree_cache_insert_1): Use next_idx to assign idx.
      	(streamer_tree_cache_append): Likewise.
      	(streamer_tree_cache_create): Create nodes array optionally
      	as specified by parameter.
      	* lto-streamer-out.c (create_output_block): Avoid maintaining
      	the node array in the writer cache.
      	(DFS_write_tree): Remove assertion.
      	(produce_asm_for_decls): Free the out decl state hash table
      	early.
      	* lto-streamer-in.c (lto_data_in_create): Adjust for
      	streamer_tree_cache_create prototype change.
      
      From-SVN: r209059
      Richard Biener committed
    • tree-streamer-out.c (streamer_write_chain): Do not temporarily set TREE_CHAIN to NULL_TREE. · a0daf659
      2014-04-03  Richard Biener  <rguenther@suse.de>
      
      	* tree-streamer-out.c (streamer_write_chain): Do not temporarily
      	set TREE_CHAIN to NULL_TREE.
      
      From-SVN: r209058
      Richard Biener committed
    • re PR tree-optimization/60740 (ICE in extract_affine w/ -O2 -ftree-loop-linear) · f16c88d2
      2014-04-03  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/60740
      	* graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
      	over all GIMPLE_COND operands.
      
      	* gcc.dg/graphite/pr60740.c: New testcase.
      
      From-SVN: r209057
      Richard Biener committed
    • invoke.texi (Wnon-virtual-dtor): Adjust documentation. · 880a467b
      	* doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
      	(Weffc++): Remove Scott's numbering, merge lists and reference
      	Wnon-virtual-dtor.
      
      	c-family/
      	* c.opt (Wnon-virtual-dtor): Auto set when Weffc++.
      
      	cp/
      	* class.c (accessible_nvdtor_p): New.
      	(check_bases): Don't check base destructor here ...
      	(check_bases_and_members): ... check them here.  Trigger on
      	Wnon-virtual-dtor flag.
      	(finish_struct_1): Use accessible_nvdtor_p.
      
      	testsuite/
      	* g++.dg/warn/Wnvdtor.C: Add non-polymorphic case.
      	* g++.dg/warn/Wnvdtor-2.C: New.
      	* g++.dg/warn/Wnvdtor-3.C: New.
      	* g++.dg/warn/Wnvdtor-4.C: New.
      	* g++.dg/warn/Weff1.C: Delete.
      	* g++.old-deja/g++.benjamin/15309-1.C: Delete.
      	* g++.old-deja/g++.benjamin/15309-2.C: Delete.
      
      From-SVN: r209056
      Nathan Sidwell committed
    • rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF)) properly. · 08866760
      	* config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
      	properly.
      
      From-SVN: r209055
      Nick Clifton committed
    • ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention… · 5bed50e8
      ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention gcc_unreachable before failing.
      
      2014-04-03  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
      	mention gcc_unreachable before failing.
      	* ipa.c (symtab_remove_unreachable_nodes): Also print order of
      	removed symbols.
      
      From-SVN: r209052
      Martin Jambor committed
    • re PR ipa/60659 (ICE in get_polymorphic_call_info, at ipa-devirt.c:1292) · 3e86c6a8
      
      	PR ipa/60659
      	* ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type inconsistent
      	code and instead mark the context inconsistent.
      	(possible_polymorphic_call_targets): For inconsistent contexts
      	return empty complete list.
      	* testsuite/g++.dg/torture/pr60659.C: New testcase.
      
      From-SVN: r209048
      Jan Hubicka committed
    • This patch does three related things for the moxie port... · 2b9912aa
      1. Changes char to be unsigned by default
      2. Changes WCHAR_TYPE from long int to unsigned int
      3. Zero- and sign-extends values properly, sometimes using the new
          sign-extension instructions.
      
      From-SVN: r209047
      Anthony Green committed
    • Daily bump. · db034eac
      From-SVN: r209045
      GCC Administrator committed
  3. 02 Apr, 2014 19 commits
  4. 01 Apr, 2014 3 commits