- 29 Apr, 2005 40 commits
-
-
* 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. From-SVN: r99021
Michael Koch committed -
* gengtype.c (write_func_for_structure): Split out ... (output_type_enum): ... new function. Fix thinko accessing TYPE_PARAM_STRUCT data. Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com> From-SVN: r99020
Richard Henderson committed -
gcc: * 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. From-SVN: r99019
Tom Tromey committed -
2005-04-29 Andrew Pinski <pinskia@gcc.gnu.org> * expr.c (force_evaluation_order): Declare 'saved' earlier. From-SVN: r99018
Andrew Pinski committed -
2005-04-29 Andrew Haley <aph@redhat.com> * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend. From-SVN: r99016
Andrew Haley committed -
2005-04-29 Devang Patel <dpatel@apple.com> PR tree-optimization/21272 PR tree-optimization/21266 * tree-if-conv.c (find_phi_replacement_condition): Fix think-o. From-SVN: r99013
Andrew Pinski committed -
re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 Paolo Carlini <pcarlini@suse.de> 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. From-SVN: r99012
Paolo Carlini committed -
* 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. From-SVN: r99011
Dalibor Topic committed -
2005-04-28 Andrew Haley <aph@redhat.com> 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. From-SVN: r99010
Andrew Haley committed -
PR rtl-optimization/21144 * postreload.c (reload_cse_move2add): Check for VOIDmode. From-SVN: r99008
Michael Matz committed -
2005-04-27 Andrew Haley <aph@redhat.com> 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. From-SVN: r99006
Andrew Haley committed -
* config/xtensa/xtensa.h (OPTIMIZATION_OPTIONS): Define to disable flag_reorder_blocks. From-SVN: r99000
Bob Wilson committed -
gcc/ 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. From-SVN: r98999
Kazu Hirata committed -
PR tree-optimization/21272 * tree-if-conv.c (find_phi_replacement_condition): Fix think-o. * gcc.dg/vect/vect-ifcvt-10.c: New. From-SVN: r98998
Devang Patel committed -
From-SVN: r98994
Kazu Hirata committed -
2005-04-29 Jakub Jelinek <jakub@redhat.com> 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. From-SVN: r98993
Jakub Jelinek committed -
* tree-flow-inline.h: Fix a comment typo. * doc/tree-ssa.texi: Fix a typo. From-SVN: r98992
Kazu Hirata committed -
* 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. From-SVN: r98991
Nathan Sidwell committed -
* configure.ac: Check for ftruncate and chsize. * io/unix.c (fd_truncate): Provide chsize as alternative to ftruncate. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r98989
Francois-Xavier Coudert committed -
* config/arm/arm.h (ARM_EABI_CTORS_SECTION_OP): Do not define if a 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. From-SVN: r98988
Mark Mitchell committed -
2005-04-29 Jim Tison <jtison@us.ibm.com> * config/s390/s390.md ("prologue_tpf", "epilogue_tpf"): Alter trace hooks calls to improve performance. From-SVN: r98987
Jim Tison committed -
* crtstuff.c: Handle targets that use .init_array. * 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. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r98986
Julian Brown committed -
2005-04-29 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. config: 2005-04-29 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_GNAT): Remove stray break. From-SVN: r98985
Paolo Bonzini committed -
From-SVN: r98984
Ralf Corsepius committed -
2005-05-29 Ralf Corsepius <ralf.corsepius@rtems.org> * configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*, powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*. * configure: Regenerate. From-SVN: r98983
Ralf Corsepius committed -
* config/m68k/m68k.c (m68k_initial_elimination_offset): Use 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. From-SVN: r98981
Nathan Sidwell committed -
* gfortran.h (gfc_namespace): Add seen_implicit_none field, Tobias forgot this in previous commit. From-SVN: r98980
Francois-Xavier Coudert committed -
* config/xtensa/xtensa.c (gen_int_relational): Use gcc_assert and gcc_unreachable as appropriate. (gen_conditional_move, xtensa_split_operand_pair, xtensa_split_operand_pair, xtensa_copy_incoming_a7, xtensa_copy_incoming_a7, xtensa_copy_incoming_a7, xtensa_copy_incoming_a7, xtensa_output_literal, xtensa_output_literal, xtensa_output_literal): Likewise. * config/xtensa/xtensa.h (INITIAL_ELIMINATION_OFFSET): Likewise. * config/xtensa/xtensa.md (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue, *maskfalse, movsicc_internal0, movsicc_internal1, movsfcc_internal0, movsfcc_internal1): Likewise. From-SVN: r98979
Nathan Sidwell committed -
* java/nio/charset/Charset.java (provider): Reformatted. From-SVN: r98978
Michael Koch committed -
* gnu/java/net/protocol/http/HTTPConnection.java: (userAgent): Initialize from system properties. (initUserAgent): Removed. From-SVN: r98977
Michael Koch committed -
2005-04-29 Mark Wielaard <mark@klomp.org> * java/util/ResourceBundle.java (getObject): Clarify MissingResourceException detailed message. (tryBundle(String,ClassLoader)): Likewise. From-SVN: r98976
Mark Wielaard committed -
* java/beans/FeatureDescriptor.java: (getShortDescription): Implemented fallback mechanism and fixed documentation (fixes bug #12637). (getDisplayName): Dito. 2005-04-29 Robert Schuster <thebohemian@gmx.net> * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors will now be set correctly. (flushCaches): Now flushes all cached intermediate data. From-SVN: r98975
Robert Schuster committed -
2005-04-29 Paul Brook <paul@codesourcery.com> * trans-expr.c (gfc_conv_expr_present): Fix broken assert. Update comment. From-SVN: r98968
Paul Brook committed -
* config/i386/i386.h (HI_REGISTER_NAMES): Fix typos in comment. (ADDITIONAL_REGISTER_NAMES): Delete obsolete mmx register entries. From-SVN: r98966
James E Wilson committed -
* opt-functions.awk (var_set): Emit proper initializer for non-target bitfields. From-SVN: r98962
DJ Delorie committed -
From-SVN: r98961
Tobias Schlüter committed -
* dbxout.c (have_used_extensions): Remove. (dbxout_type_fileds, dbxout_type, dbxout_symbol): Remove use of have_used_extensions. From-SVN: r98958
Devang Patel committed -
[[Split portion of a mixed commit.]] From-SVN: r98955.2
GCC Administrator committed -
fortran/ * gfortran.h (gfc_namespace): Add seen_implicit_none field. * symbol.c (gfc_set_implicit_none): Give error if there's a previous IMPLICIT NONE, set seen_implicit_none. (gfc_merge_new_implicit): Error if there's an IMPLICIT NONE statement. testsuite/ * gfortran.dg/implicit_4.f90: New test. From-SVN: r98952
Tobias Schlüter committed -
* lib/target-supports.exp (check_profiling_available): Return false for xtensa-*-elf. From-SVN: r98950
Bob Wilson committed
-