1. 11 Apr, 2011 13 commits
    • pr47917.c: Define _ISO_C_SOURCE=19990L for alpha*-dec-osf5*. · 8fb3e11a
      	* gcc.dg/torture/pr47917.c: Define _ISO_C_SOURCE=19990L for
      	alpha*-dec-osf5*.
      
      From-SVN: r172270
      Rainer Orth committed
    • moveable.cc: Actually run it in parallel-mode for check-parallel. · 061217e9
      2011-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
      	it in parallel-mode for check-parallel.
      	* testsuite/25_algorithms/rotate/moveable.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
      	* testsuite/25_algorithms/remove/moveable.cc: Likewise.
      	* testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
      	Likewise.
      	* testsuite/25_algorithms/unique/moveable.cc: Likewise.
      	* testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
      	* testsuite/25_algorithms/heap/moveable.cc: Likewise.
      
      	* testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
      	the tests based on std::lexicographical_compare for check-parallel.
      	* testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
      
      From-SVN: r172269
      Paolo Carlini committed
    • re PR target/9601 (-mrtd switch/stdcall attribute raises warnings for __buitltin functions) · b8ce4e94
      2011-04-11  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/9601
      	PR target/11772
      	* config/i386/i386-protos.h (ix86_get_callcvt): New prototype.
      	* config/i386/i386.c (ix86_handle_cconv_attribute): Adjust
      	comment.
      	(ix86_is_msabi_thiscall): Removed.
      	(ix86_is_type_thiscall): Likewise.
      	(ix86_get_callcvt): New function.
      	(ix86_comp_type_attributes): Simplify check.
      	(ix86_function_regparm): Use ix86_get_callcvt for calling
      	convention attribute checks.
      	(ix86_return_pops_args): Likewise.
      	(ix86_static_chain): Likewise.
      	(x86_this_parameter): Likewise.
      	(x86_output_mi_thunk): Likewise.
      	(ix86_function_type_abi): Optimize check for types without attributes.
      	* config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL,
      	IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM,
      	IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention
      	by flag-values.
      	(IX86_BASE_CALLCVT): Helper macro.
      	* config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name):
      	Use ix86_get_callcvt for calling convention attribute checks and avoid
      	symbol-decoration for stdcall in TARGET_RTD case.
      	* config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name):
      	Likewise.
      	(gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN
      	for declaration.
      
      From-SVN: r172268
      Kai Tietz committed
    • * config/i386/sse.md: Fix unwanted commit. · a1b01a84
      From-SVN: r172266
      Uros Bizjak committed
    • sse.md (VI_128): New mode iterator. · 798dd0ba
      	* config/i386/sse.md (VI_128): New mode iterator.
      	(VI12_128): Rename from SSEMODE12.
      	(VI14_128): Rename from SSEMODE14.
      	(VI124_128): New mode iterator.
      	(VI24_128): Rename from SSEMODE248.
      	(VI248_128): Rename from SSEMODE248.
      	(SSEMODE124C8): Remove.
      	(*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3.
      	(*sse2_<plusminus_insn><mode>3): Merge with
      	*avx_<plusminus_insn><mode>3.
      	(*mulv8hi3): Merge with *avx_mulv8hi3.
      	(*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart.
      	(*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3.
      	(*sse2_pmaddwd): Merge with *avx_pmaddwd.
      	(*sse4_1_mulv4si3): Merge with *avx_mulv4si3.
      	(ashr<mode>3): Merge with *avx_ashr<mode>3.
      	(lshr<mode>3): Merge with *avx_lshr<mode>3.
      	(ashl<mode>3): Merge with *avx_ashl<mode>3.
      	(sse2_ashlv1ti3): Merge with *avx_ashlv1ti3.
      	(sse2_lshrv1ti3): Merge with *avx_lshrv1ti3.
      	(*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3.
      	(*<smaxmin:code>v8hi3): Ditto.
      	(*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3.
      	(*<smaxmin:code>v16qi3): Ditto.
      	(*sse4_1_eqv2di3): Merge with *avx_eq<mode>3.
      	(*sse2_eq<mode>3): Ditto.
      	(*sse4_2_eqv2di3): Merge with *avx_gt<mode>3.
      	(*sse2_gt<mode>3): Ditto.
      	(vcondv2di): Split out of vcond<mode>.
      	(vconduv2di): Split out of vcondu<mode>.
      
      From-SVN: r172264
      Uros Bizjak committed
    • gimplify.c (gimple_fold_indirect_ref): Check host_integerp before calling tree_low_cst. · 956011be
      2011-04-11  Richard Guenther  <rguenther@suse.de>
      
      	* gimplify.c (gimple_fold_indirect_ref): Check host_integerp
      	before calling tree_low_cst.
      
      From-SVN: r172263
      Richard Guenther committed
    • re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays]) · 155e5d5f
      2011-04-11  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/18918
              * simplify.c (simplify_bound_dim): Exit for
              ucobound's last dimension unless -fcoarray=single.
              * trans-array (gfc_conv_descriptor_size_1): Renamed from
              gfc_conv_descriptor_size, made static, has now from_dim and
              to_dim arguments.
              (gfc_conv_descriptor_size): Call gfc_conv_descriptor_size.
              (gfc_conv_descriptor_cosize): New function.
              * trans-array.h (gfc_conv_descriptor_cosize): New prototype.
              * trans-intrinsic.c (conv_intrinsic_cobound): Add input_location
              and handle last codim of ucobound for when -fcoarray is not "single".
      
      From-SVN: r172262
      Tobias Burnus committed
    • stor-layout.c (layout_type): Compute all array index size operations in the original type. · e6313a78
      2011-04-11  Richard Guenther  <rguenther@suse.de>
      
      	* stor-layout.c (layout_type): Compute all array index size operations
      	in the original type.
      	(initialize_sizetypes): Add comment.
      	(set_sizetype): Do not set TREE_TYPE of a TREE_VEC.
      
      	c-family/
      	* c-common.c (complete_array_type): Build a range type of
      	proper type.
      
      From-SVN: r172261
      Richard Guenther committed
    • * common.opt (Tbss=, Tdata=, Ttext=): New options. · e69d7376
      From-SVN: r172259
      Joseph Myers committed
    • cgraph.c (cgraph_local_info): Call cgraph_get_node instead of… · 9f9ebcdf
      cgraph.c (cgraph_local_info): Call cgraph_get_node instead of cgraph_node,	handle NULL return value.
      
      2011-04-11  Martin Jambor  <mjambor@suse.cz>
      
      gcc/
      	* cgraph.c (cgraph_local_info): Call cgraph_get_node instead
      	of cgraph_node,	handle NULL return value.
      	(cgraph_global_info): Likewise.
      	(cgraph_rtl_info): Likewise.
      	* tree-inline.c (estimate_num_insns): Likewise.
      	* gimplify.c (unshare_body): Likewise.
      	(unvisit_body): Likewise.
      	(gimplify_body): Likewise.
      	* predict.c (optimize_function_for_size_p): Likewise.
      	* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
      	(call_may_clobber_ref_p_1): Likewise.
      	* varasm.c (function_section_1): Likewise.
      	(assemble_start_function): Likewise.
      
      gcc/java/
      	* decl.c (java_mark_decl_local): Call cgraph_get_node instead of
      	cgraph_node and handle returned NULL.
      
      From-SVN: r172258
      Martin Jambor committed
    • except.c (set_nothrow_function_flags): Call cgraph_get_node instead of cgraph_node. · 581985d7
      2011-04-11  Martin Jambor  <mjambor@suse.cz>
      
      	* except.c (set_nothrow_function_flags): Call cgraph_get_node instead
      	of cgraph_node.
      	* final.c (rest_of_clean_state): Likewise.
      	* gimple-iterator.c (update_call_edge_frequencies): Likewise.
      	* passes.c (pass_init_dump_file): Likewise.
      	(execute_all_ipa_transforms): Likewise.
      	(function_called_by_processed_nodes_p): Likewise.
      	* predict.c (maybe_hot_frequency_p): Likewise.
      	(probably_never_executed_bb_p): Likewise.
      	(compute_function_frequency): Likewise.
      	* tree-nested.c (check_for_nested_with_variably_modified): Likewise.
      	(unnest_nesting_tree_1): Likewise.
      	(lower_nested_functions): Likewise.
      	* tree-optimize.c (execute_fixup_cfg): Likewise.
      	(tree_rest_of_compilation): Likewise.
      	* tree-profile.c (gimple_gen_ic_func_profiler): Likewise.
      	* tree-sra.c (ipa_early_sra): Likewise.
      	* tree-ssa-loop-ivopts.c (computation_cost): Likewise.
      	* config/i386/i386.c (ix86_compute_frame_layout): Likewise.
      	* ipa.c (record_cdtor_fn): Likewise.
      	* ipa-inline.c (cgraph_early_inlining): Likewise.
      	(compute_inline_parameters_for_current): Likewise.
      	* ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
      	* ipa-pure-const.c (local_pure_const): Likewise.
      	* ipa-split.c (split_function): Likewise.
      	(execute_split_functions): Likewise.
      	* cgraphbuild.c (build_cgraph_edges): Likewise.
      	(rebuild_cgraph_edges): Likewise.
      	(cgraph_rebuild_references): Likewise.	
      	(remove_cgraph_callee_edges): Likewise.
      	* cgraphunit.c (cgraph_mark_if_needed): Likewise.
      	(verify_cgraph_node): Likewise.
      	(cgraph_analyze_functions): Likewise.
      	(cgraph_preserve_function_body_p): Likewise.
      	(save_inline_function_body): Likewise.
      	(save_inline_function_body): Likewise.
      	* tree-inline.c (copy_bb): Likewise.
      	(optimize_inline_calls): Likewise.
      
      From-SVN: r172257
      Martin Jambor committed
    • re PR tree-optimization/48195 (ICE: vector VEC(ipa_node_params_t,base) index… · 57dbdc5a
      re PR tree-optimization/48195 (ICE: vector VEC(ipa_node_params_t,base) index domain error, in ipa_analyze_node at ipa-prop.c:1525 with -flto --param partial-inlining-entry-probability=101)
      
      2011-04-11  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/48195
      	* ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and
      	ipa_check_create_edge_args.
      	(ipcp_generate_summary): Do not call ipa_check_create_node_params and
      	ipa_check_create_edge_args.
      	* ipa-inline.c (inline_generate_summary): Do not call
      	ipa_check_create_node_params and ipa_check_create_edge_args.
      	* ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and
      	ipa_check_create_edge_args.
      
      	* testsuite/gcc.dg/ipa/pr48195.c: New test.
      
      From-SVN: r172256
      Martin Jambor committed
    • Daily bump. · d0bfa8b5
      From-SVN: r172252
      GCC Administrator committed
  2. 10 Apr, 2011 7 commits
  3. 09 Apr, 2011 4 commits
  4. 08 Apr, 2011 16 commits