aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-12-12* g++.dg/ubsan/cxx1y-vla.C: Remove.Jason Merrill1-13/+0
From-SVN: r218681
2014-12-12re PR c++/61402 (-Wsequence-point doesn't notice unsequenced lambda init and ↵Jason Merrill3-1/+28
function argument) PR c++/61402 * lambda.c (add_capture): Don't pass a dependent type to variably_modified_type_p. From-SVN: r218680
2014-12-12re PR libstdc++/64276 (would be better to use __cpp_exceptions rather than ↵Jonathan Wakely24-57/+84
__EXCEPTIONS to determine whether exceptions are available) PR libstdc++/64276 * doc/doxygen/user.cfg.in: Define __cpp_exceptions and __cpp_rtti. * doc/html/manual/using_exceptions.html: Regenerate. * doc/xml/manual/using_exceptions.xml: Use SD-6 feature-testing macros, __cpp_exceptions and __cpp_rtti, instead of __EXCEPTIONS and __GXX_RTTI. * include/bits/c++config: Likewise. * include/bits/locale_classes.tcc: Likewise. * include/bits/shared_ptr.h: Likewise. * include/bits/shared_ptr_base.h: Likewise. * include/debug/formatter.h: Likewise. * include/experimental/any: Likewise. * include/ext/rope: Likewise. * include/ext/ropeimpl.h: Likewise. * include/std/functional: Likewise. * include/tr1/functional: Likewise. * include/tr1/shared_ptr.h: Likewise. * libsupc++/eh_call.cc: Likewise. * libsupc++/eh_personality.cc: Likewise. * libsupc++/exception_defines.h: Likewise. * libsupc++/exception_ptr.h: Likewise. * libsupc++/guard.cc: Likewise. * libsupc++/pbase_type_info.cc: Likewise. * libsupc++/pointer_type_info.cc: Likewise. * libsupc++/vterminate.cc: Likewise. * src/c++11/thread.cc: Likewise. From-SVN: r218679
2014-12-12re PR middle-end/64182 (wide-int rounding division is broken)Richard Sandiford8-18/+107
gcc/ PR middle-end/64182 * wide-int.h (wi::div_round, wi::mod_round): Fix rounding of tied cases. * double-int.c (div_and_round_double): Fix handling of unsigned cases. Use same rounding approach as wide-int.h. gcc/testsuite/ 2014-xx-xx Richard Sandiford <richard.sandiford@arm.com> Joseph Myers <joseph@codesourcery.com> PR middle-end/64182 * gcc.dg/plugin/wide-int-test-1.c, gcc.dg/plugin/wide-int_plugin.c: New test. * gcc.dg/plugin/plugin.exp: Register it. * gnat.dg/round_div.adb: New test. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r218678
2014-12-12re PR libstdc++/64241 (make_exception_ptr returns garbage with -fno-exceptions)Jonathan Wakely3-4/+52
PR libstdc++/64241 * libsupc++/exception_ptr.h: Return empty object when exceptions are disabled. * testsuite/18_support/exception_ptr/64241.cc: New. From-SVN: r218675
2014-12-12re PR middle-end/64274 ([ARM] gcc.target/arm/fixed-point-exec.c ICE in ↵Marek Polacek2-1/+7
fold_binary_loc) PR middle-end/64274 * fold-const.c (fold_binary_loc): Add ANY_INTEGRAL_TYPE_P check. From-SVN: r218671
2014-12-12stl_iterator.h (make_reverse_iterator): LWG DR 2285.Jonathan Wakely4-0/+55
* include/bits/stl_iterator.h (make_reverse_iterator): LWG DR 2285. * include/std/tuple: Add feature-test macro. * testsuite/24_iterators/reverse_iterator/make.cc: New. From-SVN: r218670
2014-12-12re PR tree-optimization/64269 (ICE with -O3 enabled on Ubuntu 14.04)Jakub Jelinek4-2/+24
PR tree-optimization/64269 * tree-ssa-forwprop.c (simplify_builtin_call): Bail out if len2 or diff are too large. * gcc.c-torture/compile/pr64269.c: New test. From-SVN: r218669
2014-12-12re PR tree-optimization/64280 (ICE in replace_uses_by, at tree-cfg.c:1789)Richard Biener4-1/+54
2014-12-12 Richard Biener <rguenther@suse.de> PR middle-end/64280 * tree-cfg.c (replace_uses_by): Guard assert properly. * g++.dg/torture/pr64280.C: New testcase. From-SVN: r218668
2014-12-12Add use of zex instruction for moxie portAnthony Green2-6/+10
From-SVN: r218666
2014-12-12re PR rtl-optimization/64255 (failures with -O2 optimization on i >= 0 ? ↵Jakub Jelinek3-0/+61
(unsigned long) i : - (unsigned long) i) PR rtl-optimization/64255 * gcc.c-torture/execute/pr64255.c: New test. PR rtl-optimization/64260 * gcc.c-torture/execute/pr64260.c: New test. From-SVN: r218665
2014-12-12Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite ↵Kyrylo Tkachov7-1/+19
drivers * testsuite/lib/libatomic.exp: Load target-utils.exp * testsuite/lib/libitm.exp: Load target-utils.exp. Move load of target-supports.exp earlier. * testsuite/lib/libvtv.exp: Load target-utils.exp From-SVN: r218664
2014-12-12real.h (HONOR_SNANS, [...]): Replace macros with 3 overloaded declarations.Marc Glisse14-38/+148
2014-12-12 Marc Glisse <marc.glisse@inria.fr> * real.h (HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): Replace macros with 3 overloaded declarations. * real.c (HONOR_NANS): Fix indentation. (HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): Define three overloads. * builtins.c (fold_builtin_cproj, fold_builtin_signbit, fold_builtin_fmin_fmax, fold_builtin_classify): Simplify argument of HONOR_*. * fold-const.c (operand_equal_p, fold_comparison, fold_binary_loc): Likewise. * gimple-fold.c (gimple_val_nonnegative_real_p): Likewise. * ifcvt.c (noce_try_move, noce_try_minmax, noce_try_abs): Likewise. * omp-low.c (omp_reduction_init): Likewise. * rtlanal.c (may_trap_p_1): Likewise. * simplify-rtx.c (simplify_const_relational_operation): Likewise. * tree-ssa-dom.c (record_equality, record_edge_info): Likewise. * tree-ssa-phiopt.c (value_replacement, abs_replacement): Likewise. * tree-ssa-reassoc.c (eliminate_using_constants): Likewise. * tree-ssa-uncprop.c (associate_equivalences_with_edges): Likewise. From-SVN: r218663
2014-12-12[libgomp][testsuite] Explicitly include target-utils.exp (fix libgomp ↵Kyrylo Tkachov2-1/+7
testsuite ERROR) * testsuite/lib/libgomp.exp: Load target-utils.exp. Move load of target-supportes.exp earlier. From-SVN: r218662
2014-12-12[libstdc++][testsuite] Mark as UNSUPPORTED tests that don't fit into tiny ↵Kyrylo Tkachov2-2/+25
memory model * testsuite/lib/libstdc++.exp: Include target-utils.exp. (v3_target_compile): Check if test is unsupported. (v3_target_compile_as_c): Likewise. From-SVN: r218661
2014-12-12ipa-inline.c (ipa_inline): Fix condition on when ↵Jan Hubicka2-2/+6
TODO_remove_unreachable_functions is needed. * ipa-inline.c (ipa_inline): Fix condition on when TODO_remove_unreachable_functions is needed. From-SVN: r218660
2014-12-12ipa-devirt.c (possible_polymorphic_call_targets): Return early if otr_type ↵Jan Hubicka2-1/+6
has no BINFO. * ipa-devirt.c (possible_polymorphic_call_targets): Return early if otr_type has no BINFO. From-SVN: r218659
2014-12-12re PR rtl-optimization/63917 (r217646 caused many failures)Zhenqiang Chen4-1/+90
2014-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com> PR rtl-optimization/63917 * ifcvt.c (cc_in_cond): New function. (end_ifcvt_sequence): Make sure new generated insns do not clobber CC. (noce_process_if_block, check_cond_move_block): Check CC references. testsuite/ChangeLog: 2014-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com> * gcc.dg/pr64007.c: New test. From-SVN: r218658
2014-12-12ldp_stp_2.c: Make test less vulnerable.Bin Cheng3-4/+5
gcc/testsuite * gcc.target/aarch64/ldp_stp_2.c: Make test less vulnerable. * gcc.target/aarch64/ldp_stp_3.c: Ditto. From-SVN: r218657
2014-12-11* c-cppbuiltin.c (c_cpp_builtins): Enable C++14 __cpp_constexpr.Jason Merrill3-12/+7
From-SVN: r218656
2014-12-11Remove N3639 "array of runtime length" from -std=c++14.Jason Merrill38-230/+112
gcc/cp/ * decl.c (compute_array_index_type): VLAs are not part of C++14. (create_array_type_for_decl, grokdeclarator): Likewise. * lambda.c (add_capture): Likewise. * pt.c (tsubst): Likewise. * rtti.c (get_tinfo_decl): Likewise. * semantics.c (finish_decltype_type): Likewise. * typeck.c (cxx_sizeof_or_alignof_type): Likewise. (cp_build_addr_expr_1): Likewise. * init.c (build_vec_init): Don't throw bad_array_length. gcc/c-family/ * c-cppbuiltin.c (c_cpp_builtins): Define __cpp_runtime_arrays if we aren't complaining about VLAs. libstdc++-v3/ * libsupc++/new (bad_array_length): Move... * bad_array_length.cc: ...here. * cxxabi.h, eh_aux_runtime.cc (__cxa_throw_bad_array_new_length): Also move to bad_array_length.cc. * c-cppbuiltin.c (c_cpp_builtins): Define __cpp_runtime_arrays if we aren't complaining about VLAs. From-SVN: r218655
2014-12-11re PR c++/64248 (Error: declarator-id missing; using reserved word ↵Jason Merrill5-25/+61
‘__FUNCTION__’) PR c++/64248 Revert: * parser.c (cp_parser_unqualified_id): Handle __func__ here. (cp_parser_primary_expression): Not here. From-SVN: r218654
2014-12-11re PR c++/57510 (subobjects not destroyed when exception thrown during ↵Jason Merrill5-13/+61
list-initialization) PR c++/57510 * typeck2.c (split_nonconstant_init_1): Handle arrays here. (store_init_value): Not here. (split_nonconstant_init): Look through TARGET_EXPR. No longer static. * cp-tree.h: Declare split_nonconstant_init. * call.c (set_up_extended_ref_temp): Use split_nonconstant_init. From-SVN: r218653
2014-12-12Adjust the comment in contrib/download_prerequisties.Chung-Ju Wu2-3/+7
contrib/ * download_prerequisites: Modify the comment for GRAPHITE_LOOP_OPT. From-SVN: r218652
2014-12-12Daily bump.GCC Administrator1-1/+1
From-SVN: r218651
2014-12-11aarch64-protos.h (tune_params): Add align field.Andrew Pinski3-0/+27
2014-12-11 Andrew Pinski <apinski@cavium.com> * config/aarch64/aarch64-protos.h (tune_params): Add align field. * config/aarch64/aarch64.c (generic_tunings): Specify align. (cortexa53_tunings): Likewise. (cortexa57_tunings): Likewise. (thunderx_tunings): Likewise. (aarch64_override_options): Set align_loops, align_jumps, align_functions based on what the tuning struct. From-SVN: r218645
2014-12-11* doc/md.texi (Insn Lengths): Fix description of (pc).Eric Botcazou2-3/+7
From-SVN: r218642
2014-12-11builtin-arith-overflow-1.c (fn2): Take signed char.Eric Botcazou2-6/+10
* gcc.dg/builtin-arith-overflow-1.c (fn2): Take signed char. (fn3): Likewise. From-SVN: r218641
2014-12-11re PR ipa/61324 (ICE: SIGSEGV at ipa-comdats.c:321 with -fno-use-cxa-atexit ↵Jan Hubicka16-50/+168
-fkeep-inline-functions) PR ipa/61324 * testsuite/g++.dg/pr61324.C: New testcase by Trevor Saunders. * testsuite/g++.dg/tm/pr51411-2.C: Update se the extern function is not eliminated early. * testsuite/gcc.target/i386/pr57756.c: Turn extern inline into static inline. * passes.c (execute_todo): Update call of remove_unreachable_nodes. * ipa-chkp.c (chkp_produce_thunks): Use TODO_remove_functions. * cgraphunit.c (symbol_table::process_new_functions): Add IPA_SSA_AFTER_INLINING. (ipa_passes): Update call of remove_unreachable_nodes. (symbol_table::compile): Remove call of remove_unreachable_nodes. * ipa-inline.c (inline_small_functions): Do not ICE with -flto-partition=none (ipa_inline): Update symtab->state; fix formatting update call of remove_unreachable_nodes. * cgraphclones.c (symbol_table::materialize_all_clones): Likewise. * cgraph.h (enum symtab_state): Add IPA_SSA_AFTER_INLINING. (remove_unreachable_nodes): Update. * ipa.c (process_references): Keep external references only when optimizing. (walk_polymorphic_call_targets): Keep possible polymorphic call target only when devirtualizing. (symbol_table::remove_unreachable_nodes): Remove BEFORE_INLINING_P parameter. (ipa_single_use): Update comment. * ipa-pure-const.c (cdtor_p): New function. (propagate_pure_const): Track if some cdtor was turned pure/const. (execute): Return TODO_remove_functions if needed. * ipa-comdats.c (ipa_comdats): Update comment. * lto.c (read_cgraph_and_symbols): Update call of remove_unreachable_nodes. (do_whole_program_analysis): Remove call of symtab->remove_unreachable_nodes From-SVN: r218640
2014-12-11dwarf2out.c (gen_lexical_block_die): Remove unused `depth' parameter.Aldy Hernandez2-16/+24
* dwarf2out.c (gen_lexical_block_die): Remove unused `depth' parameter. (gen_inlined_subroutine_die): Same. (gen_block_die): Same. (decls_for_scope): Same. From-SVN: r218639
2014-12-113.cc: Only use a thread_local when __cxa_thread_atexit_impl is available.Jonathan Wakely2-0/+10
* testsuite/30_threads/condition_variable/members/3.cc: Only use a thread_local when __cxa_thread_atexit_impl is available. From-SVN: r218638
2014-12-11Move changelog entries from r218617 from gcc/ChangeLog to gcc/jit/ChangeLogDavid Malcolm2-18/+18
From-SVN: r218637
2014-12-11Document gccjit::context::set_str_optionDavid Malcolm3-148/+180
gcc/jit/ChangeLog: * docs/cp/topics/contexts.rst (gccjit::context::set_str_option): Document new function. * docs/_build/texinfo/libgccjit.texi: Regenerate. From-SVN: r218636
2014-12-11[AArch64]Use AARCH64_FL_FPSIMD flags for all cores in aarch64-cores.defRenlin Li3-8/+13
gcc/ 2014-12-11 Renlin Li <renlin.li@arm.com> * config/aarch64/aarch64-cores.def: Change all AARCH64_FL_FPSIMD to AARCH64_FL_FOR_ARCH8. * config/aarch64/aarch64.c (all_cores): Use FLAGS from aarch64-cores.def file only. From-SVN: r218635
2014-12-11re PR tree-optimization/42108 (50% performance regression)Richard Biener4-14/+29
2014-12-11 Richard Biener <rguenther@suse.de> PR tree-optimization/42108 * trans-stmt.c (gfc_trans_do): Execute the division computing countm1 before the loop entry check. * gfortran.dg/pr42108.f90: Amend. From-SVN: r218630
2014-12-11typeck.c (maybe_warn_about_useless_cast): Remove unnecessary conditional.Paolo Carlini2-6/+5
2014-12-11 Paolo Carlini <paolo.carlini@oracle.com> * typeck.c (maybe_warn_about_useless_cast): Remove unnecessary conditional. From-SVN: r218629
2014-12-11do_iterator.f90: Remove bogus dg-warning.Manuel López-Ibáñez1-1/+0
gcc/testsuite/ChangeLog: 2014-12-11 Manuel López-Ibáñez <manu@gcc.gnu.org> * gfortran.dg/do_iterator.f90: Remove bogus dg-warning. From-SVN: r218628
2014-12-11re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, ↵Manuel López-Ibáñez26-544/+730
!GCC$ diagnostic (pragmas) and color) gcc/ChangeLog: 2014-12-11 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * diagnostic.c (diagnostic_action_after_output): Make it extern. Take diagnostic_t argument instead of diagnostic_info. Count also DK_WERROR towards max_errors. (diagnostic_report_diagnostic): Update call according to the above. (error_recursion): Likewise. * diagnostic.h (diagnostic_action_after_output): Declare. * pretty-print.c (pp_formatted_text_data): Delete. (pp_append_r): Call output_buffer_append_r. (pp_formatted_text): Call output_buffer_formatted_text. (pp_last_position_in_text): Call output_buffer_last_position_in_text. * pretty-print.h (output_buffer_formatted_text): New. (output_buffer_append_r): New. (output_buffer_last_position_in_text): New. gcc/fortran/ChangeLog: 2014-12-11 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * error.c (pp_error_buffer): New static variable. (pp_warning_buffer): Make it a pointer. (gfc_output_buffer_empty_p): New. (gfc_error_init_1): Call gfc_buffer_error. (gfc_buffer_error): Do not use pp_warning_buffer.flush_p as the buffered_p flag. (gfc_clear_warning): Likewise. (gfc_warning_check): Call gfc_clear_warning. Only check the new pp_warning_buffer if the old warning_buffer was empty. Call diagnostic_action_after_output. (gfc_error_1): Renamed from gfc_error. (gfc_error): New. (gfc_clear_error): Clear also pp_error_buffer. (gfc_error_flag_test): Check also pp_error_buffer. (gfc_error_check): Likewise. Only check the new pp_error_buffer if the old error_buffer was empty. (gfc_move_output_buffer_from_to): New. (gfc_push_error): Use it here. Take also an output_buffer as argument. (gfc_pop_error): Likewise. (gfc_free_error): Likewise. (gfc_diagnostics_init): Use XNEW and placement-new to init pp_error_buffer and pp_warning_buffer. Set flush_p to false for both pp_warning_buffer and pp_error_buffer. * Update gfc_push_error, gfc_pop_error and gfc_free_error calls according to the above changes. * Use gfc_error_1 for all gfc_error calls that use multiple locations. * Use %qs instead of '%s' for many gfc_error calls. From-SVN: r218627
2014-12-11[AArch64] Fix usage of +no in error message for aarch64_parse_extensionKyrylo Tkachov2-1/+7
* config/aarch64/aarch64.c (aarch64_parse_extension): Update error message to say +no only when removing extension. From-SVN: r218626
2014-12-11gen-mul-tables.cc: Add insn-codes.h to include list for generator file.Andrew MacLeod4-0/+17
2014-12-11 Andrew MacLeod <amacleod@redhat.com> * config/tilepro/gen-mul-tables.cc: Add insn-codes.h to include list for generator file. Add comment indicating it is a generated file. * config/tilepro/mul-tables.c: Update generated file. * config/tilegx/mul-tables.c: Likewise. From-SVN: r218624
2014-12-11combine.c (try_combine): Do not allow combining a PARALLEL I2 with a ↵Segher Boessenkool2-0/+12
register move I3 if that I2 is an asm. * combine.c (try_combine): Do not allow combining a PARALLEL I2 with a register move I3 if that I2 is an asm. From-SVN: r218623
2014-12-11[ARM] Fix names of some rounding intrinsics, impement vrndx_f32 and vrndxq_f32Kyrylo Tkachov9-16/+95
* config/arm/arm_neon.h (vrndqn_f32): Rename to... (vrndnq_f32): ... this. (vrndqa_f32): Rename to... (vrndaq_f32): ... this. (vrndqp_f32): Rename to... (vrndpq_f32): ... this. (vrndqm_f32): Rename to... (vrndmq_f32): ... this. (vrndx_f32): New intrinsic. (vrndxq_f32): Likewise. * config/arm/arm_neon.h (vrndqn_f32): Rename to... (vrndnq_f32): ... this. (vrndqa_f32): Rename to... (vrndaq_f32): ... this. (vrndqp_f32): Rename to... (vrndpq_f32): ... this. (vrndqm_f32): Rename to... (vrndmq_f32): ... this. (vrndx_f32): New intrinsic. (vrndxq_f32): Likewise. From-SVN: r218622
2014-12-11fold-const.c (fold_negate_expr): Add ANY_INTEGRAL_TYPE_P check.Marek Polacek7-20/+87
* fold-const.c (fold_negate_expr): Add ANY_INTEGRAL_TYPE_P check. (extract_muldiv_1): Likewise. (maybe_canonicalize_comparison_1): Likewise. (fold_comparison): Likewise. (tree_binary_nonnegative_warnv_p): Likewise. (tree_binary_nonzero_warnv_p): Likewise. * gimple-ssa-strength-reduction.c (legal_cast_p_1): Likewise. * tree-scalar-evolution.c (simple_iv): Likewise. (scev_const_prop): Likewise. * tree-ssa-loop-niter.c (expand_simple_operations): Likewise. * tree-vect-generic.c (expand_vector_operation): Likewise. * tree.h (ANY_INTEGRAL_TYPE_CHECK): Define. (ANY_INTEGRAL_TYPE_P): Define. (TYPE_OVERFLOW_WRAPS, TYPE_OVERFLOW_UNDEFINED, TYPE_OVERFLOW_TRAPS): Add ANY_INTEGRAL_TYPE_CHECK. (any_integral_type_check): New function. From-SVN: r218621
2014-12-11[testsuite][1/2] Move ${tool}_check_unsupported_p into separate fileKyrylo Tkachov9-49/+67
* lib/target-utils.exp: New file. * lib/gcc-defs.exp (${tool}_check_unsupported_p): Delete. Include target-utils.exp. * lib/objc.exp: Likewise. * lib/mike-gcc.exp: Load target-utils.exp. * lib/mike-g++.exp: Likewise. * lib/go-torture.exp: Likewise. * lib/fortran-torture.exp: Likewise. * lib/c-torture.exp: Likewise. From-SVN: r218620
2014-12-11diagnostic.c (get_terminal_width): Renamed fromTobias Burnus7-52/+50
2014-12-11 Tobias Burnus <burnus@net-b.de> Manuel López-Ibáñez <manu@gcc.gnu.org> gcc/ * diagnostic.c (get_terminal_width): Renamed from * getenv_columns, removed static, and additionally use ioctl to get width. (diagnostic_set_caret_max_width): Update call. * diagnostic.h (get_terminal_width): Add prototype. * opts.c (print_specific_help): Use it for x_help_columns. * doc/invoke.texi (fdiagnostics-show-caret): Document how the width is set. gcc/fortran/ * error.c (gfc_get_terminal_width): Renamed from get_terminal_width and use same-named common function. (gfc_error_init_1): Update call. Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org> From-SVN: r218619
2014-12-11xvasprintf.c: New file.Uros Bizjak11-86/+272
* xvasprintf.c: New file. * vprintf-support.h: Likewise. * vprintf-support.c: Likewise. * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c. (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext). (vprintf-support.$(objext), xvasprintf.$(objext)): New targets. (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h. * functions.texi: Regenerate. * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size. include/ChangeLog: * libiberty.h (xvasprintf): Declare. libcpp/ChangeLog: * directives.c (cpp_define_formatted): Use xvasprintf. Co-Authored-By: Ben Elliston <bje@au.ibm.com> Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org> From-SVN: r218618
2014-12-11Minor interface cleanups of libgccjitUlrich Drepper6-45/+79
Minor interface cleanups of libgccjit * jit/jit-playback.c (convert_to_dso): Use auto_vec instead of automatic array to build up command line. * jit/jit-recording.c (recording::context::set_str_option): Make copy of the string. (recording::context::~context): Free string options. * jit/jit-recording.h (recording::context): Adjust type of m_str_options member. * jit/libgccjit.h: Adjust comment about gcc_jit_context_set_str_option parameter begin used after the call. Update comment now that all interfaces are copy strings if necessary. * jit/libgccjit++.h (gccjit::context): Add set_str_option member function. From-SVN: r218617
2014-12-11Daily bump.GCC Administrator1-1/+1
From-SVN: r218616
2014-12-10gdbhooks.py (class DWDieRefPrinter): New class.Aldy Hernandez2-0/+27
* gdbhooks.py (class DWDieRefPrinter): New class. (build_pretty_printer): Register dw_die_ref's. From-SVN: r218612
2014-12-11Add march=knl.Ilya Tocar10-27/+83
gcc/ * config.gcc: Support "knl". * config/i386/driver-i386.c (host_detect_local_cpu): Detect "knl". * config/i386/i386-c.c (ix86_target_macros_internal): Handle PROCESSOR_KNL. * config/i386/i386.c (m_KNL): Define. (processor_target_table): Add "knl". (PTA_KNL): Define. (ix86_issue_rate): Add PROCESSOR_KNL. (ix86_adjust_cost): Ditto. (ia32_multipass_dfa_lookahead): Ditto. (get_builtin_code_for_version): Handle "knl". (fold_builtin_cpu): Ditto. * config/i386/i386.h (TARGET_KNL): Define. (processor_type): Add PROCESSOR_KNL. * config/i386/i386.md (attr "cpu"): Add knl. * config/i386/x86-tune.def: Add m_KNL. gcc/testsuite/ * gcc.target/i386/funcspec-5.c: Test avx512f and knl. From-SVN: r218610