Commit Graph

65862 Commits

Author SHA1 Message Date
Michael Koch b376ca1ad6 SelectorImpl.java: Reworked import statements.
2005-02-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/SelectorImpl.java:
	Reworked import statements.
	(register): Removed unused code.
	* java/nio/channels/Channels.java: Reformatted.
	* java/nio/charset/Charset.java: Likewise.
	* java/rmi/server/RemoteObject.java
	(serialVersionUID): Made private.
	* java/rmi/server/UID.java
	(serialVersionUID): Likewise.

From-SVN: r95273
2005-02-19 09:10:39 +00:00
Michael Koch 4aec6c476f ActiveModeDTP.java, [...]: New files.
2005-02-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/net/protocol/ftp/ActiveModeDTP.java,
	gnu/java/net/protocol/ftp/BlockInputStream.java,
	gnu/java/net/protocol/ftp/BlockOutputStream.java,
	gnu/java/net/protocol/ftp/CompressedInputStream.java,
	gnu/java/net/protocol/ftp/CompressedOutputStream.java,
	gnu/java/net/protocol/ftp/DTPInputStream.java,
	gnu/java/net/protocol/ftp/DTP.java,
	gnu/java/net/protocol/ftp/DTPOutputStream.java,
	gnu/java/net/protocol/ftp/FTPConnection.java,
	gnu/java/net/protocol/ftp/FTPException.java,
	gnu/java/net/protocol/ftp/FTPResponse.java,
	gnu/java/net/protocol/ftp/FTPURLConnection.java,
	gnu/java/net/protocol/ftp/Handler.java,
	gnu/java/net/protocol/ftp/PassiveModeDTP.java,
	gnu/java/net/protocol/ftp/StreamInputStream.java,
	gnu/java/net/protocol/ftp/StreamOutputStream.java,
	gnu/java/net/CRLFInputStream.java,
	gnu/java/net/CRLFOutputStream.java,
	gnu/java/net/GetLocalHostAction.java,
	gnu/java/net/protocol/ftp/package.html: New files.
	* Makefile.am: Added new files.
	* Makefile.in: Regenerated.

From-SVN: r95272
2005-02-19 08:53:53 +00:00
Tom Tromey fc544c8180 link.cc (make_vtable): Remove abstract method check.
* link.cc (make_vtable): Remove abstract method check.
	(append_partial_itable): Likewise.

From-SVN: r95268
2005-02-19 05:17:14 +00:00
Tom Tromey e022a6cb91 re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)
PR java/20056:
	* verify-impl.c (types_equal): Fixed test.

From-SVN: r95267
2005-02-19 04:02:09 +00:00
Tom Tromey b55cb4a133 re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)
PR java/20056:
	* verify.cc (type::equals): Fixed test.
	* testsuite/libjava.lang/PR20056.out: New file.
	* testsuite/libjava.lang/PR20056.java: New file.

From-SVN: r95266
2005-02-19 03:57:21 +00:00
Bryce McKinlay e863ccf328 LinkedHashMap (addEntry): Call remove() with key argument, not the HashEntry.
2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>

	* java/util/LinkedHashMap (addEntry): Call remove() with key argument,
	not the HashEntry. Reported by Jean-Marie White.

From-SVN: r95263
2005-02-19 03:18:20 +00:00
Richard Henderson 396090773c re PR libstdc++/10606 (uncaught_exception() returns false too early)
PR libstdc++/10606
gcc/cp/
        * except.c (do_get_exception_ptr): New.
        (expand_start_catch_block): Use it.
libstdc++/
        * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
        * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
        uncaughtExceptions here instead of ...
        * libsupc++/eh_throw.cc (__cxa_throw) ... here.
        (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
        * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
        (__cxa_get_exception_ptr): New.
        * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.

From-SVN: r95262
2005-02-18 18:35:25 -08:00
James A. Morrison 5ff489f15b tree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't call fold_convert.
2005-02-18  James A. Morrison  <phython@gcc.gnu.org>

        * tree-ssa-ccp.c (widen_bitfield): Pass type to build_int_cst and don't
        call fold_convert.

From-SVN: r95260
2005-02-19 01:29:33 +00:00
Tom Tromey e207dbea74 re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)
PR java/20056:
	* include/jvm.h (_Jv_Linker::has_field_p): Declare.
	* link.cc (has_field_p): New function.
	* verify.cc (check_field_constant): Added 'putfield' argument.
	(verify_instructions_0): Updated.
	(type::equals): New method.

From-SVN: r95259
2005-02-19 01:16:30 +00:00
Tom Tromey 1870a43b3e re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)
PR java/20056:
	* verify-glue.c (vfy_class_has_field): New function.
	* verify.h (vfy_class_has_field): Declare.
	* verify-impl.c (check_field_constant): Added 'putfield'
	argument.
	(verify_instructions_0): Updated.
	(types_equal): New function.

From-SVN: r95258
2005-02-19 01:14:17 +00:00
James E Wilson 4c334b377c Remove obsolete IA-64 -mb-step option.
* doc/invoke.texi (IA-64 Options): Delete -mb-step.
* config/ia64/ia64.c (last_group, group_idx): Delete variables.
(errata_find_address_regs, errata_emit_nops, fixup_errata): Delete
functions.
(ia64_reorg): Delete fixup_errata call.
* config/ia64/ia64.h (MASK_B_STEP, TARGET_B_STEP): Delete.
(TARGET_SWITCHES): Delete -mb-step entry.

From-SVN: r95257
2005-02-18 17:02:23 -08:00
Anthony Green c3491df4dd NEWS: Draft of libgcj NEWS for 4.0.
2005-02-18  Anthony Green  <green@redhat.com>

        * NEWS: Draft of libgcj NEWS for 4.0.

From-SVN: r95256
2005-02-19 00:47:33 +00:00
Jakub Jelinek 58cb41e617 re PR c/20043 (transparent_union doesn't allow restrict qualifier removal)
PR c/20043
	* c-typeck.c (composite_type): Handle quals in transparent unions.
	(type_lists_compatible_p): Likewise.

	* gcc.dg/transparent-union-1.c: New test.
	* gcc.dg/transparent-union-2.c: New test.

From-SVN: r95255
2005-02-19 01:26:38 +01:00
GCC Administrator e8f61f71a7 Daily bump.
From-SVN: r95253
2005-02-19 00:16:22 +00:00
Stan Shebs b79d4265ad darwin.c (machopic_select_rtx_section): Don't put relocatable expressions in the .literal8 section.
* config/darwin.c (machopic_select_rtx_section): Don't put relocatable
        expressions in the .literal8 section.

From-SVN: r95250
2005-02-19 00:08:06 +00:00
Anthony Green 95432490db natRuntime.cc (insertSystemProperties): Normalize x86 architecture names to "i386" for compatibility reasons.
2005-02-18  Anthony Green  <green@redhat.com>

        * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
        architecture names to "i386" for compatibility reasons.  Win32
        still uses "x86".

From-SVN: r95243
2005-02-18 23:29:44 +00:00
Jakub Jelinek f36b89e08d s/2005-01-19/2005-02-19/
From-SVN: r95242
2005-02-19 00:20:55 +01:00
Jakub Jelinek 3045eb55e3 decl.c (start_decl_1): Only check TYPE_NEEDS_CONSTRUCTING if type is not error_mark_node.
* decl.c (start_decl_1): Only check TYPE_NEEDS_CONSTRUCTING
	if type is not error_mark_node.

From-SVN: r95241
2005-02-19 00:20:00 +01:00
Matt Austern 52a7e4c62d array_syntax.cc: Fix test case to use assignment instead of ==
* testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
	test case to use assignment instead of ==
	* testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
	* testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
	* testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
	* testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.

From-SVN: r95240
2005-02-18 23:09:02 +00:00
Geoffrey Keating a7138657ee * config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.
From-SVN: r95239
2005-02-18 23:03:38 +00:00
James E Wilson 61b42179a4 re PR tree-optimization/18977 (LAPACK test xeigtsts segfaults with optimization)
PR tree-optimization/18977
* gcc.c-torture/execute/loop-ivopts-1.c: New testcase.

From-SVN: r95238
2005-02-18 15:01:33 -08:00
Roger Sayle 0a9c6fdf03 fold-const.c (constant_boolean_node): Always create values of the specified type...
* fold-const.c (constant_boolean_node): Always create values of
	the specified type, don't bother calling truthvalue_conversion.

From-SVN: r95237
2005-02-18 21:44:18 +00:00
Joseph Myers f6775e78a8 except.c (output_function_exception_table): Call assemble_external_libcall (eh_personality_libfunc).
* except.c (output_function_exception_table): Call
	assemble_external_libcall (eh_personality_libfunc).

From-SVN: r95235
2005-02-18 21:24:56 +00:00
Joseph Myers 5b4275dbe9 re PR target/19886 (g++.dg/eh/registers1.C execution test fails)
PR target/19886
	* config/ia64/ia64.h (struct machine_function): Add state_num.
	* config/ia64/ia64.c (process_epilogue,
	process_for_unwind_directive): Use new unwind state numbers each
	time rather than state 1.

From-SVN: r95234
2005-02-18 21:23:16 +00:00
Ulrich Weigand d6083c7d69 re PR target/20054 (ICE in change_address_1)
ChangeLog:

	PR target/20054
	* config/s390/s390.md ("*llgt_sidi", "*llgt_sidi_split"): Move to
	before the "*llgt_didi" pattern.

testsuite/ChangeLog:

	PR target/20054
	* gcc.dg/pr20054.c: New test.

From-SVN: r95233
2005-02-18 21:11:06 +00:00
Anthony Green 0ae65c915a gij.cc (version): Change year for '--version' to 2005.
2005-02-18  Anthony Green  <green@redhat.com>

        * gij.cc (version): Change year for '--version' to 2005.
        * gnu/gcj/convert/Convert.java: Ditto.
        * gnu/java/rmi/rmic/RMIC.java: Ditto.
        * gnu/java/rmi/registry/RegistryImpl.java: Ditto.

        * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
        recent copyright year in `--version' output.

From-SVN: r95232
2005-02-18 20:52:16 +00:00
Jason Merrill 258dba8f62 * gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Revert again.
From-SVN: r95231
2005-02-18 14:35:37 -05:00
Giovanni Bajo aecc0cf071 re PR c++/19508 (dwarf2, ICE on __attribute__(aligned) in class template)
2005-01-20  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

        PR c++/19508
        * g++.dg/ext/attrib20.C: New test.

2005-01-20  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

        PR c++/19508
        * decl2.c (grokfield): Do not apply attributes to template parameters
        as they are ignored by tsubst anyway.

From-SVN: r95230
2005-02-18 11:11:58 -08:00
Richard Earnshaw 2155b88625 lib1funcs.asm (FUNC_ALIAS): New macro.
* arm/lib1funcs.asm (FUNC_ALIAS): New macro.
	(div0): Use it in place of ARM_FUNC_ALIAS.
	(lshrdi3, ashrdi3, ashlrdi3): Likewise.

From-SVN: r95228
2005-02-18 14:46:47 +00:00
Andrew Pinski 77f0448187 re PR middle-end/20030 (Broken arguments access)
2004-02-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20030
        * gfortran.fortran-torture/execute/character_passing.f90: New test.

From-SVN: r95227
2005-02-18 06:36:54 -08:00
Andrew Pinski 0d56ab3348 re PR middle-end/20030 (Broken arguments access)
2005-02-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/20030
        * fold-const.c (fold_indirect_ref_1): Use the correct index for zero access,
        the lower bound of the array type if it exists.

From-SVN: r95226
2005-02-18 06:31:50 -08:00
Alexandre Oliva 2aabee29e1 re PR c++/20008 (internal compiler error: in expand_case, at stmt.c:2397)
gcc/ChangeLog:
PR c++/20008
* stmt.c (expand_case): Don't assume cleanup_tree_cfg will remove
cases that are out-of-range for the index type.
gcc/testsuite/ChangeLog:
PR c++/20008
* g++.dg/opt/switch4.C: New.

From-SVN: r95225
2005-02-18 12:20:49 +00:00
James A. Morrison aeba6c285a stmt.c (emit_case_bit_tests): Call fold_convert instead of convert.
2005-02-18  James A. Morrison  <phython@gcc.gnu.org>

        * stmt.c (emit_case_bit_tests): Call fold_convert instead of convert.
        (estimate_case_costs): Don't call convert.
        * expmed.c (expand_shift): Likewise.
        (make_tree): Call fold_convert instead of convert.

From-SVN: r95224
2005-02-18 12:06:08 +00:00
Eric Botcazou 87bd0274cc pthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below.
* testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
	on Solaris 2.6 and below.
	* testsuite/thread/pthread2.cc: Likewise.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: Likewise.
	* testsuite/thread/pthread5.cc: Likewise.
	* testsuite/thread/pthread6.cc: Likewise.
	* testsuite/thread/pthread7-rope.cc: Likewise.

From-SVN: r95220
2005-02-18 11:53:18 +00:00
Matt Austern 180ecd6aa2 functional (hash): New function object.
* include/tr1/functional (hash): New function object.
        * include/tr1/hashtable: New file.
        * include/tr1/unordered_set: New file.
        * include/tr1/unordered_map: New file.
        * include/Makefile.am: Add three new TR1 headers.
        * include/Makefile.in: Likewise.
        * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
        * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.

From-SVN: r95219
2005-02-18 07:50:08 +00:00
Robert Schuster 82214ae9cc Charset.java (forName): Throws IllegalArgumentException when argument is null and added documentation.
2005-02-18  Robert Schuster <thebohemian@gmx.net>

	* java/nio/charset/Charset.java (forName): Throws
	IllegalArgumentException when argument is null
	and added documentation.

From-SVN: r95218
2005-02-18 07:44:59 +00:00
Jakub Jelinek 3a96c3b9d8 re PR c++/19813 (wrong code with -finline-limit)
PR c++/19813
	* emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
	that ref to be marked MEM_READONLY_P doesn't have base that needs
	constructing.

	* decl.c (start_decl_1): Clear TREE_READONLY flag if
	its type has TYPE_NEEDS_CONSTRUCTING.
	(complete_vars): Likewise.

From-SVN: r95217
2005-02-18 07:58:40 +01:00
Joseph Myers 9fd64c6315 genautomata.c (output_get_cpu_unit_code_func, [...]): Don't generate old-style function definitions.
* genautomata.c (output_get_cpu_unit_code_func,
	output_cpu_unit_reservation_p): Don't generate old-style function
	definitions.

From-SVN: r95213
2005-02-18 01:21:12 +00:00
GCC Administrator 1eb9a6e57a Daily bump.
From-SVN: r95211
2005-02-18 00:16:37 +00:00
Jakub Jelinek 0948e3921d re PR c++/20023 (internal compiler error: Segmentation fault)
PR c++/20023
	PR tree-optimization/20009
	* convert.c (convert_to_integer): Revert 2005-02-16 change.

	* gcc.c-torture/compile/20050217-1.c: New test.
	* g++.dg/opt/switch3.C: New test.

From-SVN: r95208
2005-02-18 00:56:54 +01:00
Jakub Jelinek 5820359990 re PR tree-optimization/18947 ([non-UAAT] external inline and normal function of the same name)
PR tree-optimization/18947
	* cgraphunit.c (cgraph_finalize_function): When redefining an extern
	inline, remove all nodes that are inlined into the extern inline
	being redefined.

	* gcc.c-torture/compile/20050215-1.c: New test.
	* gcc.c-torture/compile/20050215-2.c: New test.
	* gcc.c-torture/compile/20050215-3.c: New test.

From-SVN: r95207
2005-02-18 00:50:02 +01:00
Kazu Hirata c8d3e15a95 bt-load.c, [...]: Update copyright.
* bt-load.c, cfgloop.c, convert.c, dominance.c, global.c,
	loop-invariant.c, stmt.c, tree-ssa-forwprop.c,
	tree-ssa-live.c, tree-ssanames.c, tree-vn.c,
	config/host-linux.c, config/arm/fpa.md, config/avr/avr.h:
	Update copyright.

From-SVN: r95202
2005-02-17 22:41:35 +00:00
Roger Sayle 9b396d7cce re PR tree-optimization/19917 (Weak const function mishandled inside loop)
PR tree-optimization/19917
	* tree-eh.c (tree_could_trap_p): Consider calls to weak functions
	to be potentially trapping.

From-SVN: r95200
2005-02-17 22:32:29 +00:00
Kazu Hirata 2e681715d6 * libgcc2.c, tree-vect-analyze.c: Fix comment typos.
From-SVN: r95196
2005-02-17 21:20:21 +00:00
Andreas Krebbel c6d010797f builtins.c (expand_builtin_return_addr): Remove tem parameter.
2005-02-17  Andreas Krebbel  <krebbel1@de.ibm.com>

	* builtins.c (expand_builtin_return_addr): Remove tem parameter.
	tem becomes a local variable which is set to the value of the
	back end defined INITIAL_FRAME_ADDRESS macro.
	(expand_builtin_frame_address): Omit the base parameter to
	expand_builtin_return_addr.
	(expand_builtin_profile_func): Likewise.
	* config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Define new macro.
	(DYNAMIC_CHAIN_ADDRESS): Remove the case for the initial frame.
	* doc/tm.texi: Documentation for INITIAL_FRAME_ADDRESS_RTX added.

From-SVN: r95194
2005-02-17 21:09:23 +00:00
Jakub Jelinek 7b21080675 s390.c (s390_alloc_pool, [...]): Use BITMAP_ALLOC and BITMAP_FREE.
* config/s390/s390.c (s390_alloc_pool, s390_free_pool,
	s390_chunkify_start): Use BITMAP_ALLOC and BITMAP_FREE.
	* config/frv/frv.c (frv_function_epilogue): Likewise.

From-SVN: r95190
2005-02-17 21:40:16 +01:00
Ito Kazumitsu 7801fed43d FileChannelImpl.java (write(ByteBuffer)): Move the position of the source buffer forward.
2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>

	* gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
	Move the position of the source buffer forward.

From-SVN: r95184
2005-02-17 19:51:25 +00:00
Alexandre Oliva ae54ec16cd re PR c++/20028 (class and then template class gives an ICE)
gcc/cp/ChangeLog:
PR c++/20028
* class.c (finish_struct): Initialize TYPE_SIZE_UNIT of a
template along with TYPE_SIZE.
gcc/testsuite/ChangeLog:
PR c++/20028
* g++.dg/template/crash34.C: New.

From-SVN: r95182
2005-02-17 19:25:05 +00:00
Tom Tromey 2a2c6e55e7 Class.h (_Jv_GetMethodString): Updated declaration.
* java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
	* java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
	* link.cc (_Jv_GetMethodString): Added 'derived' argument.
	Changed type of second argument.  Rewrote.
	(make_vtable): Use it.
	(append_partial_itable): Updated.
	(layout_vtable_methods): Updated.

From-SVN: r95181
2005-02-17 19:17:08 +00:00
Michael Koch 51615fd6cd 2005-02-17 Michael Koch <konqueror@gmx.de>
* gnu/java/net/PlainSocketImpl.java
	(shutdownInput): Added javadoc.
	(shutdownOutput): Likewise.

From-SVN: r95180
2005-02-17 18:59:55 +00:00