1. 02 Dec, 2002 4 commits
  2. 01 Dec, 2002 14 commits
    • jacks.exp (gcj_jacks_setup_xfail): New function. · ab8227fa
      	* 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
      Tom Tromey committed
    • re PR c++/5919 (ICE when passing variable array to template function) · 94fc547c
      	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
      Mark Mitchell committed
    • re PR c++/8727 (compiler confused by inheritance from an anonymous struct) · a82d6da5
      	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
      Mark Mitchell committed
    • * config/frv/xm-frv.h: Delete, unnecessary. · 558bb2c4
      From-SVN: r59693
      Zack Weinberg committed
    • * config/h8300/h8300.md: Add comments for define_peephole2. · 96cc06af
      From-SVN: r59690
      Kazu Hirata committed
    • re PR c++/8332 (strlen/template interaction causes ICE) · c9f8536c
      	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
      Mark Mitchell committed
    • Revert change accidentally applied to wrong branch · 335c9de7
      From-SVN: r59688
      Zack Weinberg committed
    • SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath. · c2bea6b0
             * java/lang/SecurityManager.java: Remerge comments, indenting and
             checkXXX methods with Classpath.
      
      From-SVN: r59685
      Mark Wielaard committed
    • Daily bump. · a46ad9b0
      From-SVN: r59679
      GCC Administrator committed
    • i * configure.in: Don't put ${tm_file} into host_xm_file, · 1886c474
      	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
      Zack Weinberg committed
    • re PR c++/8227 (g++ 3.3: ctors not called in static array initialization) · 328de7c2
      	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
      Mark Mitchell committed
    • cfg.c (dump_flow_info): Use max_reg_num () to determine the largest pseudo register number plus 1. · f6318a2b
      	* cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
      	pseudo register number plus 1.
      
      From-SVN: r59669
      John David Anglin committed
    • re PR c++/8214 (character conversion problem) · c17707f1
      	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
      Mark Mitchell committed
  3. 30 Nov, 2002 4 commits
  4. 29 Nov, 2002 13 commits
    • cpplib.c (_cpp_test_assertion): Default *value to 0. · 2402645b
      	* cpplib.c (_cpp_test_assertion): Default *value to 0.
      
      	* cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
      
      From-SVN: r59648
      Hans-Peter Nilsson committed
    • anon2.C: New test. · f6a83eb0
      	* g++.dg/lookup/anon2.C: New test.
      
      	* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
      	anonymous structs.
      
      From-SVN: r59647
      Joe Buck committed
    • class.c (walk_subobject_offsets): Recur on binfos as well as on types. · ff944b49
      	* 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
      Mark Mitchell committed
    • t-crtstuff: New target makefile fragment. · 8ef34c0d
      	* config/s390/t-crtstuff: New target makefile fragment.
      	* config.gcc [s390-*-linux, s390x-*-linux]: Use it.
      
      From-SVN: r59641
      Ulrich Weigand committed
    • configure.in (_XOPEN_SOURCE, [...]): Check that _XOPEN_SOURCE 500L may be… · c6d05307
      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
      Krister Walfridsson committed
    • h8300.md (movsi_h8300hs): Change the order of alternatives to correct the length when... · b8bbda91
      	* 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
      Kazu Hirata committed
    • h8300.md (an anonymous pattern): Give an internal name *tst_extzv_bitqi_1_n. · d23dff51
      	* 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
      Kazu Hirata committed
    • 2002-11-29 Michael Koch <konqueror@gmx.de> · a1cd285d
      	* 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
      Michael Koch committed
    • 2002-11-29 Michael Koch <konqueror@gmx.de> · a4536c7a
      	* 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
      Michael Koch committed
    • Daily bump. · 45596747
      From-SVN: r59631
      GCC Administrator committed
    • natByteBufferImpl.cc, [...]: New files that implement native functionalities. · 38a21d46
      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
      Michael Koch committed
    • 2002-11-29 Michael Koch <konqueror@gmx.de> · ac7edc01
      	* 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
      Michael Koch committed
    • h8300.c (h8300_eightbit_constant_address_p): Fix a comment typo. · 3f7211f1
      	* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
      	Fix a comment typo.
      	(h8300_tiny_constant_address_p): Likewise.
      
      From-SVN: r59623
      Kazu Hirata committed
  5. 28 Nov, 2002 5 commits