Commit Graph

46381 Commits

Author SHA1 Message Date
Kazu Hirata
e8a68017b0 h8300.c (dosize): Replace argument op with sign.
* config/h8300/h8300.c (dosize): Replace argument op with
	sign.
	(h8300_output_function_prologue): Update the call to dosize.
	(h8300_output_function_epilogue): Likewise.

From-SVN: r59746
2002-12-02 22:22:05 +00:00
Paolo Carlini
61b8da3733 basic_string.h (compare(const basic_string&)): Fully qualify min() with std::.
2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.h (compare(const basic_string&)):
	Fully qualify min() with std::.

From-SVN: r59745
2002-12-02 22:15:54 +00:00
Tom Tromey
bbc13bf693 Bug compatibility, for PR libgcj/8738:
* java/io/CharArrayWriter.java (close): Do nothing.
	(flush): Likewise.
	(reset): Don't touch `closed'.
	(write(int)): Don't throw IOException.
	(write(char[],int,int)): Likewise.
	(write(String,int,int)): Likewise.
	(closed): Removed.

From-SVN: r59743
2002-12-02 21:30:13 +00:00
Bob Wilson
834572b852 * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
From-SVN: r59740
2002-12-02 21:24:44 +00:00
Kazu Hirata
b11b0178aa * gcc.dg/20020210-1.c: Fix a comment typo.
From-SVN: r59736
2002-12-02 20:28:38 +00:00
Craig Rodrigues
9118405f7a configure.in: Use "missing" script to generate warning if flex or bison programs not found...
* configure.in: Use "missing" script to generate warning if
flex or bison programs not found, instead of invoking "false".
* configure: Rebuilt.

From-SVN: r59735
2002-12-02 15:22:14 -05:00
Mark Mitchell
2e18515557 * g++.dg/template/varmod1.C: Fix typo.
From-SVN: r59733
2002-12-02 19:44:13 +00:00
Jan Hubicka
4ff38cd53f * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
From-SVN: r59732
2002-12-02 19:29:45 +00:00
Benjamin Kosnik
8d9872d267 configure.in (libtool_VERSION): Update to 5:2:0.
2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libtool_VERSION): Update to 5:2:0.
	* configure: Regenerate.

From-SVN: r59729
2002-12-02 19:24:11 +00:00
Tom Tromey
6b55b27fb9 For PR java/8740:
* parse.y (do_resolve_class): Handle qualified name via
	recursion.

From-SVN: r59728
2002-12-02 19:04:14 +00:00
Paolo Carlini
aa863dca8b basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), [...]): Fully qualify min() with std::.
2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.tcc
	(basic_string::append(const basic_string&, size_type,
	size_type), basic_string::compare(size_type, size_type,
	const basic_string&), basic_string::compare(size_type,
	size_type, const basic_string&, size_type, size_type),
	basic_string::compare(const _CharT*), basic_string::
	compare(size_type, size_type, const _CharT*),
	basic_string::compare(size_type, size_type, const _CharT*,
	size_type), _S_string_copy(const basic_string&, _CharT*,
	typename _Alloc::size_type)): Fully qualify min() with std::.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.tcc
	(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
	forward_iterator_tag)): Delay the declaration of __dnew,
	fully qualify distance() with std::.
	(basic_string::_M_replace_safe): Fully qualify distance()
	with std::.

From-SVN: r59726
2002-12-02 18:53:41 +00:00
Jan Hubicka
adc72fa6ce * i386.c (ix86_expand_int_movcc): Avoid overflow.
From-SVN: r59724
2002-12-02 18:44:05 +00:00
Kriang Lerdsuwanakij
218e0eb6d3 DR 180
DR 180
	* decl.c (grokdeclarator): Require class-key for all friend class.
	Output the correct type and context in the error message.

	* g++.old-deja/g++.pt/crash32.C: Expect error.

From-SVN: r59719
2002-12-02 17:03:13 +00:00
Kazu Hirata
513f31eb68 h8300.c (dosize): Output r7/er7 instead of sp.
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
	(push): Likewise.
	(pop): Likewise.
	(h8300_output_function_prologue): Likewise.
	(h8300_output_function_epilogue): Likewise.

From-SVN: r59718
2002-12-02 16:54:14 +00:00
J"orn Rennecke
7ffc9761ca expmed.c (store_bit_field): Use int_mode_for_mode to find corresponding mode of non-integer mode...
* expmed.c (store_bit_field): Use int_mode_for_mode to find
	corresponding mode of non-integer mode, unless it is VOIDmode.

From-SVN: r59716
2002-12-02 14:44:17 +00:00
Kazu Hirata
0a2a0a583e h8300.md (stm_h8300s_2): New.
* config/h8300/h8300.md (stm_h8300s_2): New.
	(stm_h8300s_3): Likewise.
	(stm_h8300s_4): Likewise.
	(five define_peephole2): Likewise.

From-SVN: r59715
2002-12-02 14:24:11 +00:00
GCC Administrator
54806c1855 Daily bump.
From-SVN: r59712
2002-12-02 08:17:22 +00:00
Kazu Hirata
28432d9f64 * ra-build.c: Fix a comment typo.
From-SVN: r59705
2002-12-02 05:12:53 +00:00
Kazu Hirata
e651d484e1 h8300.c (h8300_output_function_prologue): Remove variable idx.
* config/h8300/h8300.c (h8300_output_function_prologue):
	Remove variable idx.
	(h8300_output_function_epilogue): Likewise.

From-SVN: r59703
2002-12-02 02:02:43 +00:00
Tom Tromey
ab8227fa45 jacks.exp (gcj_jacks_setup_xfail): New function.
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function.
	(gcj_jacks_parse): Use it; set up xfails.
	* libjava.jacks/jacks.xfail: New file.

From-SVN: r59702
2002-12-01 23:50:03 +00:00
Mark Mitchell
94fc547cec re PR c++/5919 (ICE when passing variable array to template function)
PR c++/5919
	* g++.dg/template/varmod1.C: New test.

	PR c++/5919
	* pt.c (unify): Use variably_modified_type_p to test validity of
	template argument types.

From-SVN: r59698
2002-12-01 20:46:08 +00:00
Mark Mitchell
a82d6da5fc re PR c++/8727 (compiler confused by inheritance from an anonymous struct)
PR c++/8727
	* g++.dg/inherit/typeinfo1.C: New test.

	PR c++/8663
	* g++.dg/inherit/typedef1.C: New test.

	PR c++/8727
	* cp-tree.h (lang_type_class): Add typeinfo_var.
	(CLASSTYPE_TYPEINFO_VAR): New macro.
	* rtti.c (get_tinfo_decl): Use it.

	PR c++/8663
	* init.c (expand_member_init): Always get the main variant of a
	base class.

From-SVN: r59694
2002-12-01 20:27:37 +00:00
Zack Weinberg
558bb2c45e * config/frv/xm-frv.h: Delete, unnecessary.
From-SVN: r59693
2002-12-01 19:16:12 +00:00
Kazu Hirata
96cc06af6f * config/h8300/h8300.md: Add comments for define_peephole2.
From-SVN: r59690
2002-12-01 18:04:06 +00:00
Mark Mitchell
c9f8536c5d re PR c++/8332 (strlen/template interaction causes ICE)
PR c++/8332
	PR c++/8493
	* decl.c (cxx_init_decl_processing): Use size_type_node, not
	c_size_type_node.
	* decl2.c (coerce_new_type): Likewise.
	* except.c (do_allocate_exception): Likewise.

	* builtin-types.def (BT_SIZE): Use size_type_node.
	* builtins.c (fold_builtin): Make the builtin strlen returns a
	size_t, not a sizetype.
	* c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
	c_size_type_node.
	(c_alignof_expr): Likewise.
	(c_common_nodes_and_builtins): Likewise.
	* c-common.h (CTI_C_SIZE_TYPE): Remove.
	(c_size_type_node): Likewise.
	* c-format.c (T_ST): Use size_type_node, not c_size_type_node.
	* tree.h (TI_SIZE_TYPE): New enumeral.
	(size_type_node): Likewise.

	PR c++/8332
	PR c++/8493
	* g++.dg/template/strlen1.C: New test.

From-SVN: r59689
2002-12-01 17:51:51 +00:00
Zack Weinberg
335c9de73b Revert change accidentally applied to wrong branch
From-SVN: r59688
2002-12-01 17:32:33 +00:00
Mark Wielaard
c2bea6b06b SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath.
* java/lang/SecurityManager.java: Remerge comments, indenting and
       checkXXX methods with Classpath.

From-SVN: r59685
2002-12-01 16:16:19 +00:00
Mark Wielaard
5bb7e2ac1c * libjava.mauve/xfails: Remove Inspector FAILs that now PASS.
From-SVN: r59680
2002-12-01 15:50:33 +00:00
GCC Administrator
a46ad9b0fb Daily bump.
From-SVN: r59679
2002-12-01 08:17:11 +00:00
Zack Weinberg
1886c47420 i * configure.in: Don't put ${tm_file} into host_xm_file,
build_xm_file, or xm_file.  Do put tm-preds.h into tm_p_file.
	Take location of tm-preds.h into account when calculating
	tm_p_file_list.
	* configure: Regenerate.
	* mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
	arguments.  Do not provide rtx, rtvec, tree, or GTY here.
	Remove special case code for tm_p.h and *config.h; add new
	special case code for tm.h and tconfig.h. Clean up a bit.

	* Makefile.in (tm_file, tm_file_list): New variables set from
	@-substitutions.
	(GCONFIG_H): Deleted.
	(GTM_H, TM_H): New.
	(CONFIG_H): Is now just config.h $(host_xm_file_list).
	(TM_P_H): Move up with the other mkconfig.sh-generated
	headers; don't mention tm-preds.h explicitly.
	(tm.h, cs-tm.h): New rule.
	(cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
	invocations of mkconfig.sh for changes to that program.
	(mostlyclean): Delete print-rtl1.c.
	(clean): Delete tm.h.
	* Makefile.in, ada/Make-lang.in, cp/Make-lang.in,
	f/Make-lang.in, java/Make-lang.in, objc/Make-lang.in,
	treelang/Make-lang.in: Update dependencies for the files
	listed below.
	* mklibgcc.in:  Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.

	* coretypes.h: New file.
	* system.h: #define malloc to xmalloc and realloc to xrealloc
	when FLEX_SCANNER or YYBISON is defined, independent of the
	value of GCC_VERSION.
	* alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
	c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
	c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
	c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
	c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
	cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
	cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
	cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
	cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
	cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
	debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
	dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
	emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
	expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
	function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
	gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
	gencheck.c, gencodes.c, genconditions.c, genconfig.c,
	genconstants.c, genemit.c, genextract.c, genflags.c,
	gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
	genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
	gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
	ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
	hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
	lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
	main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
	optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
	print-tree.c, profile.c, protoize.c, ra-build.c,
	ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
	real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
	regrename.c, reload.c, reload1.c, reorg.c, resource.c,
	rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
	scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
	sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
	ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
	tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
	tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
	xcoffout.c, config/darwin-c.c, config/darwin.c,
	config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
	config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
	config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
	config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
	config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
	config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
	config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
	config/i960/i960-c.c, config/i960/i960.c,
	config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
	config/m32r/m32r.c, config/m68hc11/m68hc11.c,
	config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
	config/mips/irix6-libc-compat.c, config/mips/mips.c,
	config/mmix/mmix.c, config/mn10200/mn10200.c,
	config/mn10300/mn10300.c, config/ns32k/ns32k.c,
	config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
	config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
	config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
	config/sparc/sparc.c, config/stormy16/stormy16.c,
	config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
	config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
	Include coretypes.h and tm.h.

	* genattrtab.c, genconditions.c, genemit.c, genextract.c,
	gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
	genrecog.c: Include coretypes.h and tm.h from the file
	generated by this program.

	* unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
	unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
	coretypes.h and tm.h, and tsystem.h when not already included.
	No need to include stddef.h nor stdlib.h.

	* ada/cuintp.c, ada/decl.c, ada/deftarg.c, ada/misc.c,
	ada/targtyps.c, ada/trans.c, ada/utils.c, ada/utils2.c:
	Include coretypes.h and tm.h, and system.h when not already
	included.

	* cp/call.c, cp/class.c, cp/cp-lang.c, cp/cvt.c, cp/cxxfilt.c,
	cp/decl.c, cp/decl2.c, cp/dump.c, cp/error.c, cp/except.c,
	cp/expr.c, cp/friend.c, cp/g++spec.c, cp/init.c, cp/lex.c,
	cp/mangle.c, cp/method.c, cp/optimize.c, cp/parse.y, cp/pt.c,
	cp/ptree.c, cp/repo.c, cp/rtti.c, cp/search.c, cp/semantics.c,
	cp/spew.c, cp/tree.c, cp/typeck.c, cp/typeck2.c:
	Include coretypes.h and tm.h.

	* f/proj.h, f/ansify.c, f/g77spec.c, f/intdoc.c:
	Include coretypes.h and tm.h.

	* fixinc/fixlib.h: Include coretypes.h and tm.h.  Do not
	include auto-host.h or ansidecl.h/
	* fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
	* fixinc/procopen.c: Include server.h after fixlib.h.  Do not
	include auto-host.h, ansidecl.h, or system.h.
	* fixinc/server.c: Likewise.  Also, do not include signal.h,
	and do not redefine volatile.

	* java/boehm.c, java/buffer.c, java/builtins.c,
	java/check-init.c, java/class.c, java/constants.c,
	java/decl.c, java/except.c, java/expr.c, java/gjavah.c,
	java/jcf-depend.c, java/jcf-dump.c, java/jcf-io.c,
	java/jcf-parse.c, java/jcf-path.c, java/jcf-write.c,
	java/jv-scan.c, java/jvgenmain.c, java/jvspec.c, java/lang.c,
	java/mangle.c, java/mangle_name.c, java/parse-scan.y,
	java/parse.y, java/typeck.c, java/verify.c, java/xref.c,
	java/zextract.c: Include coretypes.h and tm.h.

	* treelang/lex.l: Move "%{" below copyright notice; get rid of
	"/*" embedded in comment.  Do not #undef IN_GCC; do not
	include stdio.h, memory.h, or ansidecl.h; do not include
	config.h twice.  Do include coretypes.h and tm.h.
	* treelang/parse.y: Do not #undef IN_GCC, provide bogus
	definitions of tree and rtx typedefs, or include stdio.h,
	stdlib.h, string.h, or ansidecl.h. Do include coretypes.h and
	tm.h.
	* treelang/tree1.c: Do not include ansidecl.h, stdlib.h,
	unistd.h, ctype.h, stdarg.h, string.h, or stdio.h.  Do include
	coretypes.h and tm.h.
	* treelang/treetree.c: Do not include stdlib.h, unistd.h,
	safe-ctype.h, errno.h. stdarg.h, limits.h, string.h, fcntl.h,
	getopt.h. stdio.h, or ansidecl.h.  Do include coretypes.h and
	tm.h.

[[Split portion of a mixed commit.]]

From-SVN: r59673.2
2002-12-01 05:43:14 +00:00
Mark Mitchell
328de7c2f1 re PR c++/8227 (g++ 3.3: ctors not called in static array initialization)
PR c++/8227
	* decl.c (layout_var_decl): Deal gracefully with erroneous types.
	(check_initializer): Validate the type of the initialized
	variable, even if the initializer is absent.
	* typeck.c (cp_type_quals): Deal gracefully with erroneous types.

	PR c++/8227
	* g++.dg/template/ctor2.C: New test.

From-SVN: r59672
2002-12-01 04:55:20 +00:00
John David Anglin
f6318a2baf cfg.c (dump_flow_info): Use max_reg_num () to determine the largest pseudo register number plus 1.
* cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
	pseudo register number plus 1.

From-SVN: r59669
2002-12-01 03:52:04 +00:00
Mark Mitchell
c17707f1d1 re PR c++/8214 (character conversion problem)
PR c++/8214
	* g++.dg/init/string1.C: New test.

	PR c++/8214
	* typeck.c (convert_for_assignment): Do not use
	decl_constant_value on the operand.

From-SVN: r59668
2002-12-01 02:11:05 +00:00
Mark Mitchell
65f8b0fbaf re PR c++/8511 ((hopefully) reproducible cc1plus SIGSEGV.)
PR c++/8511
	* pt.c (instantiate_decl): Handle template friends defined outside
	of the class correctly.

	PR c++/8511
	* g++.dg/template/friend8.C: New test.

From-SVN: r59665
2002-11-30 21:57:32 +00:00
GCC Administrator
acb45e09fe Daily bump.
From-SVN: r59657
2002-11-30 08:17:11 +00:00
Scott Gilbertson
8ad3385a16 ColorModel.java (getUnnormalizedComponents, [...]): Fix calculation which was using one too many bits in the unnormalized format.
2002-11-29  Scott Gilbertson  <scottg@mantatest.com>

	* java/awt/image/ColorModel.java (getUnnormalizedComponents,
	getNormalizedComponents): Fix calculation which was using one too
	many bits in the unnormalized format.

From-SVN: r59651
2002-11-30 04:51:11 +00:00
Gary Benson
6d6661fe6f For PR libgcj/8759:
2002-11-29  Gary Benson  <gbenson@redhat.com>

	For PR libgcj/8759:
	* java/beans/Introspector.java (flushCaches): New method.
	(flushFromCaches): Likewise.

From-SVN: r59650
2002-11-30 04:41:59 +00:00
Hans-Peter Nilsson
2402645b4d cpplib.c (_cpp_test_assertion): Default *value to 0.
* cpplib.c (_cpp_test_assertion): Default *value to 0.

	* cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.

From-SVN: r59648
2002-11-29 22:41:04 +00:00
Joe Buck
f6a83eb0a7 anon2.C: New test.
* g++.dg/lookup/anon2.C: New test.

	* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
	anonymous structs.

From-SVN: r59647
2002-11-29 22:08:36 +00:00
Mark Mitchell
ff944b4986 class.c (walk_subobject_offsets): Recur on binfos as well as on types.
* class.c (walk_subobject_offsets): Recur on binfos as well as on
	types.
	(layout_nonempty_base_or_field): Pass it a binfo when processing a
	base class.
	(layout_empty_base): Likewise.
	(build_base_field): Likewise.

From-SVN: r59643
2002-11-29 21:17:05 +00:00
Ulrich Weigand
8ef34c0df0 t-crtstuff: New target makefile fragment.
* config/s390/t-crtstuff: New target makefile fragment.
	* config.gcc [s390-*-linux, s390x-*-linux]: Use it.

From-SVN: r59641
2002-11-29 19:59:25 +00:00
Krister Walfridsson
c6d0530757 configure.in (_XOPEN_SOURCE, [...]): Check that _XOPEN_SOURCE 500L may be defined before defining these.
2002-10-18  Krister Walfridsson  <cato@df.lth.se>

       * libU77/configure.in (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
       __EXTENSIONS__, _FILE_OFFSET_BITS): Check that _XOPEN_SOURCE 500L
       may be defined before defining these.
       * libU77/configure: Regenerate.
       * libI77/configure.in (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
       __EXTENSIONS__, _FILE_OFFSET_BITS): Check that _XOPEN_SOURCE 500L
       may be defined before defining these.
       * libI77/configure: Regenerate.

From-SVN: r59639
2002-11-29 17:53:45 +00:00
Kazu Hirata
b8bbda910a h8300.md (movsi_h8300hs): Change the order of alternatives to correct the length when...
* config/h8300/h8300.md (movsi_h8300hs): Change the order of
	alternatives to correct the length when the memory operand is
	either pre_dec or post_inc.

From-SVN: r59637
2002-11-29 16:24:58 +00:00
Kazu Hirata
d23dff51b2 h8300.md (an anonymous pattern): Give an internal name *tst_extzv_bitqi_1_n.
* config/h8300/h8300.md (an anonymous pattern): Give an
	internal name *tst_extzv_bitqi_1_n.
	Accept bit_operand instead of bit_memory_operand.
	Do not accept bit tests with the MSB.
	(*tst_extzv_memqi_1_n): New.

From-SVN: r59636
2002-11-29 16:10:21 +00:00
Michael Koch
a1cd285d75 2002-11-29 Michael Koch <konqueror@gmx.de>
* java/nio/channels/DatagramChannel.java
	(open): Added exception documentation.
	(write): Added exception documentation.
	(connect): Added exception documentation.
	(disconnect): Added exception documentation.
	(isConnected): Added exception documentation.
	(read): Added exception documentation.
	(receive): Added exception documentation.
	(send): Added exception documentation.
	(validOps): Added exception documentation.
	* java/nio/channels/SocketChannel.java
	(open): Added exception documentation.
	(read): Added exception documentation.
	(write): Added exception documentation.
	(connect): Added exception documentation.
	(finishConnect): Added exception documentation.

From-SVN: r59633
2002-11-29 12:32:17 +00:00
Michael Koch
a4536c7a94 2002-11-29 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/DatagramChannelImpl:
	(fd): New member variable to store file descriptor of socket.
	* gnu/java/nio/SelectionKeyImpl.java:
	(ops): Removed.
	(readyOps): New member variable.
	(interestOps): New member variable.
	(readyOps): Implemented.
	(readyOps): New method to set member variable readyOps.
	(interestOps): Replaced ops by interestOps.
	* gnu/java/nio/SelectorImpl.java:
	(SelectorImpl): Initialize key sets.
	(select): Call select with -1 instead of Long.MAX_VALUE).
	(java_do_select): Make it a native method.
	(getFDsAsArray): New helper method.
	(select): Remove canceled keys, give only interested file discriptors
	to java_do_select, set ready ops.
	(add): No need to initialize keys set here.
	(add_selected): No need to initialize selected set here.
	(deregisterCanceledKeys): New helper method.
	(register): Set interest ops, set attachments, added handling of datagram
	channels.
	* gnu/java/nio/ServerSocketChannelImpl:
	(SocketAccept): Renamed from NioSocketAccept.
	(implConfigureBlocking): Implemented.
	(accept): Use SocketAccept instead of NioSocketAccept.
	* gnu/java/nio/SocketChannelImpl:
	Reactivate native methods.

From-SVN: r59632
2002-11-29 09:57:05 +00:00
GCC Administrator
45596747ca Daily bump.
From-SVN: r59631
2002-11-29 08:17:51 +00:00
Michael Koch
38a21d46b0 natByteBufferImpl.cc, [...]: New files that implement native functionalities.
2002-11-29  Michael Koch <konqueror@gmx.de>

	* gnu/java/nio/natByteBufferImpl.cc,
	gnu/java/nio/natCharBufferImpl.cc,
	gnu/java/nio/natDoubleBufferImpl.cc,
	gnu/java/nio/natFloatBufferImpl.cc,
	gnu/java/nio/natIntBufferImpl.cc,
	gnu/java/nio/natLongBufferImpl.cc,
	gnu/java/nio/natSelectorImpl.cc,
	gnu/java/nio/natServerSocketChannelImpl.cc,
	gnu/java/nio/natShortBufferImpl.cc,
	gnu/java/nio/natSocketChannelImpl.cc:
	New files that implement native functionalities.

From-SVN: r59625
2002-11-29 07:56:58 +00:00
Michael Koch
ac7edc01e8 2002-11-29 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java
	(ByteBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.
	* gnu/java/nio/CharBufferImpl.java:
	Reformated.
	(endian): New member variable string endianess of buffer.
	(CharBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.
	(subSequence): Implemented.
	* gnu/java/nio/DoubleBufferImpl.java
	(DoubleBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.
	* gnu/java/nio/FloatBufferImpl.java
	Reformated.
	(FloatBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.
	* gnu/java/nio/IntBufferImpl.java
	Added needed imports, Reformated.
	(IntBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.
	* gnu/java/nio/LongBufferImpl.java
	Reformated.
	(LongBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.
	* gnu/java/nio/ShortBufferImpl.java
	Reformated.
	(ShortBufferImpl): Moved position() after limit.
	(nio_*): Use native implementation.

From-SVN: r59624
2002-11-29 07:50:46 +00:00
Kazu Hirata
3f7211f19e h8300.c (h8300_eightbit_constant_address_p): Fix a comment typo.
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
	Fix a comment typo.
	(h8300_tiny_constant_address_p): Likewise.

From-SVN: r59623
2002-11-29 02:15:52 +00:00