1. 10 Sep, 2013 1 commit
  2. 09 Sep, 2013 27 commits
  3. 08 Sep, 2013 11 commits
    • Fix handling of very long asm statements in inliner · cc4029ee
      An auto generated program with a 6.4mio line asm statement gave
      with 4.7 and 4.8:
      
      xxx.c:6400017:1: internal compiler error: in account_size_time, at
      ipa-inline-analysis.c:601
      
      The problem is that the inliner counts the number of lines in the asm
      statement and multiplies that with a weight. With the weight this
      overflows 32bit signed int, and triggers an assert for negative time.
      
      Fix this by limiting the number of lines to 1000 for asm cost
      estimation. The RTL backend also does similar multiplications for
      jump shortening. I haven't tried to address this, but presumably
      it's less likely to result in a failure.
      
      gcc/:
      2013-09-08  Andi Kleen  <ak@linux.intel.com>
      
      	* tree-inline.c (estimate_num_insns): Limit asm cost to 1000.
      
      From-SVN: r202374
      Andi Kleen committed
    • Update libvtv testsuite so that most of the tests now run under · 41e96dc8
      the dejagnu test harness.
      
      From-SVN: r202373
      Caroline Tice committed
    • Fix PR 58300... · f085f27e
      
      Fix PR 58300:  Re-order events with -fvtable-verify=preinit
      flag, so constructor init function is  not written to assembly
      file until after call to cgraph_process_new_functions.
      
      From-SVN: r202371
      Caroline Tice committed
    • ira.c (update_equiv_regs): Only call set_paradoxical_subreg for non-debug insns. · c34c46dd
      gcc/
      	* ira.c (update_equiv_regs): Only call set_paradoxical_subreg
      	for non-debug insns.
      	* lra.c (new_insn_reg): Take the containing insn as a parameter.
      	Only modify lra_reg_info[].biggest_mode if it's non-debug insn.
      	(collect_non_operand_hard_regs, add_regs_to_insn_regno_info): Update
      	accordingly.
      
      gcc/testsuite/
      	* g++.dg/debug/ra1.C: New test.
      
      From-SVN: r202369
      Richard Sandiford committed
    • devirt-11.C: Update template. · 3462aa02
      	* testsuite/g++.dg/ipa/devirt-11.C: Update template.
      	* testsuite/g++.dg/ipa/devirt-16.C: New testcase.
      	* testsuite/g++.dg/ipa/devirt-17.C: New testcase.
      	* testsuite/g++.dg/ipa/devirt-18.C: New testcase.
      
      	* cgraphunit.c (walk_polymorphic_call_targets): Permit 0 possible
      	targets and devirtualize to BUILT_IN_UNREACHABLE.
      	* timevar.def (TV_IPA_UNREACHABLE): New timevar.
      	* ipa.c (walk_polymorphic_call_targets): New function.
      	(symtab_remove_unreachable_nodes): Use it; do not keep all virtual
      	functions; use the new timevar.
      	* ipa-devirt.c (maybe_record_node): Do not insert static nodes that
      	was removed from the program.
      	(record_binfo): If BINFO corresponds to an anonymous namespace, we may
      	not consider it in the walk when its vtable is dead.
      	(possible_polymorphic_call_targets_1): Pass anonymous flag to
      	record_binfo.
      	(devirt_variable_node_removal_hook): New function.
      	(possible_polymorphic_call_targets): Also register
      	devirt_variable_node_removal_hook.
      	(ipa_devirt): Do not do non-speculative devirtualization.
      	(gate_ipa_devirt): One execute if devirtualizing speculatively.
      
      From-SVN: r202368
      Jan Hubicka committed
    • cgraph.h (varpool_node_hook, [...]): Declare. · 26e5b0fd
      
      	* cgraph.h (varpool_node_hook, varpool_node_hook_list,
      	varpool_add_node_removal_hook, varpool_add_variable_insertion_hook,
      	varpool_remove_variable_insertion_hook): Declare.
      	* varpool.c (varpool_node_hook_list): New structure.
      	(first_varpool_node_removal_hook,
      	first_varpool_variable_insertion_hook): New variables.
      	(varpool_add_node_removal_hook, varpool_remove_node_removal_hook,
      	varpool_call_node_removal_hooks, varpool_add_variable_insertion_hook,
      	varpool_remove_variable_insertion_hook,
      	varpool_call_variable_insertion_hooks): New functions.
      	(varpool_remove_node): Use it.
      
      From-SVN: r202367
      Jan Hubicka committed
    • re PR c++/54941 (do not print line/column numbers for <built-in>:0:0) · 97f1f314
      2013-09-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/54941
      	* diagnostic.c (diagnostic_build_prefix): When s.file is
      	"<built-in>" don't output line and column numbers.
      
      /testsuite
      2013-09-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/54941
      	* g++.dg/overload/new1.C: Adjust.
      
      From-SVN: r202366
      Paolo Carlini committed
    • Add missing ChangeLog entry for r199969. · 2e6a2f88
      From-SVN: r202365
      Tom de Vries committed
    • c-common.c (same_scalar_type_ignoring_signedness): Delete. · 0af94e6f
      gcc/c-family:
              * c-common.c (same_scalar_type_ignoring_signedness): Delete.
              (vector_types_compatible_elements_p): New function.
              * c-common.h: (same_scalar_type_ignoring_signedness): Delete
      	declaration.
              (vector_types_compatible_elements_p): Declare.
      gcc/c:
              * c-typeck.c (build_binary_op): Use vector_types_compatible_elements_p.
      gcc/cp:
              * typeck.c (cp_build_binary_op): Use vector_types_compatible_elements_p.
      gcc/testsuite:
              * c-c++-common/opaque-vector.c: New test.
      
      From-SVN: r202364
      Joern Rennecke committed
    • Daily bump. · dde03143
      From-SVN: r202363
      GCC Administrator committed
  4. 07 Sep, 2013 1 commit