1. 15 Feb, 2016 12 commits
  2. 14 Feb, 2016 10 commits
  3. 13 Feb, 2016 5 commits
  4. 12 Feb, 2016 13 commits
    • runtime: For c-archive/c-shared, install signal handlers synchronously. · 54c9c975
          
          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
      
      From-SVN: r233393
      Ian Lance Taylor committed
    • * eo.po: Update. · 37064e3d
      From-SVN: r233392
      Joseph Myers committed
    • t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD. · 77602f8b
      gcc/ChangeLog:
              * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with
                CXX_FOR_BUILD.
              * config/tilegx/t-tilegx: Likewise.
      
      From-SVN: r233390
      Walter Lee committed
    • config.host (tilegx*-*-linux*): remove ti from softfp_int_modes for 32-bit configs. · b29d9a29
      libgcc/ChangeLog:
              * config.host (tilegx*-*-linux*): remove ti from
                softfp_int_modes for 32-bit configs.
      
      From-SVN: r233389
      Walter Lee committed
    • re PR fortran/69668 (Error reading namelist opened with DELIM='NONE') · 7f4cc3ce
      2016-02-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/69668
      	* gfortran.dg/namelist_88.f90: New test.
      
      From-SVN: r233388
      Jerry DeLisle committed
    • re PR fortran/69668 (Error reading namelist opened with DELIM='NONE') · 955ca6dc
      2016-02-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	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.
      
      From-SVN: r233387
      Jerry DeLisle committed
    • PR other/69554: avoid excessive source printing for widely-separated locations · 876217ae
      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.
      
      From-SVN: r233386
      David Malcolm committed
    • PR driver/69779: fix bogus cleanup code used by libgccjit affecting s390x · 8dccd19b
      gcc/ChangeLog:
      	PR driver/69779
      	* gcc.c (driver::finalize): Fix cleanup of "specs".
      
      From-SVN: r233385
      David Malcolm committed
    • PR driver/69265 and 69453: improved suggestions for various misspelled options · 61789eed
      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.
      
      From-SVN: r233382
      David Malcolm committed
    • re PR rtl-optimization/69764 (ICE on x86_64-linux-gnu at -O0 (in decompose, at rtl.h:2107)) · c3090c1f
      	PR rtl-optimization/69764
      	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.
      
      From-SVN: r233381
      Jakub Jelinek committed
    • * g++.dg/torture/init-list1.C: New. · 8222034d
      From-SVN: r233380
      Marek Polacek committed
    • * gcc.dg/pr69522.c: Add empty dg-options. · f749f792
      From-SVN: r233377
      Marek Polacek committed