- 04 Apr, 2013 4 commits
-
-
* Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). (lra-eliminations.o): Likewise. From-SVN: r197467
Jeff Law committed -
* cp-tree.h (FUNCTION_OR_METHOD_TYPE_CHECK): Remove. (TYPE_RAISES_EXCEPTIONS): Use FUNC_OR_METHOD_CHECK instead. (FUNCTION_REF_QUALIFIED, FUNCTION_RVALUE_QUALIFIED): Likewise. From-SVN: r197466
Jason Merrill committed -
From-SVN: r197464
GCC Administrator committed -
libiberty/ * cp-demangle.c (cplus_demangle_type): Fix function quals. (d_pointer_to_member_type): Simplify. gcc/cp/ * mangle.c (write_type): When writing a function type with function-cv-quals, don't add the unqualified type as a substitution candidate. From-SVN: r197460
Jason Merrill committed
-
- 03 Apr, 2013 31 commits
-
-
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 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 -
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 -
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 -
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 -
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 -
/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 -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 -
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 -
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 -
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 --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 -
* config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. (fmssf4): Use fmsf.s on E3V5 architectures. (fnmasf4): Use fnmaf.s on E3V5 architectures. (fnmssf4): Use fnmsf.s on E3V5 architectures. From-SVN: r197413
Nick Clifton committed -
2013-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/56817 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Split out ... (tree_unroll_loops_completely_1): ... new function to manually walk the loop tree, properly defering outer loops of unrolled loops to later iterations. * g++.dg/torture/pr56817.C: New testcase. From-SVN: r197411
Richard Biener committed -
2013-04-03 Marc Glisse <marc.glisse@inria.fr> gcc/ * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. (vectorizable_load): Likewise. * tree-vect-slp.c (vect_build_slp_tree): Likewise. * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. gcc/testsuite/ * gcc.dg/vect/bb-slp-31.c: New file. From-SVN: r197410
Marc Glisse committed -
2013-04-03 Marc Glisse <marc.glisse@inria.fr> * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle BIT_FIELD_REF. From-SVN: r197409
Marc Glisse committed -
PR c++/34949 * g++.dg/tree-ssa/ehcleanup-1.C: Adjust unreachable count. From-SVN: r197408
Jason Merrill committed -
2013-04-03 Richard Biener <rguenther@suse.de> * g++.dg/vect/slp-pr56812.cc: Use dg-additional-options. From-SVN: r197407
Richard Biener committed -
From-SVN: r197406
Ulrich Weigand committed -
re PR tree-optimization/55964 (Segmentation fault with -O -ftree-loop-distribution -funswitch-loops) 2013-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/55964 * gcc.dg/torture/pr55964-2.c: New testcase. From-SVN: r197403
Richard Biener committed -
2013-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/56501 * gcc.dg/torture/pr56501.c: New testcase. From-SVN: r197401
Richard Biener committed -
2013-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/56407 * gcc.dg/torture/pr56407.c: New testcase. From-SVN: r197399
Richard Biener committed -
From-SVN: r197398
Bin Cheng committed -
2013-04-03 Marc Glisse <marc.glisse@inria.fr> PR tree-optimization/56790 gcc/ * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant folding. gcc/testsuite/ * g++.dg/ext/pr56790-1.C: New testcase. From-SVN: r197395
Marc Glisse committed -
2013-04-03 Marc Glisse <marc.glisse@inria.fr> gcc/ * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: Handle VEC_MERGE. (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT for masks. Test for side effects. Handle nested VEC_MERGE. Handle equal arguments. gcc/testsuite/ * gcc.target/i386/merge-1.c: New testcase. * gcc.target/i386/avx2-vpblendd128-1.c: Make it non-trivial. From-SVN: r197394
Marc Glisse committed -
PR c/19449 * tree.h (force_folding_builtin_constant_p): New decl. * builtins.c (force_folding_builtin_constant_p): New variable. (fold_builtin_constant_p): Fold immediately also if force_folding_builtin_constant_p. * c-parser.c (c_parser_get_builtin_args): Add choose_expr_p argument. If set, or it temporarily for parsing of the first argument into force_folding_builtin_constant_p. (c_parser_postfix_expression): Adjust callers. * gcc.c-torture/execute/pr19449.c: New test. From-SVN: r197393
Jakub Jelinek committed -
2013-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/56812 * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): DRs of the same interleaving chain are independent. * g++.dg/vect/slp-pr56812.cc: New testcase. From-SVN: r197390
Richard Biener committed -
2013-04-03 Janus Weil <janus@gcc.gnu.org> PR fortran/56284 PR fortran/40881 * decl.c (gfc_match_formal_arglist): Warn about alternate-return arguments. * interface.c (check_dummy_characteristics): Return if symbols are NULL. 2013-04-03 Janus Weil <janus@gcc.gnu.org> PR fortran/56284 PR fortran/40881 * gfortran.dg/altreturn_8.f90: New. * gfortran.dg/altreturn_2.f90: Add -std=legacy. * gfortran.dg/intrinsic_actual_3.f90: Ditto. * gfortran.dg/invalid_interface_assignment.f90: Ditto. From-SVN: r197389
Janus Weil committed -
PR c++/56821 * mangle.c (write_function_type): Mangle ref-qualifier. (write_nested_name): Likewise. (canonicalize_for_substitution): Preserve ref-qualifier. (write_type): Likewise. From-SVN: r197386
Jason Merrill committed -
From-SVN: r197384
GCC Administrator committed -
* libsupc++/exception (get_terminate(), get_unexpected()): Declare. * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()): Define. (set_terminate(terminate_handler)): Set atomically. (set_unexpected(terminate_handler)): Likewise. * libsupc++/new (get_new_handler()): Declare. * libsupc++/new_handler.cc (get_new_handler()): Define. (set_new_handler(new_handler)): Set atomically. (__new_handler): Use internal linkage. * libsupc++/new_op.cc (operator new): Use get_new_handler(). * libsupc++/new_opnt.cc (operator new): Likewise. * acinclude.m4: Bump libtool_VERSION to 6:19:0. * configure: Regenerate. * libsupc++/Makefile.am: Compile above files with -std=gnu++11. * libsupc++/Makefile.in: Regenerate. * config/abi/pre/gnu.ver: Add new exports. * doc/xml/manual/status_cxx2011.xml: Update. * testsuite/18_support/headers/exception/synopsis.cc: Check accessors for handlers. * testsuite/18_support/headers/new/synopsis.cc: Likewise. * testsuite/18_support/new_handler.cc: New. * testsuite/18_support/terminate_handler.cc: New. * testsuite/18_support/unexpected_handler.cc: New. From-SVN: r197380
Jonathan Wakely committed
-
- 02 Apr, 2013 5 commits
-
-
From-SVN: r197377
Joseph Myers committed -
From-SVN: r197376
Jason Merrill committed -
PR c++/34949 * decl.c (begin_destructor_body): Clobber the object in a cleanup. From-SVN: r197375
Jason Merrill committed -
Remove unused symbols related to ivtype_map. This map does not appear to exist and I see no evidence of its removal in the ChangeLog. Tested on x86_64. Index: gcc/ChangeLog 2013-04-02 Lawrence Crowl <crowl@google.com> * sese.h (struct ivtype_map_elt_s): Remove unused. (extern debug_ivtype_map): Remove unused. (extern eq_ivtype_map_elts): Remove unused. * sese.c (debug_ivtype_map): Removed unused. (debug_ivtype_map_1): Removed unused. (debug_ivtype_elt): Remove unused. (eq_ivtype_map_elts): Remove unused. From-SVN: r197374
Lawrence Crowl committed -
PR target/52790 * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static function. (legitimize_pe_coff_symbol): Likewise. (is_imported_p): New helper-function. (ix86_option_override_internal): Make MEDIUM_PIC the default code-model for Windows x64 targets. (ix86_expand_prologue): Optimize for pe-coff targets. (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support medium/large code-model. (legitimize_pic_address): Likewise. (legitimize_tls_address): Likewise. (ix86_expand_call): Likewise. (x86_output_mi_thunk): Likewise. (get_dllimport_decl): Add new beimport argument. (construct_plt_address): Don't assert for x64 pe-coff targets. * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff targets. (SYMBOL_FLAG_STUBVAR): New macro. (SYMBOL_REF_STUBVAR_P): Likewise. * config/i386/winnt.c (stub_list): New structure. (stub_head): New local variable. (i386_pe_record_stub): New function. (i386_pe_file_end): Emit refptr-stubs. From-SVN: r197373
Kai Tietz committed
-