1. 05 Dec, 2011 7 commits
    • [multiple changes] · 76264f60
      2011-12-05  Bob Duff  <duff@adacore.com>
      
      	* sem_ch4.adb: Minor comment fix.
      
      2011-12-05  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_ugn.texi: Add documentation for -gnatw.e.
      
      2011-12-05  Bob Duff  <duff@adacore.com>
      
      	* treepr.adb (pn): Print something useful for
      	Elmt_Ids. Add Write_Eol to 'when others' case, so the output
      	will be seen immediately in gdb.
      
      2011-12-05  Ed Schonberg  <schonberg@adacore.com>
      
      	* lib-writ.adb (Output_Main_Program_Line): A generic subprogram
      	is never a main program.
      
      2011-12-05  Thomas Quinot  <quinot@adacore.com>
      
      	* par_sco.adb: Various minor adjustments to dominance markers
      	generation.
      
      2011-12-05  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Analyze_Expression_Function): If the function is
      	a completion, generate a body reference for its defining entity,
      	before rewriting the node as a body.
      	* sem_util.adb (Defining_Entity): Add entry for expression
      	function.
      
      From-SVN: r182006
      Arnaud Charlet committed
    • Use vcvt from fixed to floating point where applicable. · 7f3d8f56
      2011-12-05  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
      
               * config/arm/arm.c (vfp3_const_double_for_fract_bits): Define.
               * config/arm/arm-protos.h (vfp3_const_double_for_fract_bits): Declare.
               * config/arm/constraints.md ("Dt"): New constraint.
               * config/arm/predicates.md (const_double_vcvt_power_of_two_reciprocal):
                New.
               * config/arm/vfp.md (*arm_combine_vcvt_f32_s32): New.
               (*arm_combine_vcvt_f32_u32): New.
      
      From-SVN: r182005
      Ramana Radhakrishnan committed
    • [multiple changes] · 3128f955
      2011-12-05  Bob Duff  <duff@adacore.com>
      
      	* sem_ch3.adb (Derive_Progenitor_Subprograms): Add Ultimate_Alias
      	to the Comes_From_Source check, to deal properly with the case
      	of indirect inheritance of "=".
      
      2011-12-05  Thomas Quinot  <quinot@adacore.com>
      
      	PR ada/51307
      	* s-oscons-tmplt.c: On HP-UX, CLOCK_REALTIME is an enum literal,
      	not a macro.
      
      2011-12-05  Thomas Quinot  <quinot@adacore.com>
      
      	* par_sco.adb, scos.ads, put_scos.adb, get_scos.adb: Generate dominance
      	information in SCOs.
      
      From-SVN: r182004
      Arnaud Charlet committed
    • 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 5 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