aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-11-04bitmap.c (bitmap_print): Make bitno unsigned.Nathan Sidwell34-124/+156
* bitmap.c (bitmap_print): Make bitno unsigned. * bt-load.c (clear_btr_from_live_range, btr_def_live_range): Likewise. * caller-save.c (save_call_clobbered_regs): Likewise. * cfganal.c (compute_dominance_frontiers_1): Likewise. * cfgcleanup.c (thread_jump): Likewise. * cfgrtl.c (safe_insert_insn_on_edge): Likewise. * conflict.c (conflict_graph_compute): Likewise. * ddg.c (add_deps_for_use): Likewise. * df.c (df_refs_update): Likewise. * except.c (remove_eh_handler): Likewise. * flow.c (verify_local_live_at_start, update_life_info, initialize_uninitialized_subregs, propagate_one_insn, free_propagate_block_info, propagate_block, find_use_as_address, reg_set_to_hard_reg_set): Likewise. * gcse.c (clear_modify_mem_tables): Likewise. * global.c (global_conflicts, build_insn_chain): Likewise. * ifcvt.c (dead_or_predicable): Likewise. * local-alloc.c (update_equiv_regs): Likewise. * loop.c (load_mems): Likewise. * ra-build.c (livethrough_conflicts_bb, conflicts_between_webs): Likewise. * ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill): Likewise. * reload1.c (order_regs_for_reload, finish_spills): Likewise. * sched-deps.c (sched_analyze_insn, free_deps): Likewise. * sched-rgn.c (propagate_deps * tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise. * tree-dfa.c (dump_dfa_stats tree-into-ssa.c (compute_global_livein, insert_phi_nodes, insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags): Likewise. * tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars, free_temp_expr_table, find_replaceable_exprs): Likewise. * tree-sra.c (scan_function, scalarize_parms): Likewise. * tree-ssa-alias.c (init_alias_info, compute_points_to_and_addr_escape, compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise. * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise. * tree-ssa-live.c (new_tree_live_info, live_worklist, calculate_live_on_entry, calculate_live_on_exit, compare_pairs, sort_coalesce_list, build_tree_conflict_graph, dump_live_info tree-ssa-loop-manip.c (add_exit_phis_var): Likewise. tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops, add_call_read_ops): Likewise. * tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise. * tree-ssa-live.h (num_var_partitions): Return unsigned. From-SVN: r90053
2004-11-04re PR tree-optimization/18009 (ICE in vect_transform_stmt, at ↵Dorit Naishlos3-90/+215
tree-vectorizer.c:2625 (testcase included)) PR tree-optimization/18009 * tree-vectorizer.h (enum dr_alignment_support): New type. (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed. (LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a single data_reference (instead of a varray of references). * tree-vectorizer.c (new_loop_vec_info): Likewise. (vect_gen_niters_for_prolog_loop): Likewise. (vect_update_inits_of_drs): Likewise. (vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to vect_enhance_data_refs_alignment. (vect_do_peeling_for_alignment): Likewise. (vect_enhance_data_refs_alignment): Decide if and by how much to peel; this functionality used to be in vect_analyze_data_refs_alignment. Also update DR_MISALIGNMENT due to peeling; this functionality used to be in vect_update_inits_of_drs and vect_do_peeling_for_alignment). (vect_analyze_data_refs_alignment): Decision on whether and by how much to peel moved to vect_enhance_data_refs_alignment. Call vect_supportable_dr_alignment. (vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE. (vect_compute_data_refs_alignment): Return bool. Consider return value of vect_compute_data_ref_alignment and return true/false accordingly. (vect_enhance_data_refs_alignment): Consider return value of vect_compute_data_refs_alignment and return true/false accordingly. (vect_supportable_dr_alignment): New function. (vectorizable_store): Call vect_supportable_dr_alignment. (vectorizable_load): Call vect_supportable_dr_alignment. Alignment support checks moved from here to vect_supportable_dr_alignment. (vect_transform_loop): Avoid 80 columns overflow. From-SVN: r90051
2004-11-03timevar.c (timevar_enable): Change from static.Andrew Pinski3-12/+25
2004-11-03 Andrew Pinski <pinskia@physics.uc.edu> * timevar.c (timevar_enable): Change from static. (timevar_push): Rename to ... (timevar_push_1): this and remove the enabled check. (timevar_pop): Rename to ... (timevar_pop_1): this and remove the enabled check. * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops. (timevar_pop): New macro. (timevar_push): New macro. (timevar_enable): Declare. From-SVN: r90050
2004-11-03darwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries.Andrew Pinski2-0/+12
2004-11-03 Andrew Pinski <pinskia@physics.uc.edu> * config/darwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries. From-SVN: r90049
2004-11-04* g++.dg/rtti/tinfo1.C: Remove xfails.Ben Elliston2-4/+8
From-SVN: r90048
2004-11-03predict.c (struct block_info_def): Kill "tovisit" field.Jeff Law2-27/+46
* predict.c (struct block_info_def): Kill "tovisit" field. (propagate_freq): Accept new "tovisit" parameter. Change read/write access methods for "tovisit" to check the "tovisit" bitmap instead of a bit in block_info_def. (estimate_loops_at_level): Allocate "tovisit" bitmap. Pass it to propagate_freq. From-SVN: r90046
2004-11-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90044.2
2004-11-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90043.2
2004-11-03jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.Tom Tromey3-4/+11
* jni.cc (_Jv_JNI_NewObjectArray): Fixed return type. * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now returns jobjectArray. (_Jv_JNIEnv::NewObjectArray): Likewise. From-SVN: r90041
2004-11-03verify.cc (state::check_no_uninitialized_objects): Removed.Tom Tromey2-34/+29
* verify.cc (state::check_no_uninitialized_objects): Removed. (push_jump): Updated. (push_exception_jump): Likewise. (handle_ret_insn): Likewise. (handle_jsr_insn): Likewise. From-SVN: r90040
2004-11-04enum5.C (enum conditions): Move the packed attribute to the definition to ↵Ben Elliston2-5/+10
satisfy the new C++ parser. * g++.old-deja/g++.other/enum5.C (enum conditions): Move the packed attribute to the definition to satisfy the new C++ parser. From-SVN: r90039
2004-11-03stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in ↵Jonathan Wakely2-4/+9
the prologue. 2004-11-03 Jonathan Wakely <redi@gcc.gnu.org> * include/bits/stl_numeric.h (partial_sum, adjacent_difference): Avoid dereferencing two times __first in the prologue. From-SVN: r90038
2004-11-03stdarg-2.c (foo): Split multiple invocations of va_arg.Eric Botcazou2-3/+11
* gcc.c-torture/execute/stdarg-2.c (foo): Split multiple invocations of va_arg. From-SVN: r90037
2004-11-03s390-protos.h (s390_split_access_reg): Add prototype.Ulrich Weigand5-76/+176
* config/s390/s390-protos.h (s390_split_access_reg): Add prototype. * config/s390/s390.c (s390_split_access_reg): New function. (regclass_map): Add access registers. (get_thread_pointer): Use access register instead of UNSPEC_TP. * config/s390/s390.h (FIRST_PSEUDO_REGISTER): Set to 38. (ACCESS_REGNO_P, ACCESS_REG_P): New macros. (TP_REGNUM): New define. (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, REG_ALLOC_ORDER): Add access registers. (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS, CANNOT_CHANGE_MODE_CLASS): Support access registers. (enum reg_class): Add ACCESS_REGS. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise. (REG_CLASS_FROM_LETTER): Add 't' constraint. (REGISTER_NAMES): Add access registers. * config/s390/s390.md (UNSPEC_TP): Remove. ("*movdi_64"): Add access register alternatives. Provide splitters to split DImode access register <-> GPR moves into SImode moves. ("*movsi_zarch", "*movsi_esa"): Add access register alternatives. ("movstrictsi"): Likewise. ("get_tp_64", "get_tp_31"): Reimplement using access registers. ("set_tp_64", "set_tp_31"): Likewise. ("*set_tp"): New insn. From-SVN: r90036
2004-11-03tree-phinodes.c (resize_phi_node): Copy only a portion of the PHI node ↵Kazu Hirata2-2/+9
currently in use. * tree-phinodes.c (resize_phi_node): Copy only a portion of the PHI node currently in use. From-SVN: r90035
2004-11-03re PR middle-end/18231 (Nested inline function not inlined)Andrew Pinski2-5/+10
2004-11-03 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18231 * tree.c (staticp) <case FUNCTION_DECL>: Nested functions are static also. From-SVN: r90033
2004-11-03re PR tree-optimization/18270 (internal compiler error: in ↵Andrew MacLeod2-0/+25
tree_redirect_edge_and_branch, at tree-cfg.c:4146) 2004-11-03 Andrew MacLeod <amacleod@redhat.com> PR tree-optimization/18270 * tree-outof-ssa.c (analyze_edges_for_bb): If a block has any incoming abnormal edges, simply commit any pending stmts on all incoming edges. From-SVN: r90031
2004-11-03tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not cause extra ↵Ulrich Weigand2-10/+10
costs. * tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not cause extra costs. Generate canonical RTL. From-SVN: r90030
2004-11-03lambda-code.c (lambda_compute_auxillary_space): Update comments.Daniel Berlin4-25/+80
2004-11-02 Daniel Berlin <dberlin@dberlin.org> * lambda-code.c (lambda_compute_auxillary_space): Update comments. (lambda_compute_target_space). Ditto. * lambda.h (lambda_trans_matrix): Ditto. (lambda_linear_expression): Ditto. (lambda_body_vector): Ditto. (lambda_loopnest): Ditto. * tree-loop-linear.c (gather_interchange_stats): Combine tests, update comments, and remove pointless addition of 0. (linear_transform_loops): Update comments. From-SVN: r90029
2004-11-03tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of CEIL_MOD_EXPR.Sebastian Pop2-1/+6
* tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of CEIL_MOD_EXPR. From-SVN: r90028
2004-11-03stmt.c (expand_case): Speed up code to detect duplicate case label targets ↵Jeff Law2-9/+17
and count unique case... * stmt.c (expand_case): Speed up code to detect duplicate case label targets and count unique case label targets. From-SVN: r90027
2004-11-03stl_numeric.h: Trivial formatting fixes.Paolo Carlini2-32/+50
2004-11-03 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_numeric.h: Trivial formatting fixes. From-SVN: r90024
2004-11-03c++config: Spacing.Benjamin Kosnik10-15/+37
2004-11-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Spacing. * libsupc++/del_op.cc: Include c++config.h. * libsupc++/del_opnt.cc: Same. * libsupc++/del_opv.cc: Same. * libsupc++/del_opvnt.cc: Same. * libsupc++/new_op.cc: Same. * libsupc++/new_opnt.cc: Same. * libsupc++/new_opv.cc: Same. * libsupc++/new_opvnt.cc: Same. From-SVN: r90021
2004-11-03* cppdefault.c, cppdefault.h, timevar.h: Update copyright.Kazu Hirata4-3/+7
From-SVN: r90020
2004-11-03* bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.Kazu Hirata4-4/+8
From-SVN: r90019
2004-11-02* config/os/bsd/darwin/os_defines.hAaron W. LaFramboise11-8/+40
(_GLIBCXX_WEAK_DEFINITION): Define. * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define. * libsupc++/del_op.cc (operator delete(void *)): Use _GLIBCXX_WEAK_DEFINITION. * libsupc++/del_opnt.cc (operator delete(void *, const std::nothrow_t&)): Same. * libsupc++/del_opv.cc (operator delete[](void *)): Same. * libsupc++/del_opvnt.cc (operator delete[](void *, const std::nothrow_t&)): Same. * libsupc++/new_op.cc (operator new(std::size_t)): Same. * libsupc++/new_opnt.cc (operator new(std::size_t, const std::nothrow_t&)): Same * libsupc++/new_opv.cc (operator new[](std::size_t)): Same. * libsupc++/new_opvnt.cc (operator new[](std::size_t, const std::nothrow_t&)): Same. From-SVN: r90017
2004-11-03re PR c++/18124 (ICE with invalid template template parameter)Mark Mitchell8-11/+64
PR c++/18124 * parser.c (cp_parser_type_parameter): Robustify. PR c++/18155 * parser.c (cp_parser_single_declaration): Disallow template typedefs. PR c++/18177 * typeck.c (build_const_cast): Use error_operand_p. PR c++/18124 * g++.dg/template/crash25.C: New test. PR c++/18155 * g++.dg/template/typedef2.C: New test. * g++.dg/parse/crash13.C: Adjust error markers. PR c++/18177 * g++.dg/conversion/const3.C: New test. From-SVN: r90016
2004-11-03tree-cfg.c (find_taken_edge): Abort if we are given a statement that is ↵Kazu Hirata2-4/+9
neither COND_EXPR nor SWITCH_EXPR. * tree-cfg.c (find_taken_edge): Abort if we are given a statement that is neither COND_EXPR nor SWITCH_EXPR. From-SVN: r90015
2004-11-03locale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact ↵Paolo Carlini2-74/+89
strict minimum number of times... 2004-11-02 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact strict minimum number of times; likewise for __beg != __end; slightly simplify main parsing loop. From-SVN: r90012
2004-11-03re PR fortran/17535 (gfortran with module procedures)Tobias Schlüter6-0/+88
fortran/ PR fortran/17535 PR fortran/17583 PR fortran/17713 * module.c (write_symbol1): Set module_name for dummy arguments. testsuite/ PR fortran/17535 PR fortran/17583 PR fortran/17713 * gfortran.dg/generic_[123].f90: New testcases. From-SVN: r90011
2004-11-03Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90009.2
2004-11-03Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90007.2
2004-11-02re PR libstdc++/17627 (M68060 fails with ↵Benjamin Kosnik2-0/+18
libstdc++-v3/config/cpu/m68k/atomicity.h) 2004-11-02 Benjamin Kosnik <bkoz@redhat.com> Lothar Werzinger <lothar@xcerla.com> PR libstdc++/17627 * src/debug.cc: Include concurrence, use mutexes. (_Safe_iterator_base::_M_attach): Here. (_Safe_iterator_base::_M_detach): Here. Co-Authored-By: Lothar Werzinger <lothar@xcerla.com> From-SVN: r90004
2004-11-02* de.po: Update.Joseph Myers2-443/+447
From-SVN: r90002
2004-11-02fold-const.c (fold): Reassociate also (x - mult) + mult and (mult - x) + mult.Zdenek Dvorak2-10/+23
* fold-const.c (fold): Reassociate also (x - mult) + mult and (mult - x) + mult. Cast operands of expression after applying distributive law to the correct types. Apply distributive law to a * c - b * c for all non-float types. From-SVN: r90000
2004-11-02configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't ↵Geoffrey Keating4-6/+31
want to run them... * configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't want to run them now; instead, set them to stmp-install-fixproto or stmp-install-fixinc. * Makefile.in (stmp-install-fixproto): New. (stmp-install-fixinc): New. * configure: Regenerate. From-SVN: r89999
2004-11-02flow.c (init_propagate_block_info): Use bitmap_empty_p on result of bitmap_xor.Nathan Sidwell2-3/+10
* flow.c (init_propagate_block_info): Use bitmap_empty_p on result of bitmap_xor. From-SVN: r89998
2004-11-02c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.Ziemowit Laski8-31/+49
[gcc/ChangeLog] 2004-11-02 Ziemowit Laski <zlaski@apple.com> * c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. (c_types_compatible_p): Move function definition... * c-objc-common.c (c_types_compatible_p): ...here. * c-objc-common.h (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from c-lang.c. [gcc/cp/ChangeLog] 2004-11-02 Ziemowit Laski <zlaski@apple.com> * cp-lang.c (cxx_types_compatible_p): Remove prototype and definition. (LANG_HOOKS_TYPES_COMPATIBLE_P): Move to cp-objcp-common.h. * cp-objcp-common.c (cxx_types_compatible_p): Moved definition here from cp-lang.c. * cp-objcp-common.h (cxx_types_compatible_p): Moved prototype here from cp-lang.c. (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from cp-lang.c. From-SVN: r89997
2004-11-02re PR libstdc++/17922 (Spurious warnings about std::ios_base::seekdir)Benjamin Kosnik14-18/+470
2004-11-02 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/17922 * include/bits/ios_base.h : Add enum values. * testsuite/testsuite_hooks.h (bitmask_operators): Add function. * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New. * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/iostate/case_label.cc: New. * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/openmode/case_label.cc: New. * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New. * config/io/c_io_stdio.h (__ios_flags): Mark deprecated. * src/ios.cc: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. From-SVN: r89996
2004-11-02cfgloop.h (struct loop): Update comment.Steven Bosscher8-336/+350
* cfgloop.h (struct loop): Update comment. * cse.c (cse_main): Remove obsolete comment. * expr.h (gen_cond_trap): Move prototype under functions provided by optabs.c. (canonicalize_condition, get_condition): Move to... * rtl.h (canonicalize_condition, get_condition): ...here. (branch_target_load_optimize): Add comment that this function is in bt-load.c. * loop.c (canonicalize_condition, get_condition): Move to... * rtlanal.c (canonicalize_condition, get_condition): ...here. * sched-deps.c (get_condition): Rename to sched_get_condition. (add_dependence): Update this caller. From-SVN: r89995
2004-11-02re PR java/17265 (Libjava doesn't build)Bryce McKinlay2-1/+56
2004-11-02 Bryce McKinlay <mckinlay@redhat.com> PR java/17265 * class.c: Reinstate 2004-08-18 patch. (make_local_function_alias): Don't create an alias for extern (native) functions. From-SVN: r89993
2004-11-02uninit-C.c: Remove special-casing for SPARC.Eric Botcazou3-2/+9
* gcc.dg/uninit-C.c: Remove special-casing for SPARC. * gcc.dg/uninit-H.c: Define to "sp" on SPARC. From-SVN: r89991
2004-11-02re PR tree-optimization/16808 (verify_ssa failed: Missing definition for ↵Andrew Pinski4-0/+50
SSA_NAME) 2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/16808 * gcc.c-torture/compile/pr16808.c: New test. 2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/16808 * tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure that the vops get marked for renaming. From-SVN: r89990
2004-11-02Correct the date in my changelog entryAndrew Pinski1-1/+1
From-SVN: r89989
2004-11-02re PR ada/18228 (Ada uses the wrong file ending for its shared library on ↵Andrew Pinski2-0/+8
darwin) 2004-10-26 Andrew Pinski <pinskia@physics.uc.edu> PR ada/18228 * Makefile.in (darwin): Set soext to .dylib. From-SVN: r89988
2004-11-02s390.md ("movcc"): Set type attribute.Andreas Krebbel2-1/+6
2004-11-02 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("movcc"): Set type attribute. From-SVN: r89986
2004-11-02tree-phinodes.c (add_phi_arg): Add an assertion that the edge already exists.Kazu Hirata2-8/+8
* tree-phinodes.c (add_phi_arg): Add an assertion that the edge already exists. From-SVN: r89985
2004-11-02tree-phinodes.c (remove_phi_arg_num): Do not zero the element that's being ↵Kazu Hirata2-4/+9
removed. * tree-phinodes.c (remove_phi_arg_num): Do not zero the element that's being removed. From-SVN: r89984
2004-11-02tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI arguments using ↵Kazu Hirata2-16/+21
PENDING_STMT. * tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI arguments using PENDING_STMT. (thread_block): Call copy_phis_to_block after redirecting an edge. From-SVN: r89983
2004-11-02bitmap.h (bitmap_and, [...]): Produce void.Nathan Sidwell5-22/+38
* bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_iot_into, bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void. (bitmap_ior_and_compl_into): Produce bool. (bitmap_union_of_diff): Rename to ... (bitmap_ior_and_compl): ... here. Produce bool. * bitmap.c (bitmap_ior_and_compl_into): Return bool. Use bitmap_operation directly. (bitmap_union_of_diff): Rename to ... (bitmap_ior_and_compl): ... here. Return bool, use bitmap_operation directly. * df.c (df_rd_transfer_function): Use bitmap_ior_and_compl. (df_ru_transfer_function, df_lr_transfer_function): Likewise. * global.c (modify_bb_reg_pav): Likewise. From-SVN: r89982