summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.gccadmin2016-02-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233441 138bc75d-0d04-0410-961f-82ee72b054a4
* [RS6000] reload_vsx_from_gprsf splitteramodra2016-02-153-53/+61
| | | | | | | | | | | | | | | | | | | | | | | | | This is PR68973 part 2, caused by the reload_vsx_from_gprsf splitter emitting an invalid move. The patch also fixes uses of TFmode, which cannot now be assumed to be IBM double-double. PR target/68973 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter. (p8_mtvsrd_df, p8_mtvsrd_sf): New. (p8_mtvsrd_1, p8_mtvsrd_2): Delete. (p8_mtvsrwz): New. (p8_mtvsrwz_1, p8_mtvsrwz_2): Delete. (p8_xxpermdi_<mode>): Take two DF inputs rather than one TF. (p8_fmrgow_<mode>): Likewise. (reload_vsx_from_gpr<mode>): Make clobber IF. Adjust for above changes. (reload_fpr_from_gpr<mode>): Similarly. Use "d" for op0 constraint. (reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting to use movdi_internal64. Remove op0_di. * config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233438 138bc75d-0d04-0410-961f-82ee72b054a4
* * sv.po: Update.jsm282016-02-152-141/+145
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233437 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-155-64/+208
| | | | | | | | | | | | | | | | | | | | | PR libgfortran/69651 * io/list_read.c: Entire file trailing spaces removed. (CASE_SEPARATORS): Remove '!'. (is_separator): Add namelist mode as condition with '!'. (push_char): Remove un-needed memset. (push_char4): Likewise and remove 'new' pointer. (eat_separator): Remove un-needed use of notify_std. (read_logical): If '!' bang encountered when not in namelist mode got bad_logical to give an error. (read_integer): Likewise reject '!'. (read_character): Remove condition testing c = '!' which is now inside the is_separator macro. (parse_real): Reject '!' unless in namelist mode. (read_complex): Reject '!' unless in namelist mode. (read_real): Likewise reject '!'. PR libgfortran/69651 * gfortran.dg/read_bang.f90: New test. * gfortran.dg/read_bang4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233436 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/69658jakub2016-02-154-4/+20
| | | | | | | | | | * init.c (expand_default_init): Only call reshape_init in the direct-initialization from an initializer list case. * g++.dg/init/pr69658.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233435 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/69797jakub2016-02-154-1/+20
| | | | | | | | | | * c-common.c (sync_resolve_size): Diagnose too few arguments even when params is non-NULL empty vector. * c-c++-common/pr69797.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233434 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for the FCCMP insn typesevandro2016-02-158-7/+29
| | | | | | | | | | | | | | | | | 2016-01-21 Evandro Menezes <e.menezes@samsung.com> gcc/ * config/aarch64/aarch64.md (fccmp): Change insn type. (fccmpe): Likewise. * config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types. * config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise. * config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise. * config/arm/xgene1.md (xgene1_fcmp): Likewise. * config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation. * config/arm/types.md (fccmps): Add new insn type. (fccmpd): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233432 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/69753jason2016-02-159-56/+64
| | | | | | | | | | | | | * search.c (any_dependent_bases_p): Split out... * name-lookup.c (do_class_using_decl): ...from here. * call.c (build_new_method_call_1): Don't complain about missing object if there are dependent bases. Tweak error. * tree.c (non_static_member_function_p): Remove. * pt.c (type_dependent_expression_p): A member template of a dependent type is dependent. * cp-tree.h: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233431 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/68890jason2016-02-153-1/+25
| | | | | | * constexpr.c (verify_ctor_sanity): Remove CONSTRUCTOR_NELTS check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233430 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c (get_alias_set): Fix a typo in comment.edlinger2016-02-152-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233428 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>prathamesh34922016-02-152-1/+7
| | | | | | | | | | testsuite/ * lib/target-supports.exp (check_effective_target_section_anchors): Add check for aarch64*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233426 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-15 Richard Biener <rguenther@suse.de>rguenth2016-02-152-2/+7
| | | | | | | | PR tree-optimization/69595 * match.pd: Complete range test simplification to true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233425 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid removing sets of a pseudo PIC register in LRA.bernds2016-02-152-1/+7
| | | | | | | | | | PR rtl-optimization/69648 * lra-constraints.c (update_ebb_live_info): Don't remove sets of pic_offset_table_rtx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233424 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't make something with an autoinc an equivalencing insn (PR69752).bernds2016-02-152-1/+8
| | | | | | | | | PR rtl-optimization/69752 * ira.c (update_equiv_regs): When looking for more than a single SET, also take other side effects into account. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233423 138bc75d-0d04-0410-961f-82ee72b054a4
* S/390: New mcount call sequence for z900+ CPUs in 31-bit mode.krebbel2016-02-152-0/+12
| | | | | | | | | | | | | gcc/ChangeLog: 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net> * config/s390/s390.c (s390_function_profiler): Add a new sequence for z900+ CPUs in 31-bit mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233422 138bc75d-0d04-0410-961f-82ee72b054a4
* S/390: Add -fsplit-stack supportkrebbel2016-02-1510-7/+1018
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libgcc/ChangeLog: * config.host: Use t-stack and t-stack-s390 for s390*-*-linux. * config/s390/morestack.S: New file. * config/s390/t-stack-s390: New file. * generic-morestack.c (__splitstack_find): Add s390-specific code. gcc/ChangeLog: * common/config/s390/s390-common.c (s390_supports_split_stack): New function. (TARGET_SUPPORTS_SPLIT_STACK): New macro. * config/s390/s390-protos.h: Add s390_expand_split_stack_prologue. * config/s390/s390.c (struct machine_function): New field split_stack_varargs_pointer. (s390_register_info): Mark r12 as clobbered if it'll be used as temp in s390_emit_prologue. (s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack vararg pointer. (morestack_ref): New global. (SPLIT_STACK_AVAILABLE): New macro. (s390_expand_split_stack_prologue): New function. (s390_live_on_entry): New function. (s390_va_start): Use split-stack vararg pointer if appropriate. (s390_asm_file_end): Emit the split-stack note sections. (TARGET_EXTRA_LIVE_ON_ENTRY): New macro. * config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec. (UNSPECV_SPLIT_STACK_CALL): New unspec. (UNSPECV_SPLIT_STACK_DATA): New unspec. (split_stack_prologue): New expand. (split_stack_space_check): New expand. (split_stack_data): New insn. (split_stack_call): New expand. (split_stack_call_*): New insn. (split_stack_cond_call): New expand. (split_stack_cond_call_*): New insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233421 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-15 Richard Biener <rguenther@suse.de>rguenth2016-02-154-22/+96
| | | | | | | | | | | PR tree-optimization/69783 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Add trivially correct cases. * gcc.dg/vect/pr69783.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233420 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't mark offload symbols with force_output in ltransvries2016-02-155-5/+20
| | | | | | | | | | | | | | 2016-02-15 Tom de Vries <tom@codesourcery.com> PR lto/69655 * lto-cgraph.c (input_offload_tables): Add and handle bool parameter do_force_output. * lto-streamer.h (input_offload_tables): Add and handle bool parameter. * lto.c (read_cgraph_and_symbols): Call input_offload_tables with argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233419 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-15 Richard Biener <rguenther@suse.de>rguenth2016-02-156-8/+57
| | | | | | | | | | | | | | | | | | PR tree-optimization/69776 * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype. * tree-ssa-sccvn.c (vn_reference_lookup): Add parameter to indicate whether we can use TBAA to disambiguate against stores. Use alias-set zero if not. (visit_reference_op_store): Do not use TBAA when looking up redundant stores. * tree-ssa-pre.c (compute_avail): Use TBAA here. (eliminate_dom_walker::before_dom_children): But not when looking up redundant stores. * gcc.dg/torture/pr69776.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233418 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2016-02-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233417 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New.danglin2016-02-142-0/+44
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233414 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-14 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2016-02-144-0/+48
| | | | | | | | | | | | | | | | | | PR fortran/60526 * decl.c (build_sym): If the name has already been defined as a type, it has a symtree with an upper case letter at the beginning. If such a symtree exists, issue an error and exit. Don't do this if there is no corresponding upper case letter. 2016-02-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/60526 * gfortran.dg/type_decl_4.f90: Reinstated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233413 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/68746danglin2016-02-142-1/+6
| | | | | | | | * gfortran.dg/read_dir.f90: Xfail on hppa*-*-hpux*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233412 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-14 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2016-02-144-27/+12
| | | | | | | | | | | | | | | | | PR fortran/60526 PR bootstrap/69816 * decl.c (build_sym): Reverted previous patch. 2016-02-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/60526 PR bootstrap/69816 * gfortran.dg/type_decl_4.f90: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233411 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-14 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2016-02-144-0/+38
| | | | | | | | | | | | | | | PR fortran/60526 * decl.c (build_sym): If the name has already been defined as a type, issue error and return false. 2016-02-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/60526 * gfortran.dg/type_decl_4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233410 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix some pipe reservations in znver1.mdvekumar2016-02-142-9/+60
| | | | | | | | | | | | | | | | | | * config/i386/znver1.md (znver1_pop, znver1_pop_mem, znver1_load_imov_double_store, znver1_load_imov_direct_store, znver1_load_imov_direct_load, znver1_load_imov_double_load): Add new. (znver1_insn, znver1_insn_load): Add icmov type. (znver1_sseavx_fma, znver1_sseavx_fma_load, znver1_avx256_fma, znver1_avx256_fma_load): Fix pipe usage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233409 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing pr numberamodra2016-02-141-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233408 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct c-torture stkalign testamodra2016-02-142-3/+24
| | | | | | | | | | | | The test wrongly assumed that a local var will normally not be 64-bit aligned, causing it to fail on many targets. So the test needs to pass if a local var *is* normally 64-bit aligned. * gcc.c-torture/execute/stkalign.c: Revise test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233407 138bc75d-0d04-0410-961f-82ee72b054a4
* PRE_INC with invalid hard regamodra2016-02-142-5/+14
| | | | | | | | | | | PR target/68973 * reloads.c (find_reloads_address_1): For pre/post-inc/dec with an invalid hard reg, reload just the reg not the entire pre/post-inc/dec address expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233406 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2016-02-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233405 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/olegendo2016-02-132-1/+6
| | | | | | | | | PR target/67260 * gcc.target/sh/torture/pr67260.c: Adjust additional options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233400 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/olegendo2016-02-134-2/+36
| | | | | | | | | | | | | | | PR target/67260 * config/sh/sh.md (sibcall_value_pcrel): Replace =&k scratch reg with fixed R1_REG scratch reg. (sibcall_value_pcrel_fdpic): Likewise. gcc/testsuite/ PR target/67260 * gcc.target/sh/torture/pr67260.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233399 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr67964.c: Add dg-require-alias.danglin2016-02-132-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233398 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/olegendo2016-02-134-4/+40
| | | | | | | | | | | | | | | PR target/67636 PR target/64345 * config/sh/sh.md (*zero_extract_3): New insn_and_split pattern. gcc/testsuite/ PR target/67636 PR target/64345 * gcc.target/sh/pr54236-1.c: Adjust optimization level. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233397 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2016-02-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233396 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: For c-archive/c-shared, install signal handlers synchronously.ian2016-02-125-6/+16
| | | | | | | | | | | | | | | This is a port of https://golang.org/cl/18150 to the gccgo runtime. The previous behaviour of installing the signal handlers in a separate thread meant that Go initialization raced with non-Go initialization if the non-Go initialization also wanted to install signal handlers. Make installing signal handlers synchronous so that the process-wide behavior is predictable. Reviewed-on: https://go-review.googlesource.com/19494 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233393 138bc75d-0d04-0410-961f-82ee72b054a4
* * eo.po: Update.jsm282016-02-122-8/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233392 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix FAIL: special_functions/18_riemann_zeta/check_value.cc (test for excess ↵mrs2016-02-121-4/+1
| | | | | | errors) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233391 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:walt2016-02-123-3/+9
| | | | | | | | | | * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD. * config/tilegx/t-tilegx: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233390 138bc75d-0d04-0410-961f-82ee72b054a4
* libgcc/ChangeLog:walt2016-02-122-1/+9
| | | | | | | | | * config.host (tilegx*-*-linux*): remove ti from softfp_int_modes for 32-bit configs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233389 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-122-0/+34
| | | | | | | PR libgfortran/69668 * gfortran.dg/namelist_88.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233388 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-125-23/+22
| | | | | | | | | | | PR libgfortran/69668 * io/list_read.c (read_character): Remove code related to DELIM_NONE. PR libgfortran/69668 * gfortran.dg/namelist_38.f90: Update test. * gfortran.dg/namelist_84.f90: Update test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233387 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/69554: avoid excessive source printing for widely-separated locationsdmalcolm2016-02-1212-41/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: PR other/69554 * diagnostic-show-locus.c (struct line_span): New struct. (layout::get_first_line): Delete. (layout::get_last_line): Delete. (layout::get_num_line_spans): New member function. (layout::get_line_span): Likewise. (layout::print_heading_for_line_span_index_p): Likewise. (layout::get_expanded_location): Likewise. (layout::calculate_line_spans): Likewise. (layout::m_first_line): Delete. (layout::m_last_line): Delete. (layout::m_line_spans): New field. (layout::layout): Update comment. Replace m_first_line and m_last_line with m_line_spans, replacing their initialization with a call to calculate_line_spans. (diagnostic_show_locus): When printing source lines and annotations, rather than looping over a single span of lines, instead loop over each line_span within the layout, with an inner loop over the lines within them. Call the context's start_span callback when changing line spans. * diagnostic.c (diagnostic_initialize): Initialize start_span. (diagnostic_build_prefix): Break out the building of the location part of the string into... (diagnostic_get_location_text): ...this new function, rewriting it from nested ternary expressions to a sequence of "if" statements. (default_diagnostic_start_span_fn): New function. * diagnostic.h (diagnostic_start_span_fn): New typedef. (diagnostic_context::start_span): New field. (default_diagnostic_start_span_fn): New prototype. gcc/fortran/ChangeLog: PR other/69554 * error.c (gfc_diagnostic_start_span): New function. (gfc_diagnostics_init): Initialize global_dc's start_span. gcc/testsuite/ChangeLog: PR other/69554 * gcc.dg/pr69554-1.c: New test. * gfortran.dg/pr69554-1.F90: New test. * gfortran.dg/pr69554-2.F90: New test. * lib/gcc-dg.exp (proc dg-locus): New function. * lib/gfortran-dg.exp (proc gfortran-dg-test): Update comment to distinguish between the caret-printing and non-caret-printing cases. If caret-printing has been explicitly enabled, bail out without attempting to fix up the output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233386 138bc75d-0d04-0410-961f-82ee72b054a4
* PR driver/69779: fix bogus cleanup code used by libgccjit affecting s390xdmalcolm2016-02-122-2/+19
| | | | | | | | | | gcc/ChangeLog: PR driver/69779 * gcc.c (driver::finalize): Fix cleanup of "specs". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233385 138bc75d-0d04-0410-961f-82ee72b054a4
* PR driver/69265 and 69453: improved suggestions for various misspelled optionsdmalcolm2016-02-1217-35/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: PR driver/69265 PR driver/69453 * gcc.c (driver::driver): Initialize m_option_suggestions. (driver::~driver): Clean up m_option_suggestions. (suggest_option): Convert to... (driver::suggest_option): ...this, and split out into driver::build_option_suggestions and find_closest_string. (driver::build_option_suggestions): New function, from first half of suggest_option. Special-case OPT_fsanitize_ and OPT_fsanitize_recover_, making use of the sanitizer_opts array. For options of enum types, add the various enum values to the candidate strings. (driver::handle_unrecognized_options): Remove "const". * gcc.h (driver::handle_unrecognized_options): Likewise. (driver::build_option_suggestions): New decl. (driver::suggest_option): New decl. (driver::m_option_suggestions): New field. * opts-common.c (add_misspelling_candidates): New function. * opts.c (sanitizer_opts): Remove decl of struct sanitizer_opts_s and make non-static. * opts.h (sanitizer_opts): New array decl. (add_misspelling_candidates): New function decl. * spellcheck.c (find_closest_string): New function. * spellcheck.h (find_closest_string): New function decl. gcc/testsuite/ChangeLog: PR driver/69265 PR driver/69453 * gcc.dg/spellcheck-options-3.c: New test case. * gcc.dg/spellcheck-options-4.c: New test case. * gcc.dg/spellcheck-options-5.c: New test case. * gcc.dg/spellcheck-options-6.c: New test case. * gcc.dg/spellcheck-options-7.c: New test case. * gcc.dg/spellcheck-options-8.c: New test case. * gcc.dg/spellcheck-options-9.c: New test case. * gcc.dg/spellcheck-options-10.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233382 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/69764jakub2016-02-125-1/+72
| | | | | | | | | | | | PR rtl-optimization/69771 * optabs.c (expand_binop_directly): For shift_optab_p, force convert_modes with VOIDmode if xop1 has VOIDmode. * c-c++-common/pr69764.c: New test. * gcc.dg/torture/pr69771.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233381 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/torture/init-list1.C: New.mpolacek2016-02-122-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233380 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr69522.c: Add empty dg-options.mpolacek2016-02-122-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233377 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ienkovich2016-02-125-1/+50
| | | | | | | | | | | | | | PR target/69729 * lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args to correctly determine instrumentation thunks. gcc/testsuite/ * g++.dg/lto/lto.exp: Include and init mpx. * g++.dg/lto/pr69729_0.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233376 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ipa/69241jakub2016-02-124-1/+74
| | | | | | | | | | * ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE type by reference, force lhs on the call. * g++.dg/ipa/pr69241-4.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233375 138bc75d-0d04-0410-961f-82ee72b054a4