1. 05 Dec, 2011 4 commits
    • Add 'inline' to prototype of tokens_buff_remove_last_token · 9b554be9
      libcpp/
      
      	* macro.c (tokens_buff_remove_last_token)
      	(tokens_buff_put_token_to): Add an 'inline' function specifier to
      	the prototype.
      
      From-SVN: r182002
      Dodji Seketeli committed
    • cgraph.c (cgraph_create_edge_1): Initialize call_stmt_cannot_inline_p from the stmt if possible. · 89faf322
      2011-12-05  Richard Guenther  <rguenther@suse.de>
      
      	* cgraph.c (cgraph_create_edge_1): Initialize
      	call_stmt_cannot_inline_p from the stmt if possible.
      	(cgraph_make_edge_direct): Likewise.
      	* gimple-streamer-in.c (input_gimple_stmt): Do not
      	call gimple_call_set_cannot_inline.
      	* gimple.h (enum gf_mask): Remove GF_CALL_CANNOT_INLINE, shift
      	values.
      	(gimple_call_set_cannot_inline): Remove.
      	(gimple_call_cannot_inline_p): Likewise.
      	* ipa-inline-analysis.c (initialize_inline_failed): Look
      	at the edge call_stmt_cannot_inline_p flag.
      	* ipa-inline.c (can_inline_edge_p): Likewise.
      	(early_inliner): Only update the edge flag.
      	* ipa-prop.c (update_indirect_edges_after_inlining): Likewise.
      	(ipa_modify_call_arguments): Do not call gimple_call_set_cannot_inline.
      	* cgraphunit.c (assemble_thunk): Likewise.
      	* gimple-fold.c (gimple_fold_call): Likewise.
      
      	* tree.h (CALL_CANNOT_INLINE_P): Remove.
      	* tree-mudflap.c (mf_xform_statements): Do not modify alloca calls.
      	* builtins.c (expand_builtin_alloca): With -fmudflap do not expand
      	alloca calls inline.
      	* cfgexpand.c (expand_call_stmt): Do not set CALL_CANNOT_INLINE_P.
      	* gimple.c (gimple_build_call_from_tree): Do not read
      	CALL_CANNOT_INLINE_P.
      	* gimplify.c (gimplify_call_expr): Do not copy CALL_CANNOT_INLINE_P.
      
      From-SVN: r182001
      Richard Guenther committed
    • re PR middle-end/51323 (g++ confuses this with function argument in optimized call) · 5275901c
      	PR middle-end/51323
      	PR middle-end/50074
      	* calls.c (internal_arg_pointer_exp_state): New variable.
      	(internal_arg_pointer_based_exp_1,
      	internal_arg_pointer_exp_scan): New functions.
      	(internal_arg_pointer_based_exp): New function.
      	(mem_overlaps_already_clobbered_arg_p): Use it.
      	(expand_call): Free internal_arg_pointer_exp_state.cache vector
      	and clear internal_arg_pointer_exp_state.scan_start.
      
      	* gcc.c-torture/execute/pr51323.c: New test.
      
      Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
      
      From-SVN: r182000
      Jakub Jelinek committed
    • Daily bump. · 2adac2a7
      From-SVN: r181999
      GCC Administrator committed
  2. 04 Dec, 2011 15 commits
  3. 03 Dec, 2011 13 commits
  4. 02 Dec, 2011 8 commits
    • re PR target/51387 (Test vect.exp/vect-116.c fails on execution when compiled with -mavx2 on sde.) · 4bd97bee
      	PR target/51387
      	* config/i386/sse.md (mul<mode>3 with VI1_AVX2 iterator): For
      	V32QImode use { 0,2,..,14,32,34,..,46,16,18,..,30,48,50,..,62 }
      	permutation instead of extract even permutation.
      
      From-SVN: r181951
      Jakub Jelinek committed
    • gcov.c (struct arc_info): Add is_throw field. · 8919c0d9
      	* gcov.c (struct arc_info): Add is_throw field.
      	(struct (block_info): Add exceptional field, reduce flags size to
      	account for it.
      	(struct function_info): Add has_catch field.
      	(struct line_info): Add unexceptional field.
      	(process_file): Call find_exception_blocks if necessary.
      	(read_graph_file): Adjust.  Note if an exceptional edge is seen.
      	(find_exception_blocks): New.
      	(add_line_counts): Set line's unexceptional flag if not
      	exceptional.
      	(output_branch_count): Note exceptional arcs, lines and blocks.
      	* gcov-dump.c (tag_arcs): Decode arc flags.
      	* doc/gcov.texi: Document '=====' lines.
      
      	testsuite/
      	* lib/gcov.exp (verify-lines): Allow = as a count char.
      	* g++.dg/gcov/gcov-13.C: New.
      
      From-SVN: r181949
      Nathan Sidwell committed
    • Increase array sizes in vect-tests to enable 256-bit vectorization · 134dc576
      2011-12-02  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
      
      	* gcc.dg/vect/slp-13.c: Increase array size, add initialization.
      	* gcc.dg/vect/slp-24.c: Ditto.
      	* gcc.dg/vect/slp-3.c: Likewise and fix scans.
      	* gcc.dg/vect/slp-34.c: Ditto.
      	* gcc.dg/vect/slp-4.c: Ditto.
      	* gcc.dg/vect/slp-cond-2.c: Ditto.
      	* gcc.dg/vect/slp-multitypes-11.c: Ditto.
      	* gcc.dg/vect/vect-1.c: Ditto.
      	* gcc.dg/vect/vect-10.c: Ditto.
      	* gcc.dg/vect/vect-105.c: Ditto.
      	* gcc.dg/vect/vect-112.c: Ditto.
      	* gcc.dg/vect/vect-15.c: Ditto.
      	* gcc.dg/vect/vect-2.c: Ditto.
      	* gcc.dg/vect/vect-31.c: Ditto.
      	* gcc.dg/vect/vect-32.c: Ditto.
      	* gcc.dg/vect/vect-33.c: Ditto.
      	* gcc.dg/vect/vect-34.c: Ditto.
      	* gcc.dg/vect/vect-35.c: Ditto.
      	* gcc.dg/vect/vect-36.c: Ditto.
      	* gcc.dg/vect/vect-6.c: Ditto.
      	* gcc.dg/vect/vect-73.c: Ditto.
      	* gcc.dg/vect/vect-74.c: Ditto.
      	* gcc.dg/vect/vect-75.c: Ditto.
      	* gcc.dg/vect/vect-76.c: Ditto.
      	* gcc.dg/vect/vect-80.c: Ditto.
      	* gcc.dg/vect/vect-85.c: Ditto.
      	* gcc.dg/vect/vect-89.c: Ditto.
      	* gcc.dg/vect/vect-97.c: Ditto.
      	* gcc.dg/vect/vect-98.c: Ditto.
      	* gcc.dg/vect/vect-all.c: Ditto.
      	* gcc.dg/vect/vect-double-reduc-6.c: Ditto.
      	* gcc.dg/vect/vect-iv-8.c: Ditto.
      	* gcc.dg/vect/vect-iv-8a.c: Ditto.
      	* gcc.dg/vect/vect-outer-1.c: Ditto.
      	* gcc.dg/vect/vect-outer-1a.c: Ditto.
      	* gcc.dg/vect/vect-outer-1b.c: Ditto.
      	* gcc.dg/vect/vect-outer-2.c: Ditto.
      	* gcc.dg/vect/vect-outer-2a.c: Ditto.
      	* gcc.dg/vect/vect-outer-2c.c: Ditto.
      	* gcc.dg/vect/vect-outer-3.c: Ditto.
      	* gcc.dg/vect/vect-outer-3a.c: Ditto.
      	* gcc.dg/vect/vect-outer-4a.c: Ditto.
      	* gcc.dg/vect/vect-outer-4b.c: Ditto.
      	* gcc.dg/vect/vect-outer-4c.c: Ditto.
      	* gcc.dg/vect/vect-outer-4d.c: Ditto.
      	* gcc.dg/vect/vect-outer-4m.c: Ditto.
      	* gcc.dg/vect/vect-outer-fir-lb.c: Ditto.
      	* gcc.dg/vect/vect-outer-fir.c: Ditto.
      	* gcc.dg/vect/vect-over-widen-1.c: Ditto.
      	* gcc.dg/vect/vect-over-widen-2.c: Ditto.
      	* gcc.dg/vect/vect-over-widen-3.c: Ditto.
      	* gcc.dg/vect/vect-over-widen-4.c: Ditto.
      	* gcc.dg/vect/vect-reduc-1char.c: Ditto.
      	* gcc.dg/vect/vect-reduc-2char.c: Ditto.
      	* gcc.dg/vect/vect-reduc-pattern-1b.c: Ditto.
      	* gcc.dg/vect/vect-reduc-pattern-1c.c: Ditto.
      	* gcc.dg/vect/vect-reduc-pattern-2b.c: Ditto.
      	* gcc.dg/vect/vect-shift-2.c: Ditto.
      	* gcc.dg/vect/vect-strided-a-u8-i8-gap2.c: Ditto.
      	* gcc.dg/vect/vect-strided-a-u8-i8-gap7.c: Ditto.
      	* gcc.dg/vect/vect-strided-u8-i8-gap2.c: Ditto.
      	* gcc.dg/vect/vect-strided-u8-i8-gap4.c: Ditto.
      	* gcc.dg/vect/vect-strided-u8-i8-gap7.c: Ditto.
      
      From-SVN: r181939
      Michael Zolotukhin committed
    • libgo: Update to weekly.2011-11-01. · 506cf9aa
      From-SVN: r181938
      Ian Lance Taylor committed
    • vector-subscript-1.c (main): Fix __builtin_memcpy arguments to honor sizeof(a). · b3c85d79
      	* gcc.c-torture/execute/vector-subscript-1.c (main): Fix
      	__builtin_memcpy arguments to honor sizeof(a).
      
      From-SVN: r181933
      Georg-Johann Lay committed
    • ia64.h (PRINT_OPERAND, [...]): Remove macros. · 5e50b799
      	* config/ia64/ia64.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS,
      	PRINT_OPERAND_PUNCT_VALID_P): Remove macros.
      	* config/ia64/ia64-protos.h (ia64_print_operand,
      	ia64_print_operand_address): Remove.
      	* config/ia64/ia64.c (TARGET_PRINT_OPERAND,
      	TARGET_PRINT_OPERAND_ADDRESS, TARGET_PRINT_OPERAND_PUNCT_VALID_P):
      	Define.
      	(ia64_print_operand_punct_valid_p): New function.
      	(ia64_print_operand, ia64_print_operand_address): Make static.
      
      From-SVN: r181932
      Anatoly Sokolov committed
    • iomanip (put_money): Fix thinko, use __err local, like in, eg, basic_ostream::_M_insert. · f5ca3c34
      2011-12-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/iomanip (put_money): Fix thinko, use __err local,
      	like in, eg, basic_ostream::_M_insert.
      
      From-SVN: r181931
      Paolo Carlini committed