1. 09 Mar, 2017 22 commits
  2. 08 Mar, 2017 13 commits
  3. 07 Mar, 2017 5 commits
    • re PR c/79834 (c/c-parser.c: make code more i18n-friendly) · a71dbc63
      	PR c/79834
      c/
      	* c-parser.c (c_parser_pragma): Use error_at instead of c_parser_error
      	for "may only be used in compound statements" diagnostics, change it
      	such that the same translatable string is used for all pragmas.  For
      	PRAGMA_OACC_WAIT use "acc wait" rather than "acc enter data" in the
      	diagnostics.
      	(c_parser_omp_cancellation_point, c_parser_omp_target_update,
      	c_parser_omp_target_enter_data, c_parser_omp_target_exit_data): Change
      	"may only be used in compound statements" diagnostics, such that the
      	same translatable string is used for all pragmas.
      cp/
      	* parser.c (cp_parser_omp_cancellation_point,
      	cp_parser_omp_target_enter_data, cp_parser_omp_target_exit_data,
      	cp_parser_omp_target_update): Change "may only be used in compound
      	statements" diagnostics, such that the same translatable string is
      	used for all pragmas.
      	(cp_parser_pragma): Likewise.  Use error_at instead of
      	cp_parser_error for that diagnostics.
      testsuite/
      	* c-c++-common/goacc/pragma_context.c (f2): Adjust expected
      	diagnostics.
      
      From-SVN: r245959
      Jakub Jelinek committed
    • re PR middle-end/79809 (ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282) · d8a90142
      	PR middle-end/79809
      	* gimple-ssa-warn-alloca.c (pass_walloca::gate): Use HOST_WIDE_INT.
      	(alloca_call_type): Likewise.
      
      	* g++.dg/Walloca1.C: New test.
      
      From-SVN: r245955
      Marek Polacek committed
    • gcov: put comment to correct location. · ec383304
      2017-03-07  Martin Liska  <mliska@suse.cz>
      
      	* gcov.c (process_args): Put comment to correct location.
      
      From-SVN: r245952
      Martin Liska committed
    • Use array_at_struct_end_p in tree-chkp.c (PR middle-end/68270). · a5e9e3e4
      2017-03-07  Martin Liska  <mliska@suse.cz>
      
      	PR middle-end/68270
      	* tree-chkp.c (chkp_may_narrow_to_field): Add new argument ref.
      	Use array_at_struct_end_p instead of DECL_CHAIN (field).
      	(chkp_narrow_bounds_for_field): Likewise.
      	(chkp_parse_array_and_component_ref): Pass one more argument to
      	call.
      2017-03-07  Martin Liska  <mliska@suse.cz>
      
      	PR middle-end/68270
      	* g++.dg/pr68270.C: New test.
      
      From-SVN: r245951
      Martin Liska committed
    • tree-vect-loop-manip.c (slpeel_add_loop_guard): Preserve preheaders. · 5281a167
      2017-03-07  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-loop-manip.c (slpeel_add_loop_guard): Preserve
      	preheaders.
      
      From-SVN: r245950
      Richard Biener committed