- 28 Nov, 2009 8 commits
-
-
* jvspec.c (lang_specific_driver): Remove unused saw_verbose_flag variable. * jcf-dump.c (main): Remove unused general_purpose_bits variable. * builtins.c (initialize_builtins): Remove unused float_ftype_float variable. * expr.c (java_stack_pop): Remove unused val variable. (build_jni_stub): Remove unused res_type variable. * verify-impl.c (check_field_constant): Remove unused len variable. From-SVN: r154727
Jakub Jelinek committed -
* matrix-reorg.c (analyze_matrix_allocation_site): Remove unused malloc_fname variable. (check_allocation_function): Remove unused gsi and bb_level_0 variables. (transform_access_sites): Remove unused d_type_size and d_type_size_k variables. * omega.c (resurrect_subs): Remove unused n variable. (omega_solve_geq): Remove unused neweqns variable. * lto-streamer-in.c (lto_read_tree): Remove unused end_marker variable. * tree-inline.c (declare_return_variable): Remove USE_P argument, return use instead of var. (remap_decl, remap_block): Remove unused fn variable. (expand_call_inline): Remove unused retvar variable, adjust declare_return_variable caller. (optimize_inline_calls): Remove unused prev_fn variable. * tree-vect-slp.c (vect_analyze_slp_instance): Remove unused ncopies variable. (vect_create_mask_and_perm): Remove unused group_size and dr_chain_size variables. * tree-ssa-loop-niter.c (split_to_var_and_offset): Handle MINUS_EXPR properly. * tree-vect-loop.c (vect_analyze_loop_form): Remove unused backedge variable. (vect_create_epilog_for_reduction): Remove unused bytesize variable. * omp-low.c (workshare_safe_to_combine_p): Remove par_entry_bb parameter. Remove unused par_stmt variable. (determine_parallel_type): Adjust workshare_safe_to_combine_p caller. (expand_omp_sections): Remove unused l1 variable. (lower_omp_for): Remove unused ilist variable. * tree-loop-distribution.c (mark_nodes_having_upstream_mem_writes): Remove unused has_upstream_mem_write_p variable. * recog.c (decode_asm_operands): Remove unused noperands variable. * tree-ssa-alias.c (refs_may_alias_p_1): Remove unused size1 and size2 variable. * libgcov.c (__gcov_merge_delta): Remove unused last variable. * tree-call-cdce.c (gen_conditions_for_pow_int_base): Remove unused base_nm variable. (gen_conditions_for_pow): Remove unused ec variable. * tree-ssa-sccvn.c (vn_reference_lookup_3): Remove unused size variable. * ipa-struct-reorg.c (program_redefines_malloc_p): Remove unused fndecl variable. * tree-ssa-sink.c (statement_sink_location): Remove unused code variable. * regmove.c (copy_src_to_dest): Remove unused insn_uid and move_uid variables. * tree-complex.c (create_one_component_var): Remove unused inner_type variable. * calls.c (emit_call_1): Don't GEN_INT (struct_value_size) unnecessarily when GEN_*CALL omits that argument. * regrename.c (regrename_optimize): Remove unused regs_seen variable. (build_def_use): Remove unused icode variable. * ipa-pure-const.c (check_call): Remove unused callee and avail variables. * tree-dfa.c (add_referenced_var): Remove unused v_ann variable. * tree-vect-patterns.c (vect_recog_pow_pattern): Remove unused type variable. (vect_pattern_recog): Remove unused stmt variable. * sel-sched-ir.c (make_regions_from_the_rest): Remove unused new_regions variable. * postreload.c (reload_cse_simplify_operands): Remove unused mode variable. * tree-parloops.c (create_call_for_reduction_1): Remove unused addr_type variable. (create_parallel_loop): Remove unused res variable. (gen_parallel_loop): Remove unused nloop variable. * tree-vect-loop-manip.c (vect_loop_versioning): Likewise. * value-prof.c (gimple_mod_subtract_transform, gimple_stringops_transform): Remove unused value variable. (gimple_stringops_values_to_profile): Remove unused fcode variable. * tree-vrp.c (register_new_assert_for): Remove unused found variable. (vrp_visit_switch_stmt): Remove unused n variable. * tree-vect-stmts.c (vectorizable_conversion): Remove unused expr variable. (vectorizable_operation): Remove unused shift_p variable. (vectorizable_store): Remove unused first_stmt_vinfo variable. * tree-ssa-operands.c (add_stmt_operand): Remove unused v_ann variable. * tree-vect-data-refs.c (vect_analyze_data_refs): Remove unused bb variable. (vect_permute_store_chain): Remove unused scalar_dest variable. (vect_supportable_dr_alignment): Remove unused invariant_in_outerloop variable. * tree-ssa-threadupdate.c (thread_single_edge): Remove unused local_info variable. * tree-optimize.c (tree_rest_of_compilation): Remove unused node variable. * optabs.c (expand_binop): Remove unused equiv_value variable. (emit_libcall_block): Remove unused prev variable. (init_optabs): Remove unused int_mode variable. * tree-ssa-structalias.c (scc_visit): Remove unused have_ref_node variable. (do_structure_copy): Remove unused lhsbase and rhsbase variables. (find_func_aliases): Remove unused rhstype variable. (ipa_pta_execute): Remove unused varid variable. gcc/objc/ * objc-act.c (generate_shared_structures): Remove unused sc_spec and decl_specs variables. (objc_build_message_expr): Remove unused loc variable. (objc_finish_message_expr): Remove unused saved_rtype variable. (encode_field_decl): Remove unused type variable. gcc/lto/ * lto-lang.c (handle_nonnull_attribute): Remove unused attr_arg_num variable. From-SVN: r154726
Jakub Jelinek committed -
From-SVN: r154724
Andy Hutchinson committed -
* trans-common.c (create_common): Remove unused offset variable. * io.c (gfc_match_wait): Remove unused loc variable. * trans-openmp.c (gfc_trans_omp_clauses): Remove unused old_clauses variable. (gfc_trans_omp_do): Remove unused outermost variable. * iresolve.c (gfc_resolve_alarm_sub, gfc_resolve_fseek_sub): Remove unused status variable. * module.c (number_use_names): Remove unused c variable. (load_derived_extensions): Remove unused nuse variable. * trans-expr.c (gfc_conv_substring): Remove unused var variable. * trans-types.c (gfc_get_array_descr_info): Remove unused offset_off variable. * matchexp.c (match_primary): Remove unused where variable. * trans-intrinsic.c (gfc_conv_intrinsic_bound): Remove unused cond2 variable. (gfc_conv_intrinsic_sizeof): Remove unused source variable. (gfc_conv_intrinsic_transfer): Remove unused stride variable. (gfc_conv_intrinsic_function): Remove unused isym variable. * arith.c (gfc_hollerith2real, gfc_hollerith2complex, gfc_hollerith2logical): Remove unused len variable. * parse.c (parse_derived): Remove unused derived_sym variable. * decl.c (variable_decl): Remove unused old_locus variable. * resolve.c (check_class_members): Remove unused tbp_sym variable. (resolve_ordinary_assign): Remove unused assign_proc variable. (resolve_equivalence): Remove unused value_name variable. * data.c (get_array_index): Remove unused re variable. * trans-array.c (gfc_conv_array_transpose): Remove unused src_info variable. (gfc_conv_resolve_dependencies): Remove unused aref and temp_dim variables. (gfc_conv_loop_setup): Remove unused dim and len variables. (gfc_walk_variable_expr): Remove unused head variable. * match.c (match_typebound_call): Remove unused var variable. * intrinsic.c (gfc_convert_chartype): Remove unused from_ts variable. From-SVN: r154722
Jakub Jelinek committed -
PR obj-c++/42156 * objc-act.c (objc_build_struct): INIT_TYPE_OBJC_INFO for type variants that don't have it initialized yet. From-SVN: r154721
Jakub Jelinek committed -
2009-11-28 David Binderman <dcb314@hotmail.com> * ira-color.c (put_allocno_into_bucket): Remove set but not used local variable hard_regs_num. * ira-lives.c (process_single_reg_class_operands): Remove cover_class. * loop-unswitch.c (unswitch_loop): Remove zero_bitmap. * lower-subreg.c (decompose_multiword_subregs): Remove next. From-SVN: r154720
David Binderman committed -
2009-11-28 Kai Tietz <kai.tietz@onevision.com> * gcc.dg/lto/20081210-1_0.c (uintptr_t): Use for w64 target type 'unsigned long long'. From-SVN: r154719
Kai Tietz committed -
From-SVN: r154718
GCC Administrator committed
-
- 27 Nov, 2009 15 commits
-
-
2009-11-27 Martin Jambor <mjambor@suse.cz> PR middle-end/42006 * tree-sra.c (get_replaced_param_substitute): Call create_tmp_var instead of create_tmp_var. Set DECL_GIMPLE_REG_P to one manually for vector and complex types. (get_adjustment_for_base): Describe return value in the comment. * testsuite/gcc.c-torture/execute/pr42006.c: New test. From-SVN: r154715
Martin Jambor committed -
* config/stormy16/stormy16-lib2.c: Arrange for separate compilation of each function. (__ffshi2): New function. (__stormy16_count_leading_zeros): New function. * config/stormy16/t-stormy16 (LIB2FUNCS_EXTRA): Use stub files to compile each function into its own object file. (stormy16-lib2-ashlsi3.c): New stub file. (stormy16-lib2-ashrsi3.c): New stub file. (stormy16-lib2-clzhi2.c): New stub file. (stormy16-lib2-count-leading-zeros.c): New stub file. (stormy16-lib2-ctzhi2.c): New stub file. (stormy16-lib2-divsi3.c): New stub file. (stormy16-lib2-ffshi2.c): New stub file. (stormy16-lib2-lshrsi3.c): New stub file. (stormy16-lib2-modsi3.c): New stub file. (stormy16-lib2-parityhi2.c): New stub file. (stormy16-lib2-popcounthi2.c): New stub file. (stormy16-lib2-udivmodsi4.c): New stub file. (stormy16-lib2-udivsi3.c): New stub file. (stormy16-lib2-umodsi3.c): New stub file. * longlong.h (count_leading_zeros): Define macro for stormy16 target. (COUNT_LEADING_ZEROS_0): Likewise. From-SVN: r154713
Nick Clifton committed -
cp/ 2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/38656 * cxx-pretty-print.c (pp_cxx_expression): Handle TEMPLATE_ID_EXPR. testsuite/ 2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/38656 * g++.dg/cpp0x/error2.C: New. From-SVN: r154712
Paolo Carlini committed -
* config/i386/sse.md (vec_interleave_highv16qi, vec_interleave_lowv16qi, vec_interleave_highv8hi, vec_interleave_lowv8hi, vec_interleave_highv4si, vec_interleave_lowv4si, vec_interleave_highv2di, vec_interleave_lowv2di, vec_interleave_highv4sf, vec_interleave_lowv4sf, vec_interleave_highv2df, vec_interleave_lowv2df): Remove expanders. (sse_unpcklps, sse_unpckhps, sse2_unpckhpd_exp, sse2_unpcklpd_exp, sse2_punpckhqdq, sse2_punpcklqdq, sse2_punpckhbw, sse2_punpcklbw, sse2_punpckhwd, sse2_punpcklwd, sse2_punpckhdq, sse2_punpckldq): Rename to their proper vec_interleave equivalent. Update all users to the new name. * config/i386/i386.c, config/i386/i386.md: Update all users. From-SVN: r154711
Richard Henderson committed -
PR rtl-optimization/42084 * cfgexpand.c (maybe_cleanup_end_of_block): Add new parameter, use it to stop walking. (expand_gimple_cond): Adjust call to above. testsuite/ * gcc.dg/pr42084.c: New test. From-SVN: r154709
Michael Matz committed -
re PR target/41810 (Cannot build gcc: gthr-default.h:466: error: '__mutex' was not declared in this scope) PR target/41810 * gthr-solaris.h (__gthread_mutex_destroy): Remove UNUSED. [SUPPORTS_WEAK && GTHREAD_USE_WEAK] (__gthread_active_p): Use __extension__ to allow cast from function pointer to object pointer in C++. * doc/install.texi (--enable-threads): Clarify use of Solaris threads. From-SVN: r154708
Rainer Orth committed -
* config/ia64/itanium1.md: Remove. * config/ia64/ia64.md: Do not include it. * config/ia64/ia64.c (ia64_handle_option): Remove "itanium", "itanium1", and "merced" from the processor alias table. (clocks, add_cycles): Remove global variables. (ia64_sched_reorder2): Don't set/use them. (ia64_dfa_new_cycle, ia64_h_i_d_extended, ia64_reorg): Likewise. (bundling): Likewise. Remove extra pass for MMMUL/MMSHF. From-SVN: r154707
Steven Bosscher committed -
2009-11-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (last_scheduled_insn): New variable. (s390_fpload_toreg, s390_z10_prevent_earlyload_conflicts): New functions. (s390_sched_reorder, s390_sched_variable_issue): New functions. (TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_REORDER): Target hooks defined. From-SVN: r154705
Andreas Krebbel committed -
PR c++/41906 * tree-eh.c (lower_catch): Stop after expanding a catch-all. testsuite/ * g++.dg/tree-ssa/pr41906.C: New testcase. From-SVN: r154704
Michael Matz committed -
2009-11-27 Richard Guenther <rguenther@suse.de> * timevar.def (TV_LOOP_MOVE_INVARIANTS, TV_LOOP_UNSWITCH, TV_LOOP_UNROLL, TV_LOOP_DOLOOP): New timevars. * loop-init.c (pass_rtl_move_loop_invariants): Use TV_LOOP_MOVE_INVARIANTS. (pass_rtl_unswitch): Use TV_LOOP_UNSWITCH. (pass_rtl_unroll_and_peel): Use TV_LOOP_UNROLL. (pass_rtl_doloop): Use TV_LOOP_DOLOOP. From-SVN: r154703
Richard Guenther committed -
2009-11-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * emit-rtl.c (next_active_insn, prev_active_insn): Correct comment. From-SVN: r154702
Andreas Krebbel committed -
* config/i386/i386.c (ix86_emit_restore_sse_regs_using_mov): Remove unused insn variable. * genemit.c (output_peephole2_scratches): Only declare and initialize _regs_allocated if it will be ever used. * cfgloopmanip.c (create_empty_if_region_on_edge): Remove unused succ_bb variable. (create_empty_loop_on_edge): Remove unused freq and cnt variables. * unwind-c.c (PERSONALITY_FUNCTION): Remove unused action_record variable. From-SVN: r154701
Jakub Jelinek committed -
* opts.c (decode_options): If optimize is bigger than 255, set it to 255. * gcc.dg/O16384.c: New test. From-SVN: r154699
Jakub Jelinek committed -
/cp 2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/35112 * pt.c (print_overloaded_functions): New. (print_candidates): Call the latter. * parser.c (cp_parser_class_name): Do not duplicate the diagnostics after the cp_parser_lookup_name call. /testsuite 2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/35112 * g++.dg/parse/crash53.C: New. * g++.dg/parse/error17.C: Adjust, error messages are not duplicated anymore. * g++.dg/template/dtor7.C: Remove xfail-ed dg-bogus directives. From-SVN: r154698
Paolo Carlini committed -
From-SVN: r154697
GCC Administrator committed
-
- 26 Nov, 2009 17 commits
-
-
* gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse2. * gcc.target/i386/vperm-v4sf-2.c: Require effective target ssse3. * gcc.target/i386/vperm-v4si-2.c: Ditto. * gcc.target/i386/vperm-v4si-2x.c: Require effective target xop. From-SVN: r154694
Uros Bizjak committed -
* config/i386/sse.md (mulv16qi3): Change back from an expander to an insn-and-split. (mulv4si): Mention AVX not XOP for AVX exception. (*sse2_mulv4si3): Likewise. (mulv2di3): Use vmulld not vpmacsdd for XOP expansion. Tidy. testsuite/ * gcc.target/i386/xop-imul64-vector.c: Look for vpmulld not vpmacsdd. From-SVN: r154693
Richard Henderson committed -
2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41807 * trans-const.c (gfc_conv_const): Set se->expr to a constant on error. From-SVN: r154690
Jerry DeLisle committed -
* cfgexpand (n_stack_vars_conflict): New static variable. (triangular_index): Reduce likelyhood of overflow by performing the division before the multiplication. (resize_stack_vars_conflict): Call fatal_error if overflow occurred in triangular_index. Update n_stack_vars_conflict. From-SVN: r154689
Bernd Schmidt committed -
PR rtl-opt/38582 * regrename.c (struct du_head): New members id, conflicts, hard_conflicts and cannot_rename. (enum scan_actions): Remove terminate_all_read and terminate_overlapping_read; add mark_all_read. (scan_actions_name): Likewise. (du_head_p): New typedef. Define a vector type for it. (id_to_chain): New static variable. (note_sets, clear_dead_regs): Delete functions. (free_chain_data): New function. (merge_overlapping_regs): Simply walk the conflicts bitmap. Remove argument B, all callers changed. (regrename_optimize): Allocate id_to_chain. Ignore chains that have the cannot_rename bit set. Update regno and nregs of a renamed chain. Call free_chain_data when done. (do_replace): Remove death notes when the renamed reg is set in the last insn; add them if not. (mark_conflict, note_sets_clobbers): New static function. (fail_current_block, current_id, open_chains_set, live_hard_regs): New static variables. (scan_rtx_reg): Keep track of conflicts between chains, and between chains and hard regs. Don't terminate chains when we find a read we can't handle, mark it unrenameable instead. For terminate_write, terminate chains that are written with an exact match or a superset of registers. Set fail_current_block if multi-word lifetimes are too complex to handle. (scan_rtx_address): Use mark_all_read instead of terminate_all_read. (build_def_use): Initialize current_id, live_chains and live_hard_regs; free memory for them when done. Rearrange the steps so that earlyclobbers are noted before reads are processed. Add new steps to keep track of hard register lifetimes outside insn operands. From-SVN: r154688
Bernd Schmidt committed -
PR rtl-opt/38582 * regrename.c (struct du_chain): Remove member earlyclobber. (scan_rtx_reg): Don't set it. Remove argument earlyclobber, all callers changed. (scan_rtx): Remove argument earlyclobber, all callers changed. (hide_operands, restore_operands, record_out_operands): New functions, broken out of build_def_use. (build_def_use): Call them as necessary. From-SVN: r154687
Bernd Schmidt committed -
PR c++/42026, DR 239 * parser.c (cp_parser_postfix_expression): A local extern also prevents arg-dependent lookup. From-SVN: r154686
Jason Merrill committed -
From-SVN: r154685
Jason Merrill committed -
From-SVN: r154684
Gabriel Dos Reis committed -
2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41278 * gfortran.dg/array_function_5.f90: New test. From-SVN: r154681
Jerry DeLisle committed -
2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41278 * trans-array.c (gfc_conv_array_transpose): Delete unnecessary assert. From-SVN: r154680
Jerry DeLisle committed -
2009-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/42048 PR fortran/42167 * gfortran.h (gfc_is_function_return_value): New prototype. * match.c (gfc_match_call): Use new function 'gfc_is_function_return_value'. * primary.c (gfc_is_function_return_value): New function to check if a symbol is the return value of an encompassing function. (match_actual_arg,gfc_match_rvalue,match_variable): Use new function 'gfc_is_function_return_value'. * resolve.c (resolve_common_blocks,resolve_actual_arglist): Ditto. 2009-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/42048 PR fortran/42167 * gfortran.dg/select_type_10.f03: New test case. * gfortran.dg/typebound_call_11.f03: Extended test case. From-SVN: r154679
Janus Weil committed -
utils.c (copy_type): Unshare the language-specific data and the contents of the language-specific... * gcc-interface/utils.c (copy_type): Unshare the language-specific data and the contents of the language-specific slot if needed. From-SVN: r154678
Eric Botcazou committed -
trans.c (gnat_to_gnu): Set the source location of the operator on both branches of the test in the... * gcc-interface/trans.c (gnat_to_gnu) <N_In>: Set the source location of the operator on both branches of the test in the generic case. From-SVN: r154677
Eric Botcazou committed -
2009-11-26 Richard Guenther <rguenther@suse.de> * tree-ssa-dce.c (nr_walks): New variable. (mark_aliased_reaching_defs_necessary): Adjust oracle cut-off. (perform_tree_ssa_dce): Init nr_walks. From-SVN: r154676
Richard Guenther committed -
re PR c++/10690 ([DR 115] Even when used within typeid(), a template-id generating an overload set with only one function should silently decay to a pointer to function) PR c++/10690 * rtti.c (get_tinfo_decl_dynamic): Call resolve_nondeduced_context. From-SVN: r154675
Jason Merrill committed -
* tree-eh.c (lower_eh_constructs_2): Don't add assignments below statements that can't fall thru. testsuite/ * g++.dg/tree-ssa/pr41905.C: New testcase. From-SVN: r154674
Michael Matz committed
-