1. 25 Mar, 2018 8 commits
  2. 24 Mar, 2018 4 commits
    • re PR fortran/70068 (ICE: out of memory on involving empty substring) · 335d0338
      2018-03-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/70068
      	* expr.c (find_substring_ref): Change types of start, end
      	and length variables to gfc_charlen_t. Set length to zero
      	for empty substring.
      
      2018-03-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/70068
      	* gfortran.dg/substr_7.f90: New test.
      
      From-SVN: r258835
      Thomas Koenig committed
    • re PR fortran/42651 (Functions with result: Wrongly accepts attributes to function name) · ba77f7ba
      2018-03-24  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/42651
      	* decl.c (check_function_name): Improved error message
      	(gfc_match_volatile, gfc_match_asynchronous) Use check_function_name.
      
      2018-03-24  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/42651
      	* gfortran.dg/pr42651.f90: New test.
      	* gfortran.dg/func_result_7.f90: Update error message.
      
      From-SVN: r258834
      Steven G. Kargl committed
    • Use SCEV information when aligning for vectorisation (PR 84005) · a199d5e7
      This PR is another regression caused by the removal of the simple_iv
      check in dr_analyze_innermost for BB analysis.  Without splitting out
      the step, we weren't able to find an underlying object whose alignment
      could be increased.
      
      As with PR81635, I think the simple_iv was only handling one special
      case of something that ought to be more general.  The more general
      thing here is that if the address can be analysed as a scalar
      evolution, and if all updates preserve alignment N, it's possible
      to align the address to N by increasing the alignment of the base
      object to N.  That applies also to outer loops, and to both loop
      and BB analysis.
      
      I wasn't sure where the new functions ought to live, but tree-data-ref.c
      seemed OK since (a) that already does scev analysis on addresses and
      (b) you'd want to use dr_analyze_innermost first if you were analysing
      a reference.
      
      2018-03-24  Richard Sandiford  <richard.sandiford@linaro.org>
      
      gcc/
      	PR tree-optimization/84005
      	* tree-data-ref.h (get_base_for_alignment): Declare.
      	* tree-data-ref.c (get_base_for_alignment_1): New function.
      	(get_base_for_alignment): Likewise.
      	* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use
      	get_base_for_alignment to find a suitable base object, instead
      	of always using drb->base_address.
      
      gcc/testsuite/
      	PR tree-optimization/84005
      	* gcc.dg/vect/bb-slp-1.c: Make sure there is no message about
      	failing to force the alignment.
      
      From-SVN: r258833
      Richard Sandiford committed
    • Daily bump. · 19efbf0f
      From-SVN: r258831
      GCC Administrator committed
  3. 23 Mar, 2018 26 commits
  4. 22 Mar, 2018 2 commits
    • re PR fortran/84922 (fortran reports inconsistency in rank of arguments in… · b74fa126
      re PR fortran/84922 (fortran reports inconsistency in rank of arguments in interface and contained procedures)
      
      2018-03-22  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/84922
      	* decl.c (get_proc_name): If the MODULE prefix appears in interface
      	body, then it must appear on the contained subroutine or function.
      	While here, fix nearby mis-indented code.
      
      2018-03-22  Steven G. Kargl  <kargl@gcc.gnu.org
      
      	PR fortran/84922
      	* gfortran.dg/interface_42.f90: New test.
      	* gfortran.dg/interface_43.f90: New test.
      
      From-SVN: r258784
      Steven G. Kargl committed
    • rs6000-builtin.def: Remove various BU_ALTIVEC_X macro expansions for definition of... · 0bf86d46
      gcc/ChangeLog:
      
      2018-03-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>
      
      	* config/rs6000/rs6000-builtin.def: Remove various BU_ALTIVEC_X
      	macro expansions for definition of ST_INTERNAL_<mode> and
      	LD_INTERNAL_<mode> builtins.
      	* config/rs6000/rs6000-protos.h (rs6000_address_for_altivec):
      	Remove prototype.
      	* config/rs6000/rs6000.c (altivec_expand_ld_builtin): Delete this
      	function.
      	(altivec_expand_st_builtin): Likewise.
      	(altivec_expand_builtin): Remove calls to deleted functions.
      	(rs6000_address_for_altivec): Delete this function.
      	* config/rs6000/vector.md: Remove expands for
      	vector_altivec_load_<mode> and vector_altivec_store_<mode>.
      
      From-SVN: r258783
      Kelvin Nilsen committed