1. 01 Jan, 2019 7 commits
  2. 31 Dec, 2018 8 commits
    • re PR target/86814 (xtensa port needs updating for CVE-2017-5753) · c6579387
      PR target/86814
      
      Xtensa architecture is not affected by speculation.
      
      gcc/
      2018-12-31  Max Filippov  <jcmvbkbc@gmail.com>
      
      	* config/xtensa/xtensa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
      	Define to speculation_safe_value_not_needed.
      
      From-SVN: r267488
      Max Filippov committed
    • re PR fortran/82995 (Segmentation fault passing optional argument to intrinsic sum function) · 2ea47ee9
      2018-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/82995
      	* trans-expr.c (gfc_conv_procedure_call):  Pass NULL pointer
      	for missing optional dummy arguments for library routines.
      	* trans-intinsic.c (conv_mask_condition): New function.
      	(gfc_conv_intrinsic_arith): Detect and handle optional mask.
      	(gfc_conv_intrinsic_minmaxloc): Likewise.
      	(gfc_conv_intrinsic_findloc): Likewise.
      	(gfc_conv_intrinsic_minmaxval): Likewise.
      	(gfc_inline_intrinsic_function_p): Do not inline for rank > 1 if
      	an optional mask is present.
      
      2018-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/82995
              * m4/ifindloc0.m4: Handle case of absend optional argument, passed
      	as a NULL pointer.  Correct allocation of retarray->base_addr.
              * m4/ifindloc1.m4: Likewise.
              * m4/ifindloc2.m4: Handle case of absend optional argument, passed
      	as a NULL pointer.
              * m4/iforeach-s.m4: Likewise.
              * m4/iforeach-s2.m4: Likewise.
              * m4/iforeach.m4: Likewise.
              * m4/ifunction-s.m4: Likewise.
              * m4/ifunction-s2.m4: Likewise.
              * m4/ifunction.m4: Likewise.
              * generated/findloc0_c16.c: Regenerated.
              * generated/findloc0_c4.c: Regenerated.
              * generated/findloc0_c8.c: Regenerated.
              * generated/findloc0_i1.c: Regenerated.
              * generated/findloc0_i16.c: Regenerated.
              * generated/findloc0_i2.c: Regenerated.
              * generated/findloc0_i4.c: Regenerated.
              * generated/findloc0_i8.c: Regenerated.
              * generated/findloc0_r16.c: Regenerated.
              * generated/findloc0_r4.c: Regenerated.
              * generated/findloc0_r8.c: Regenerated.
              * generated/findloc0_s1.c: Regenerated.
              * generated/findloc0_s4.c: Regenerated.
              * generated/findloc1_c16.c: Regenerated.
              * generated/findloc1_c4.c: Regenerated.
              * generated/findloc1_c8.c: Regenerated.
              * generated/findloc1_i1.c: Regenerated.
              * generated/findloc1_i16.c: Regenerated.
              * generated/findloc1_i2.c: Regenerated.
              * generated/findloc1_i4.c: Regenerated.
              * generated/findloc1_i8.c: Regenerated.
              * generated/findloc1_r16.c: Regenerated.
              * generated/findloc1_r4.c: Regenerated.
              * generated/findloc1_r8.c: Regenerated.
              * generated/findloc1_s1.c: Regenerated.
              * generated/findloc1_s4.c: Regenerated.
              * generated/findloc2_s1.c: Regenerated.
              * generated/findloc2_s4.c: Regenerated.
              * generated/iall_i1.c: Regenerated.
              * generated/iall_i16.c: Regenerated.
              * generated/iall_i2.c: Regenerated.
              * generated/iall_i4.c: Regenerated.
              * generated/iall_i8.c: Regenerated.
              * generated/iany_i1.c: Regenerated.
              * generated/iany_i16.c: Regenerated.
              * generated/iany_i2.c: Regenerated.
              * generated/iany_i4.c: Regenerated.
              * generated/iany_i8.c: Regenerated.
              * generated/iparity_i1.c: Regenerated.
              * generated/iparity_i16.c: Regenerated.
              * generated/iparity_i2.c: Regenerated.
              * generated/iparity_i4.c: Regenerated.
              * generated/iparity_i8.c: Regenerated.
              * generated/maxloc0_16_i1.c: Regenerated.
              * generated/maxloc0_16_i16.c: Regenerated.
              * generated/maxloc0_16_i2.c: Regenerated.
              * generated/maxloc0_16_i4.c: Regenerated.
              * generated/maxloc0_16_i8.c: Regenerated.
              * generated/maxloc0_16_r10.c: Regenerated.
              * generated/maxloc0_16_r16.c: Regenerated.
              * generated/maxloc0_16_r4.c: Regenerated.
              * generated/maxloc0_16_r8.c: Regenerated.
              * generated/maxloc0_16_s1.c: Regenerated.
              * generated/maxloc0_16_s4.c: Regenerated.
              * generated/maxloc0_4_i1.c: Regenerated.
              * generated/maxloc0_4_i16.c: Regenerated.
              * generated/maxloc0_4_i2.c: Regenerated.
              * generated/maxloc0_4_i4.c: Regenerated.
              * generated/maxloc0_4_i8.c: Regenerated.
              * generated/maxloc0_4_r10.c: Regenerated.
              * generated/maxloc0_4_r16.c: Regenerated.
              * generated/maxloc0_4_r4.c: Regenerated.
              * generated/maxloc0_4_r8.c: Regenerated.
              * generated/maxloc0_4_s1.c: Regenerated.
              * generated/maxloc0_4_s4.c: Regenerated.
              * generated/maxloc0_8_i1.c: Regenerated.
              * generated/maxloc0_8_i16.c: Regenerated.
              * generated/maxloc0_8_i2.c: Regenerated.
              * generated/maxloc0_8_i4.c: Regenerated.
              * generated/maxloc0_8_i8.c: Regenerated.
              * generated/maxloc0_8_r10.c: Regenerated.
              * generated/maxloc0_8_r16.c: Regenerated.
              * generated/maxloc0_8_r4.c: Regenerated.
              * generated/maxloc0_8_r8.c: Regenerated.
              * generated/maxloc0_8_s1.c: Regenerated.
              * generated/maxloc0_8_s4.c: Regenerated.
              * generated/maxloc1_16_i1.c: Regenerated.
              * generated/maxloc1_16_i16.c: Regenerated.
              * generated/maxloc1_16_i2.c: Regenerated.
              * generated/maxloc1_16_i4.c: Regenerated.
              * generated/maxloc1_16_i8.c: Regenerated.
              * generated/maxloc1_16_r10.c: Regenerated.
              * generated/maxloc1_16_r16.c: Regenerated.
              * generated/maxloc1_16_r4.c: Regenerated.
              * generated/maxloc1_16_r8.c: Regenerated.
              * generated/maxloc1_16_s1.c: Regenerated.
              * generated/maxloc1_16_s4.c: Regenerated.
              * generated/maxloc1_4_i1.c: Regenerated.
              * generated/maxloc1_4_i16.c: Regenerated.
              * generated/maxloc1_4_i2.c: Regenerated.
              * generated/maxloc1_4_i4.c: Regenerated.
              * generated/maxloc1_4_i8.c: Regenerated.
              * generated/maxloc1_4_r10.c: Regenerated.
              * generated/maxloc1_4_r16.c: Regenerated.
              * generated/maxloc1_4_r4.c: Regenerated.
              * generated/maxloc1_4_r8.c: Regenerated.
              * generated/maxloc1_4_s1.c: Regenerated.
              * generated/maxloc1_4_s4.c: Regenerated.
              * generated/maxloc1_8_i1.c: Regenerated.
              * generated/maxloc1_8_i16.c: Regenerated.
              * generated/maxloc1_8_i2.c: Regenerated.
              * generated/maxloc1_8_i4.c: Regenerated.
              * generated/maxloc1_8_i8.c: Regenerated.
              * generated/maxloc1_8_r10.c: Regenerated.
              * generated/maxloc1_8_r16.c: Regenerated.
              * generated/maxloc1_8_r4.c: Regenerated.
              * generated/maxloc1_8_r8.c: Regenerated.
              * generated/maxloc1_8_s1.c: Regenerated.
              * generated/maxloc1_8_s4.c: Regenerated.
              * generated/maxval0_s1.c: Regenerated.
              * generated/maxval0_s4.c: Regenerated.
              * generated/maxval1_s1.c: Regenerated.
              * generated/maxval1_s4.c: Regenerated.
              * generated/maxval_i1.c: Regenerated.
              * generated/maxval_i16.c: Regenerated.
              * generated/maxval_i2.c: Regenerated.
              * generated/maxval_i4.c: Regenerated.
              * generated/maxval_i8.c: Regenerated.
              * generated/maxval_r10.c: Regenerated.
              * generated/maxval_r16.c: Regenerated.
              * generated/maxval_r4.c: Regenerated.
              * generated/maxval_r8.c: Regenerated.
              * generated/minloc0_16_i1.c: Regenerated.
              * generated/minloc0_16_i16.c: Regenerated.
              * generated/minloc0_16_i2.c: Regenerated.
              * generated/minloc0_16_i4.c: Regenerated.
              * generated/minloc0_16_i8.c: Regenerated.
              * generated/minloc0_16_r10.c: Regenerated.
              * generated/minloc0_16_r16.c: Regenerated.
              * generated/minloc0_16_r4.c: Regenerated.
              * generated/minloc0_16_r8.c: Regenerated.
              * generated/minloc0_16_s1.c: Regenerated.
              * generated/minloc0_16_s4.c: Regenerated.
              * generated/minloc0_4_i1.c: Regenerated.
              * generated/minloc0_4_i16.c: Regenerated.
              * generated/minloc0_4_i2.c: Regenerated.
              * generated/minloc0_4_i4.c: Regenerated.
              * generated/minloc0_4_i8.c: Regenerated.
              * generated/minloc0_4_r10.c: Regenerated.
              * generated/minloc0_4_r16.c: Regenerated.
              * generated/minloc0_4_r4.c: Regenerated.
              * generated/minloc0_4_r8.c: Regenerated.
              * generated/minloc0_4_s1.c: Regenerated.
              * generated/minloc0_4_s4.c: Regenerated.
              * generated/minloc0_8_i1.c: Regenerated.
              * generated/minloc0_8_i16.c: Regenerated.
              * generated/minloc0_8_i2.c: Regenerated.
              * generated/minloc0_8_i4.c: Regenerated.
              * generated/minloc0_8_i8.c: Regenerated.
              * generated/minloc0_8_r10.c: Regenerated.
              * generated/minloc0_8_r16.c: Regenerated.
              * generated/minloc0_8_r4.c: Regenerated.
              * generated/minloc0_8_r8.c: Regenerated.
              * generated/minloc0_8_s1.c: Regenerated.
              * generated/minloc0_8_s4.c: Regenerated.
              * generated/minloc1_16_i1.c: Regenerated.
              * generated/minloc1_16_i16.c: Regenerated.
              * generated/minloc1_16_i2.c: Regenerated.
              * generated/minloc1_16_i4.c: Regenerated.
              * generated/minloc1_16_i8.c: Regenerated.
              * generated/minloc1_16_r10.c: Regenerated.
              * generated/minloc1_16_r16.c: Regenerated.
              * generated/minloc1_16_r4.c: Regenerated.
              * generated/minloc1_16_r8.c: Regenerated.
              * generated/minloc1_16_s1.c: Regenerated.
              * generated/minloc1_16_s4.c: Regenerated.
              * generated/minloc1_4_i1.c: Regenerated.
              * generated/minloc1_4_i16.c: Regenerated.
              * generated/minloc1_4_i2.c: Regenerated.
              * generated/minloc1_4_i4.c: Regenerated.
              * generated/minloc1_4_i8.c: Regenerated.
              * generated/minloc1_4_r10.c: Regenerated.
              * generated/minloc1_4_r16.c: Regenerated.
              * generated/minloc1_4_r4.c: Regenerated.
              * generated/minloc1_4_r8.c: Regenerated.
              * generated/minloc1_4_s1.c: Regenerated.
              * generated/minloc1_4_s4.c: Regenerated.
              * generated/minloc1_8_i1.c: Regenerated.
              * generated/minloc1_8_i16.c: Regenerated.
              * generated/minloc1_8_i2.c: Regenerated.
              * generated/minloc1_8_i4.c: Regenerated.
              * generated/minloc1_8_i8.c: Regenerated.
              * generated/minloc1_8_r10.c: Regenerated.
              * generated/minloc1_8_r16.c: Regenerated.
              * generated/minloc1_8_r4.c: Regenerated.
              * generated/minloc1_8_r8.c: Regenerated.
              * generated/minloc1_8_s1.c: Regenerated.
              * generated/minloc1_8_s4.c: Regenerated.
              * generated/minval0_s1.c: Regenerated.
              * generated/minval0_s4.c: Regenerated.
              * generated/minval1_s1.c: Regenerated.
              * generated/minval1_s4.c: Regenerated.
              * generated/minval_i1.c: Regenerated.
              * generated/minval_i16.c: Regenerated.
              * generated/minval_i2.c: Regenerated.
              * generated/minval_i4.c: Regenerated.
              * generated/minval_i8.c: Regenerated.
              * generated/minval_r10.c: Regenerated.
              * generated/minval_r16.c: Regenerated.
              * generated/minval_r4.c: Regenerated.
              * generated/minval_r8.c: Regenerated.
              * generated/product_c10.c: Regenerated.
              * generated/product_c16.c: Regenerated.
              * generated/product_c4.c: Regenerated.
              * generated/product_c8.c: Regenerated.
              * generated/product_i1.c: Regenerated.
              * generated/product_i16.c: Regenerated.
              * generated/product_i2.c: Regenerated.
              * generated/product_i4.c: Regenerated.
              * generated/product_i8.c: Regenerated.
              * generated/product_r10.c: Regenerated.
              * generated/product_r16.c: Regenerated.
              * generated/product_r4.c: Regenerated.
              * generated/product_r8.c: Regenerated.
              * generated/sum_c10.c: Regenerated.
              * generated/sum_c16.c: Regenerated.
              * generated/sum_c4.c: Regenerated.
              * generated/sum_c8.c: Regenerated.
              * generated/sum_i1.c: Regenerated.
              * generated/sum_i16.c: Regenerated.
              * generated/sum_i2.c: Regenerated.
              * generated/sum_i4.c: Regenerated.
              * generated/sum_i8.c: Regenerated.
              * generated/sum_r10.c: Regenerated.
              * generated/sum_r16.c: Regenerated.
              * generated/sum_r4.c: Regenerated.
              * generated/sum_r8.c: Regenerated.
      
      2018-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/82995
      	* gfortran.dg/optional_absent_4.f90: New test.
      	* gfortran.dg/optional_absent_5.f90: New test.
      
      From-SVN: r267487
      Thomas Koenig committed
    • Fix scan pattern of a test-case. · 4d73e47b
      2018-12-31  Martin Liska  <mliska@suse.cz>
      
      	* g++.dg/tree-prof/devirt.C: Fix scan pattern and test options.
      
      From-SVN: r267486
      Martin Liska committed
    • predict.c (set_even_probabilities): Include also unlikely_count in calculation. · b3282dfe
      ).
      
      2018-12-31  Martin Liska  <mliska@suse.cz>
      
      	* predict.c (set_even_probabilities): Include also
      	unlikely_count in calculation.
      	(combine_predictions_for_bb): Consider also HOT and
      	COLD labels predictions.
      	* predict.def (PRED_HOT_LABEL): Move it just after
      	__builtin_expect_with_probability predictor.
      	(PRED_COLD_LABEL): Likewise.
      2018-12-31  Martin Liska  <mliska@suse.cz>
      
      	* g++.dg/predict-2.C: New test.
      	* g++.dg/predict-3.C: New test.
      	* g++.dg/predict-4.C: New test.
      	* gcc.dg/tree-ssa/attr-hotcold-2.c: Adjust test-case.
      
      From-SVN: r267485
      Martin Liska committed
    • * x86-tune.def: Enable inter_unit_moves_to_vec for generic. · 41ee4e75
      From-SVN: r267484
      Jan Hubicka committed
    • gimple-fold.c (get_range_strlen): Minor logic cleanup. · 80c2bad6
      	* gimple-fold.c (get_range_strlen): Minor logic cleanup.  Add comments
      	on code's intent.
      
      Co-Authored-By: Jeff Law <law@redhat.com>
      
      From-SVN: r267483
      Martin Sebor committed
    • gimple-fold.c (strlen_range_kind): New enum. · 598f7235
      	* gimple-fold.c (strlen_range_kind): New enum.
      	(get_range_strlen): Update signature to use strlen_range_kind
      	instead of type+fuzzy.
      	(get_range_strlen_tree): Update signature to use
      	strlen_range_kind instead of type+fuzzy.  Pass rkind down to
      	get_range_strlen.  Check the rkind enum value instead of
      	type+fuzzy.
      	(get_range_strlen): Similarly.
      	(get_maxval_strlen): Update signature to make NONSTR argument have
      	a default value and make static.  Add asserts to ensure sanity of
      	arguments.  Update calls to get_range_strlen.
      	(gimple_fold_builtin_strcpy): Update calls to get_maxval_strlen.
      	(gimple_fold_builtin_strcat, gimple_fold_builtin_fputs): Similarly.
      	(gimple_fold_builtin_memory_chk): Similarly.
      	(gimple_fold_builtin_stxcpy_chk): Similarly.
      	(gimple_fold_builtin_snprintf_chk): Similarly.
      	(gimple_fold_builtin_sprintf, gimple_fold_builtin_snprintf): Similarly.
      	* gimple-fold.h (get_maxval_strlen): Delete prototype.
      
      Co-Authored-By: Jeff Law <law@redhat.com>
      
      From-SVN: r267482
      Martin Sebor committed
    • Daily bump. · c43459ca
      From-SVN: r267481
      GCC Administrator committed
  3. 30 Dec, 2018 2 commits
  4. 29 Dec, 2018 11 commits
  5. 28 Dec, 2018 12 commits