- 01 May, 2005 3 commits
-
-
rakdver authored
PR tree-optimization/19126 * tree.c (build_int_cst_type): Avoid shift by size of type. * tree-scalar-evolution.c (simple_iv): Add allow_nonconstant_step argument. * tree-scalar-evolution.h (simple_iv): Declaration changed. * tree-ssa-loop-ivopts.c (struct iv_cand): Add depends_on field. (dump_cand): Dump depends_on information. (determine_biv_step): Add argument to simple_iv call. (contains_abnormal_ssa_name_p): Handle case expr == NULL. (find_bivs, find_givs_in_stmt_scev): Do not require step to be a constant. (add_candidate_1): Record depends_on for candidates. (tree_int_cst_sign_bit, constant_multiple_of): New functions. (get_computation_at, get_computation_cost_at, may_eliminate_iv): Handle ivs with nonconstant step. (iv_ca_set_remove_invariants, iv_ca_set_add_invariants): New functions. (iv_ca_set_no_cp, iv_ca_set_cp): Handle cand->depends_on. (create_new_iv): Unshare the step before passing it to create_iv. (free_loop_data): Free cand->depends_on. (build_addr_strip_iref): New function. (find_interesting_uses_address): Use build_addr_strip_iref. (strip_offset_1): Split the recursive part from strip_offset. Strip constant offset component_refs and array_refs. (strip_offset): Split the recursive part to strip_offset_1. (add_address_candidates): Removed. (add_derived_ivs_candidates): Do not use add_address_candidates. (add_iv_value_candidates): Add candidates with stripped constant offset. Consider all candidates with initial value 0 important. (struct affine_tree_combination): New. (aff_combination_const, aff_combination_elt, aff_combination_scale, aff_combination_add_elt, aff_combination_add, tree_to_aff_combination, add_elt_to_tree, aff_combination_to_tree, fold_affine_sum): New functions. (get_computation_at): Use fold_affine_sum. * tree-ssa-loop-manip.c (create_iv): Handle ivs with nonconstant step. * tree-ssa-loop-niter.c (number_of_iterations_exit): Add argument to simple_iv call. * gcc.dg/tree-ssa/loop-8.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99059 138bc75d-0d04-0410-961f-82ee72b054a4
-
matz authored
TARGET_INLINE_ALL_STRINGOPS. * gcc.dg/inline-mcpy.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99054 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99052 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 30 Apr, 2005 10 commits
-
-
tkoenig authored
PR libfortran/18958 libgfortran.h: Change typedef of index_type from size_t to ssize_t. 2005-04-30 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/18958 * gfortran.dg/eoshift.f90: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99047 138bc75d-0d04-0410-961f-82ee72b054a4
-
gerald authored
* config/freebsd-spec.h (FBSD_CPP_SPEC): Add %(cpp_arch). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99046 138bc75d-0d04-0410-961f-82ee72b054a4
-
pbrook authored
* config/arm/bpabi.h (RENAME_LIBRARY_SET): Always use .thumb_set in thumb mode. * config/arm/ieee754-df.S: Use __INTERWORKING_STUBS__. * config/arm/ieee754-sf.S: Ditto. * config/arm/lib1funcs.asm: Define and use __INTERWORKING_STUBS__. (FUNC_ALIAS): Use .thumb_set for thumb routines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99043 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99041 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* doc/options.texi: Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99038 138bc75d-0d04-0410-961f-82ee72b054a4
-
nathan authored
gcc_unreachable as appropriate. (split_adds_subs, cond_string, print_operand, h8300_initial_elimination_offset, h8300_classify_operand, h8300_unary_length, h8300_short_immediate_length, h8300_bitfield_length, h8300_binary_length, h8300_insn_length_from_table, compute_mov_length, output_plussi, compute_plussi_length, compute_plussi_cc, output_logical_op, compute_logical_op_length, compute_logical_op_cc, output_h8sx_shift, get_shift_alg, h8300_shift_needs_scratch_p, output_a_shift, compute_a_shift_length, compute_a_shift_cc, output_a_rotate, compute_a_rotate_length, fix_bit_operand, h8300_regs_ok_for_stm): Likewise. * config/h8300/h8300.md (*movsi_h8300, *movsf_h8300, monitor_prologue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99037 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
get_inv_cost, best_gain_for_invariant, find_invariants_to_move, move_invariants, init_inv_motion_data, free_inv_motion_data): Use VEC instead of VARRAY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99035 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
Nathan Myers <ncm@cantrip.org> PR libstdc++/21286 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Loop on short reads; remove the work-around for libstdc++/20806, not needed anymore. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99033 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
(instantiate_decls_1, instantiate_decl): Likewise. (instantiate_virtual_regs_1): Delete. (instantiate_virtual_regs_lossage): Delete. (instantiate_virtual_regs_in_rtx): New. (safe_insn_predicate): New. (instantiate_virtual_regs_in_insn): New. (instantiate_virtual_regs): Update to match all that. Only run instantiate_decls once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99032 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99028 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 29 Apr, 2005 27 commits
-
-
mkoch authored
* java/net/NetworkInterface.java (static): Removed. (NetworkInterface(String,InetAddress)): Made package-private. (NetworkInterface(String,InetAddress[])): New constructor. (getRealNetworkInterfaces): Removed. (getByName): Use VMNetworkInterface.getInterfaces(). (getByInetAddress): Likewise. (getNetworkInterfaces): Likewise. * java/net/VMNetworkInterface.java, java/net/natVMNetworkInterfaceNoNet.cc, java/net/natVMNetworkInterfacePosix.c,c java/net/natVMNetworkInterfaceWin32.cc: New files. * java/net/natNetworkInterfaceNoNet.cc, java/net/natNetworkInterfacePosix.cc, java/net/natNetworkInterfaceWin32.cc: Removed. * configure.ac * Makefile.am * configure, Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99021 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
(output_type_enum): ... new function. Fix thinko accessing TYPE_PARAM_STRUCT data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99020 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* tree.c (build_block): Removed unused 'tags' argument. * tree.h (build_block): Removed argument. gcc/java: * expr.c (build_jni_stub): Updated for change to build_block. gcc/treelang: * treetree.c (poplevel): Updated for change to build_block. gcc/fortran: * f95-lang.c (poplevel): Updated for change to build_block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99019 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* expr.c (force_evaluation_order): Declare 'saved' earlier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99018 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99016 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR tree-optimization/21272 PR tree-optimization/21266 * tree-if-conv.c (find_phi_replacement_condition): Fix think-o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99013 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
PR libstdc++/21238 * include/bits/locale_facets.tcc (num_get::_M_extract_float, num_get::_M_extract_int, num_get::do_get(bool&), num_put::_M_insert_int, num_put::_M_insert_float, num_put::do_put(bool), money_get::_M_extract, money_put::_M_insert): Adjust the __cache_type typedef not to forward to a numpunct/moneypunct typedef. * testsuite/testsuite_character.h: Add pod_uint and its numpunct and moneypunct specializations. * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id and moneypunct<pod_uint>::id. * testsuite/22_locale/num_get/3.cc: New. * testsuite/22_locale/num_put/3.cc: Likewise. * testsuite/22_locale/money_get/3.cc: Likewise. * testsuite/22_locale/money_put/3.cc: Likewise. * include/bits/locale_facets.tcc (money_put::_M_insert, time_get::_M_extract_name): Prefer operator== to operator!= on char_types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99012 138bc75d-0d04-0410-961f-82ee72b054a4
-
mkoch authored
* java/nio/channels/FileChannelImpl.java (FileChannelImpl(String, int)): Removed. (FileChannelImpl(File, int)): Added. Check if opened file is a directory. * java/io/FileInputStream.java(FileInputStream): Fixed javadocs. Call FileChannelImpl(File, int). * java/io/FileOutputStream.java (FileInputStream): Call FileChannelImpl(File, int). * java/io/RandomAccessFile.java (RandomAccessFile): Call FileChannelImpl(File, int). Switched constructors around. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99011 138bc75d-0d04-0410-961f-82ee72b054a4
-
aph authored
PR java/19285 * java-tree.h (soft_resolvepoolentry_node): New. (alloc_constant_fieldref): Declare. * expr.c (expand_java_field_op): Don't call class_init for accesses to static fields with indirect dispatch. * builtins.c (initialize_builtins): Add "__builtin_expect". * decl.c (soft_resolvepoolentry_node): New variable. (java_init_decl_processing): Create a decl for "_Jv_ResolvePoolEntry". * class.c (build_fieldref_cache_entry): New function. (build_static_field_ref): Rewrite for indirect dispatch. * constants.c (find_name_and_type_constant_tree): New function. (alloc_constant_fieldref): Likewise. (build_constants_constructor): Handle CONSTANT_Fieldref and CONSTANT_NameAndType. PR java/21115 * expr.c (force_evaluation_order): Convert outgoing args smaller than integer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99010 138bc75d-0d04-0410-961f-82ee72b054a4
-
matz authored
* postreload.c (reload_cse_move2add): Check for VOIDmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99008 138bc75d-0d04-0410-961f-82ee72b054a4
-
aph authored
PR java/19285 * prims.cc (_Jv_ResolvePoolEntry): New function. * include/jvm.h (_Jv_Linker::find_field): New arg: found_class. * link.cc (_Jv_Linker::find_field): New arg: found_class. (resolve_pool_entry): Initialize the class in which a field is found. (link_symbol_table): Pass new arg to found_class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99006 138bc75d-0d04-0410-961f-82ee72b054a4
-
bwilson authored
flag_reorder_blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99000 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
PR tree-optimization/21030 * tree-vrp.c (adjust_range_with_scev): Do not create invalid ranges where VR->MAX is smaller than VR->MIN. testsuite/ PR tree-optimization/21030 * gcc.dg/tree-ssa/pr21030.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98999 138bc75d-0d04-0410-961f-82ee72b054a4
-
dpatel authored
* tree-if-conv.c (find_phi_replacement_condition): Fix think-o. * gcc.dg/vect/vect-ifcvt-10.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98998 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98994 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
PR fortran/13082 PR fortran/18824 * trans-expr.c (gfc_conv_variable): Handle return values in functions with alternate entry points. * resolve.c (resolve_entries): Remove unnecessary string termination after snprintf. Set result of entry master. If all entries have the same type, set entry master's type to that common type, otherwise set mixed_entry_master attribute. * trans-types.c (gfc_get_mixed_entry_union): New function. (gfc_get_function_type): Use it for mixed_entry_master functions. * gfortran.h (symbol_attribute): Add mixed_entry_master bit. * decl.c (gfc_match_entry): Set entry->result properly for function ENTRY. * trans-decl.c (gfc_get_symbol_decl): For entry_master, skip over __entry argument. (build_entry_thunks): Handle return values in entry thunks. Clear BT_CHARACTER's ts.cl->backend_decl, so that it is not shared between multiple contexts. (gfc_get_fake_result_decl): Use DECL_ARGUMENTS from current_function_decl instead of sym->backend_decl. Skip over entry master's entry id argument. For mixed_entry_master entries or their results, return a COMPONENT_REF of the fake result. (gfc_trans_deferred_vars): Don't warn about missing return value if at least one entry point uses RESULT. (gfc_generate_function_code): For entry master returning CHARACTER, copy ts.cl->backend_decl to all entry result syms. * trans-array.c (gfc_trans_dummy_array_bias): Don't consider return values optional just because they are in entry master. * gfortran.dg/entry_4.f90: New test. * gfortran.fortran-torture/execute/entry_1.f90: New test. * gfortran.fortran-torture/execute/entry_2.f90: New test. * gfortran.fortran-torture/execute/entry_3.f90: New test. * gfortran.fortran-torture/execute/entry_4.f90: New test. * gfortran.fortran-torture/execute/entry_5.f90: New test. * gfortran.fortran-torture/execute/entry_6.f90: New test. * gfortran.fortran-torture/execute/entry_7.f90: New test. 2005-04-29 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> * gfortran.fortran-torture/execute/entry_8.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98993 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* doc/tree-ssa.texi: Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98992 138bc75d-0d04-0410-961f-82ee72b054a4
-
nathan authored
* config/fr30/fr30.c (fr30_expand_prologue): Use gcc_assert and gcc_unreachable as appropriate. (fr30_expand_epilogue, fr30_setup_incoming_varargs, fr30_print_operand, fr30_move_double): Likewise. * config/fr30/fr30.md (*movsi_internal, *movsf_internal): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98991 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* io/unix.c (fd_truncate): Provide chsize as alternative to ftruncate. * config.h.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98989 138bc75d-0d04-0410-961f-82ee72b054a4
-
jules authored
definition has already been provided. (ARM_EABI_DTORS_SECTION_OP): Likewise. * config/arm/symbian.h (ARM_EABI_CTORS_SECTION_OP): Define. (ARM_EABI_DTORS_SECTION_OP): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98988 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
* config/s390/s390.md ("prologue_tpf", "epilogue_tpf"): Alter trace hooks calls to improve performance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98987 138bc75d-0d04-0410-961f-82ee72b054a4
-
jules authored
* function.c (HAS_INIT_SECTION): Do not define. Instead, make sure that INVOKE__main is set correctly. (expand_main_function): Test INVOKE__main. * libgcc2.c: Do not define __main when using .init_array. * config/arm/arm.c (arm_elf_asm_constructor): New function. * config/arm/arm.h (CTORS_SECTION_ASM_OP): Define, with specialized libgcc version. (DTORS_SECTION_ASM_OP): Likewise. (CTOR_LIST_BEGIN): Define specially when in libgcc. (CTOR_LIST_END): Likewise. (DTOR_LIST_BEGIN): Likewise. (DTOR_LIST_END): Likewise. * config/arm/bpapi.h (INIT_SECTION_ASM_OP): Do not define it. (FINI_SECTION_ASM_OP): Likewise. (INIT_ARRAY_SECTION_ASM_OP): Define. (FINI_ARRAY_SECTION_ASM_OP): Likewise. * config/arm/elf.h (TARGET_ASM_CONSTRUCTOR): Define. (SUPPORTS_INIT_PRIORITY): Evaluate to false for EABI based targets. * doc/tm.texi (INIT_ARRAY_SECTION_ASM_OP): Document. (FINI_ARRAY_SECTION_ASM_OP): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98986 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
* configure: Regenerate. config: 2005-04-29 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_GNAT): Remove stray break. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98985 138bc75d-0d04-0410-961f-82ee72b054a4
-
corsepiu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98984 138bc75d-0d04-0410-961f-82ee72b054a4
-
corsepiu authored
* configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*, powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98983 138bc75d-0d04-0410-961f-82ee72b054a4
-
nathan authored
gcc_assert and gcc_unreachable as appropriate. (output_dbcc_and_branch, output_scc_di, legitimize_pic_address, const_int_cost, output_move_const_into_data_reg, output_move_qimode, output_move_double, find_addr_reg, print_operand, print_operand_address): Likewise. * config/m68k/m68k.md (adddi3, subdi3, negsf2, negdf2, abssf2, absdf2, sordered, sunordered, suneq, sunge, sungt, sunle, sunlt, sltgt, bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt, *bordered_rev, *bunordered_rev, *buneq_rev, *bunge_rev, *bunle_rev, *bunlt_rev, *bltgt_rev, negxf2, absxf2, conditional_trap): Likewise. * config/m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Remove unreachable code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98981 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
Tobias forgot this in previous commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98980 138bc75d-0d04-0410-961f-82ee72b054a4
-