1. 27 Nov, 2015 10 commits
    • Fix memory leak in cilk · b58d3df2
      	PR c++/68312
      	* c-array-notation.c (fix_builtin_array_notation_fn):
      	Use release_vec_vec instead of vec::release.
      	(build_array_notation_expr): Likewise.
      	(fix_conditional_array_notations_1): Likewise.
      	(fix_array_notation_expr): Likewise.
      	(fix_array_notation_call_expr): Likewise.
      	PR c++/68312
      	* cp-array-notation.c (expand_sec_reduce_builtin):
      	Likewise.
      	(create_array_refs): Replace argument with const reference.
      	(expand_an_in_modify_expr): Likewise.
      	(cp_expand_cond_array_notations): Likewise.
      	(expand_unary_array_notation_exprs): Likewise.
      	PR c++/68312
      	* array-notation-common.c (cilkplus_extract_an_triplets):
      	Release vector of vectors.
      	* cilk.c (gimplify_cilk_spawn): Free allocated memory.
      	PR c++/68312
      	* vec.h (release_vec_vec): New function.
      
      From-SVN: r231001
      Martin Liska committed
    • re PR tree-optimization/68552 (ICE in in expand_expr_real_2 with -O2 -ftree-vectorize) · 4d95edca
      	PR tree-optimization/68552
      	* optabs.c (expand_vec_perm_1): Move vec_shr handling from here...
      	(expand_vec_perm): ... here.  Do it regardless of vec_perm_const_optab
      	or whether v0 == v1.
      
      From-SVN: r231000
      Jakub Jelinek committed
    • re PR c/63326 (whether a #pragma is a statement depends on the type of pragma) · aec17bfe
      	PR c/63326
      	* c-parser.c (c_parser_compound_statement_nostart): If
      	last_label is true, use pragma_stmt instead of pragma_compound
      	as second c_parser_pragma argument.
      	(c_parser_omp_ordered, c_parser_omp_target_update,
      	c_parser_omp_target_enter_data, c_parser_omp_target_exit_data): Pass
      	false as second argument to c_parser_skip_to_pragma_eol after
      	diagnosing standalone directives used in pragma_stmt context.
      
      	* parser.c (cp_parser_statement): Clear in_compound after labels.
      
      	* gcc.dg/gomp/barrier-2.c (f2): Expect another error after label.
      	* c-c++-common/gomp/pr63326.c: New test.
      
      	* testsuite/libgomp.c/cancel-parallel-2.c (foo): Add semicolon
      	in between case label and OpenMP standalone directives.
      	* testsuite/libgomp.c++/cancel-parallel-2.C (foo): Likewise.
      
      From-SVN: r230999
      Jakub Jelinek committed
    • Replace spaces with tabs and remove trailing whitespaces · 5e48d8a0
      	* tree-ssa-uninit.c: Fix whitespaces in the source file.
      	The change is just automatical.
      
      From-SVN: r230998
      Martin Liska committed
    • Fix memory leak in tree-chkp.c · 2f0fc505
      	* tree-chkp.c (chkp_make_static_bounds): Release buffer
      	used for string.
      
      From-SVN: r230997
      Martin Liska committed
    • Fix parser memory leak in cilk_simd_fn_info · 12a18ca5
      	* parser.c (cp_parser_late_parsing_cilk_simd_fn_info):
      	Release tokens.
      
      From-SVN: r230996
      Martin Liska committed
    • Fix memory leak in loop_vec_info · 5cd366f3
      	* tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
      	Do not release memory for comp_alias_ddrs.
      	* tree-vect-loop.c (destroy_loop_vec_info): Release
      	the memory for all loop_vec_info.
      
      From-SVN: r230995
      Martin Liska committed
    • Fix memory leaks in IPA devirt · ed37a6cf
      	* ipa-devirt.c (ipa_devirt): Use auto_vec instead
      	of a local-scope vec.
      	(struct final_warning_record): Use auto_vec instead
      	of vec.
      
      From-SVN: r230994
      Martin Liska committed
    • re PR tree-optimization/68553 (gcc.dg/vect/pr68445.c FAILs) · 2ce27200
      2015-11-27  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/68553
      	* tree-vect-slp.c (vect_get_mask_element): Remove.
      	(vect_transform_slp_perm_load): Implement in a simpler way.
      
      	* gcc.dg/vect/pr45752.c: Adjust.
      	* gcc.dg/vect/slp-perm-4.c: Likewise.
      
      From-SVN: r230993
      Richard Biener committed
    • Daily bump. · f0a813f2
      From-SVN: r230990
      GCC Administrator committed
  2. 26 Nov, 2015 30 commits