1. 05 Apr, 2013 9 commits
  2. 04 Apr, 2013 19 commits
  3. 03 Apr, 2013 12 commits
    • c-common.c (pointer_int_sum): Remove dead code. · 4e856798
      2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* c-common.c (pointer_int_sum): Remove dead code.
      
      From-SVN: r197458
      Paolo Carlini committed
    • This patch enables the gcov-dump tool to optionally compute and dump the working… · f57ddb5b
      This patch enables the gcov-dump tool to optionally compute and dump the working set information from the counter histogram...
      
      This patch enables the gcov-dump tool to optionally compute and dump
      the working set information from the counter histogram, via a new -w option.
      This is useful to help understand and tune how the compiler will use
      the counter histogram, since it first computes the working set and selects
      thresholds based on that.
      
      This required moving the bulk of the compute_working_sets functionality
      into gcov-io.c so that it was accessible by gcov-dump.c.
      
      2013-04-03  Teresa Johnson  <tejohnson@google.com>
      
      	* gcov-io.c (compute_working_sets): Moved most of body of old
              compute_working_sets here from profile.c.
      	* gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c.
              (gcov_working_set_t): Moved typedef here from basic-block.h
              (compute_working_set): Declare.
      	* profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h.
      	(get_working_sets): Renamed from compute_working_set,
              replace most of body with call to new compute_working_sets.
      	(get_exec_counts): Replace call to compute_working_sets
              to get_working_sets.
      	* profile.h (get_working_sets): Renamed from
              compute_working_set.
      	* lto-cgraph.c (input_symtab): Replace call to compute_working_sets
              to get_working_sets.
      	* basic-block.h (gcov_working_set_t): Moved to gcov-io.h.
      	* gcov-dump.c (dump_working_sets): New function.
      
      From-SVN: r197457
      Teresa Johnson committed
    • hwint.c (sext_hwi, zext_hwi): New functions. · 5e0919f1
      2013-04-03  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* hwint.c (sext_hwi, zext_hwi): New functions.
      	* hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT,
      	HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C,
      	HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C,
      	HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX,
      	HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols.
      	(sext_hwi, zext_hwi): New functions.
      
      From-SVN: r197456
      Kenneth Zadeck committed
    • re PR tree-optimization/56799 (Runfail after r197060+r197082.) · be672e08
              PR tree-optimization/56799
              * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring
              back test for widening conversion erroneously dropped in prior
              change.
      
              PR tree-optimization/56799
              * gcc.c-torture/execute/pr56799.c: New test.
      
      From-SVN: r197453
      Jeff Law committed
    • Demangle C++11 ref-qualifier. · 9eb85f27
      include/
      	* demangle.h (enum demangle_component_type): Add
      	DEMANGLE_COMPONENT_REFERENCE_THIS,
      	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
      libiberty/
      	* cp-demangle.c (d_ref_qualifier): New.
      	(d_nested_name, d_function_type): Use it.
      	(d_parmlist): Don't get confused by a ref-qualifier.
      	(cplus_demangle_type): Reorder ref-qualifier.
      	(d_pointer_to_member_type): Likewise.
      	(d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
      	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
      	(d_make_comp, has_return_type, d_encoding): Likewise.
      	(d_print_comp, d_print_mod_list, d_print_mod): Likewise.
      	(d_print_function_type, is_ctor_or_dtor): Likewise.
      
      From-SVN: r197436
      Jason Merrill committed
    • re PR target/56809 (Revision 197266 causes trunk ICE for arm-none-eabi targets) · 9d821fa5
      2013-04-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	PR target/56809
      	* config/aarch64/aarch64.c (is_jump_table): Use next_active_insn
      	instead of next_real_insn.
      
      From-SVN: r197434
      Kyrylo Tkachov committed
    • re PR c++/56815 (void pointer arithmetic) · c42a832a
      /cp
      2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/56815
      	* typeck.c (cp_build_unary_op): Change -Wpointer-arith permerror to
      	pedwarn.
      
      /testsuite
      2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/56815
      	* g++.dg/warn/Wpointer-arith-1.C: New.
      	* g++.dg/gomp/for-19.C: Adjust.
      
      From-SVN: r197433
      Paolo Carlini committed
    • re PR sanitizer/55702 (ICE: in instrument_func_exit, at tsan.c:684 with… · 71c581e7
      re PR sanitizer/55702 (ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return())
      
      	PR sanitizer/55702
      	* tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
      	functions.
      
      	* gcc.dg/pr55702.c: New test.
      
      From-SVN: r197430
      Marek Polacek committed
    • re PR target/56809 (Revision 197266 causes trunk ICE for arm-none-eabi targets) · 4a32ef80
      gcc/
      2013-04-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	PR target/56809
      	* config/arm/arm.c (is_jump_table): Use next_active_insn instead of
      	next_real_insn.
      	(thumb1_output_casesi): Likewise.
      	(thumb2_output_casesi): Likewise.
      
      gcc/testsuite
      2013-04-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	PR target/56809
      	* gcc.dg/pr56809.c: New testcase.
      
      From-SVN: r197425
      Kyrylo Tkachov committed
    • re PR c++/56819 (ICE: SIGSEGV in int_cst_value (tree.h:4013) with -fcompare-debug) · 7349ed05
      	PR debug/56819
      	* tree.c (strip_typedefs): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT
      	from args to new_args.
      	(strip_typedefs_expr): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT from t to
      	r instead of doing {S,G}ET_NON_DEFAULT_TEMPLATE_ARGS_COUNT.
      
      	* g++.dg/debug/pr56819.C: New test.
      
      From-SVN: r197420
      Jakub Jelinek committed
    • re PR target/56771 (Integer Overflow? Building arm-rtems libgcc2) · 994a4cc0
      2013-04-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
      
      	PR target/56771
      	* configure.ac: Require 64-bit int for arm*-*-rtems*.
      	* configure: Regenerate.
      
      From-SVN: r197417
      Sebastian Huber committed
    • re PR libstdc++/56834 (Errors in <array> with… · 169a7e85
      re PR libstdc++/56834 (Errors in <array> with --enable-symvers=gnu-versioned-namespace and -D_GLIBCXX_DEBUG)
      
      2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/56834
      	* include/debug/array (tuple_size, tuple_element): Do not declare.
      	* include/profile/array: Likewise.
      	* testsuite/23_containers/array/tuple_interface/
      	tuple_element_debug_neg.cc: Adjust dg-error line number.
      
      From-SVN: r197415
      Paolo Carlini committed