53059 Commits

Author SHA1 Message Date
Carlo Wood
dc25fbc79b re PR libstdc++/12365 (include/g++/bits/demangle.h:155: warning: unused parameter 'cv_qualifier')
2003-09-22  Carlo Wood  <carlo@alinoe.com>

	PR libstdc++/12365
	* include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
	char const*, int, int)): Remove unused identifier
	cv_qualifier for overloaded constructor.

From-SVN: r71653
2003-09-22 14:39:16 +00:00
Gerald Pfeifer
d1174343b7 gcc_release (announce_snapshot): Restructure processing of snapshot-README and snapshot-index.html and add a new...
* gcc_release (announce_snapshot): Restructure processing
	of snapshot-README and snapshot-index.html and add a new
	substitution for @EXPORT@.

From-SVN: r71652
2003-09-22 14:29:20 +00:00
Ralph Loader
88962108fc re PR libgcj/12350 (StringBuffer.substring handles shared flag incorrected.)
2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>

        PR java/12350:
        * java/lang/StringBuffer.java (substring): Fix handling of shared
        flag.

2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>

        PR java/12350
        * libjava.lang/PR12350.java: New file.
        * libjava.lang/PR12350.out: New file.

From-SVN: r71651
2003-09-22 09:17:49 +01:00
Michael Koch
b5bb72ec41 jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning but produces a different...
2003-09-22  Michael Koch  <konqueror@gmx.de>

	* jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
	compiler warning but produces a different one now.

From-SVN: r71650
2003-09-22 08:05:51 +00:00
Michael Koch
7cdc862eae InetAddress.java: Moves around some code, reformats and adds documentation.
2003-09-22  Michael Koch  <konqueror@gmx.de>

	* java/net/InetAddress.java:
	Moves around some code, reformats and adds documentation.
	No functional changes.

From-SVN: r71649
2003-09-22 07:56:44 +00:00
Andrew Pinski
af0f185b1b re PR target/12281 (not emiting function which is static and marked as inline)
2003-09-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/12281
        * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Call
        mark_referenced instead of setting TREE_SYMBOL_REFERENCED.

2003-09-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/12281
        * gcc.c-torture/compile/20030921-1.c: New test.

From-SVN: r71648
2003-09-22 00:18:09 -07:00
Eric Botcazou
de582cfbb9 re PR target/9786 (Ice in fixup_abnormal_edges with -fnon-call-exceptions -O2)
PR target/9786
	* reg-stack.c (convert_regs_1): Purge possible dead eh edges
	after potential deletion of trapping insn. Avoids later ICE
	from call to fixup_abnormal_edges.
	(convert_regs_2): Stack the current block successors before
	processing this block, that is, before the potential deletion of
	dead edges by convert_regs_1, because these edges have been used
	to initialize the predecessors count.

From-SVN: r71644
2003-09-22 06:59:51 +00:00
Michael Koch
316b38c83c 2003-09-22 Michael Koch <konqueror@gmx.de>
* java/net/JarURLConnection.java
	(JarURLConnection): Modifed code to match classpath more, fixed comment.
	(getCertificates): Made it more error prone.
	(getMainAttributes): Likewise.
	(getAttributes): Implemented.
	(getManifest): Reformatted code.

From-SVN: r71643
2003-09-22 05:48:32 +00:00
Eric Botcazou
9554f88654 * real.c: Fix several nits in the head comment.
From-SVN: r71642
2003-09-22 05:46:51 +00:00
Richard Henderson
f31686a322 Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
From-SVN: r71641
2003-09-21 22:09:32 -07:00
GCC Administrator
0f7fcd6a40 Daily bump.
From-SVN: r71638
2003-09-22 00:16:08 +00:00
Richard Henderson
7e2af53a14 tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
* tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
	(TREE_FILENAME, TREE_LINENO): Likewise.
	(set_tree_locus, copy_tree_locus, set_tree_file_line): New.
	(TREE_LOCUS_SET_P): New.
	* c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
	diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
	print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
	tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
	config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match.

ada/
	* trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
	change to const.

cp/
	* class.c, cp-tree.h, decl.c, decl2.c, error.c, init.c,
	method.c, optimize.c, pt.c, semantics.c, tree.c: Update for
	DECL_SOURCE_LOCATION rename and change to const.

f/
	* com.c, ste.c: Update for DECL_SOURCE_LOCATION rename and
	change to const.

java/
	* class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y,
	resource.c: Update for DECL_SOURCE_LOCATION rename and change to const.

treelang/
	* treetree.c: Update for DECL_SOURCE_LOCATION rename and
	change to const.

From-SVN: r71636
2003-09-21 16:39:40 -07:00
Nathanael Nerode
d6a1d39a7d * config/vax/vax-protos.h: Convert to ISO C90.
From-SVN: r71632
2003-09-21 20:03:06 +00:00
Nathanael Nerode
0d92b0e40c * config/vax/vax.c: Convert to ISO C90.
From-SVN: r71631
2003-09-21 19:51:24 +00:00
Daniel Jacobowitz
43bb47c236 configure.in: Pass a computed --program-transform-name to subconfigures.
* configure.in: Pass a computed --program-transform-name
	to subconfigures.
	* configure: Regenerated.

From-SVN: r71630
2003-09-21 19:32:22 +00:00
Toon Moene
df351d76cb news.texi: Update with fixed PR's.
2003-09-21  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Update with fixed PR's.

From-SVN: r71629
2003-09-21 16:19:01 +00:00
Toon Moene
e94915267b re PR libf2c/11918 (isatty does not call f_init)
2003-09-21  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR libf2c/11918
	* fstat_.c: Call f_init().
	* isatty_.c: Ditto.
	* fnum_.c: Check file descriptor before handing it back.

From-SVN: r71628
2003-09-21 16:16:46 +00:00
Graham Stott
fa543fdda1 re PR target/12353 (ICE in copyprop_hardreg_forward_1)
PR target/12353
       * config/i386/i386.md(ffs_no_cmove): Fix operand 2 constraint.

From-SVN: r71627
2003-09-21 15:27:00 +00:00
George Helffrich
b3e3732ce1 g77.texi: Remove ancient part about debugging COMMON and EQUIVALENCE not correctly.
2003-09-21  George Helffrich  <bugzilla@w170.uklinux.net>

	* g77.texi: Remove ancient part about debugging COMMON
	and EQUIVALENCE not correctly.

From-SVN: r71623
2003-09-21 13:26:36 +00:00
Eric Botcazou
5cfc53563b re PR target/12301 (corruption in exception path, exception in returned expression)
PR target/12301
	* reorg.c (stop_search_p): Return 1 for insns that can
	throw internally.

From-SVN: r71620
2003-09-21 08:17:48 +00:00
Richard Henderson
ddd2d57e72 c-format.c (gcc_diag_char_table): Add %J.
* c-format.c (gcc_diag_char_table): Add %J.
        (gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise.
        (check_format_types): Fix wanted_type name lookup.
        (init_dynamic_diag_info): Setup %J.
        * diagnostic.c (text_specifies_location): Implement %J.
        * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c,
        dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c,
        tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c,
        config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c,
        config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics.

        * tree-inline.c: Include intl.h
        (inline_forbidden_p_1): Fix i18n of inline_forbidden_reason.
        * Makefile.in (tree-inline.o): Update.
cp/
        * decl.c, decl2.c, pt.c: Use %J in diagnostics.
java/
        * check-init.c, class.c, decl.c, expr.c: Use %J in diagnostics.
testsuite/
        * gcc.dg/format/gcc_diag-1.c: Add tests for %J.

From-SVN: r71619
2003-09-20 22:07:20 -07:00
Roger Sayle
ccea753c05 i386.c (ix86_expand_carry_flag_compare): Fix transformation of a>=0 into (unsigned)a<0x80000000.
* config/i386/i386.c (ix86_expand_carry_flag_compare): Fix
	transformation of a>=0 into (unsigned)a<0x80000000.

	* gcc.c-torture/execute/20030920-1.c: New test case.

From-SVN: r71618
2003-09-21 02:22:45 +00:00
Andrew Pinski
86b0a4f337 * config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
From-SVN: r71617
2003-09-20 17:27:37 -07:00
GCC Administrator
5f0ccd0b63 Daily bump.
From-SVN: r71615
2003-09-21 00:16:07 +00:00
Anthony Green
0722cb666c Fix arm-elf support.
From-SVN: r71613
2003-09-21 00:15:52 +00:00
Tom Tromey
a8cc9af35f Component.java: Indentation cleanup from Classpath.
* java/awt/Component.java: Indentation cleanup from Classpath.

2003-09-20  Dalibor Topic  <robilad@kaffe.org>

       * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
       checking to follow 1.4.2 spec.

From-SVN: r71612
2003-09-20 21:30:39 +00:00
Ingo Proetel
21cf98f6e0 UnicastRef.java: make constructor public and check if serverobject is compatible in case client...
2003-08-11  Ingo Proetel  <proetel@aicas.com>

        * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
        is compatible in case client and server are running in the same VM
	(remerged from Classpath on 2003-09-20)

From-SVN: r71611
2003-09-20 21:23:47 +00:00
Nathanael Nerode
94322bebd2 Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
* Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
	* Makefile.in: Regenerate.

From-SVN: r71610
2003-09-20 21:16:09 +00:00
Nathanael Nerode
da9d3b3740 (top level)
(top level)
	* Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc.
	* Makefile.in: Regenerate.

	(gcc)
	* Makefile.in: Don't set (unused) DLLTOOL.

From-SVN: r71609
2003-09-20 21:12:38 +00:00
Nathanael Nerode
aa9762f6dc t-linux, [...]: Remove obsolete references to ENQUIRE.
* config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi:
	Remove obsolete references to ENQUIRE.

From-SVN: r71608
2003-09-20 21:09:07 +00:00
Nathan Sidwell
fecafe5e0e apparently managed not to commit the crucial part of c++/12332
From-SVN: r71607
2003-09-20 19:30:51 +00:00
Kriang Lerdsuwanakij
2c49cd9e10 * g++.dg/rtti/typeid3.C: Correct expected error message.
From-SVN: r71606
2003-09-20 16:32:18 +00:00
Kriang Lerdsuwanakij
4047b1642c re PR c++/157 (Duplicate error message for invalid elaborated type specifier)
PR c++/157
	* parser.c (cp_parser_direct_declarator): Clear
	parser->num_template_parameter_lists when parsing function
	parameters.
	(cp_parser_constructor_declarator_p): Likewise.

	* g++.dg/parse/crash12.C: New test.

From-SVN: r71605
2003-09-20 15:59:38 +00:00
David Daney
2f54a73fc1 Reference.java (clear): Set referent to null and synchronize.
2003-09-19  David Daney <ddaney@avtrex.com>

	* java/lang/ref/Reference.java (clear): Set referent to null and
	synchronize.

From-SVN: r71597
2003-09-20 02:57:07 +00:00
GCC Administrator
f55f60a5ea Daily bump.
From-SVN: r71595
2003-09-20 00:16:06 +00:00
Michael Koch
309cecc625 NIODatagramSocket.java, [...]: New files.
2003-09-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/NIODatagramSocket.java,
	gnu/java/nio/NIOSocket.java: New files.
	* Makefile.am (ordinary_java_source_files):
	Added gnu/java/nio/NIODatagramSocket.java and
	gnu/java/nio/NIOSocket.java.
	* Makefile.in: Regenerated.

From-SVN: r71592
2003-09-19 21:12:58 +00:00
Janis Johnson
99d53bba4d mixed-struct-check.h: New.
2003-09-19  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/compat/mixed-struct-check.h: New.
	* gcc.dg/compat/mixed-struct-defs.h: New.
	* gcc.dg/compat/mixed-struct-init.h: New.
	* gcc.dg/compat/struct-by-value-19_main.c: New.
	* gcc.dg/compat/struct-by-value-19_x.c: New.
	* gcc.dg/compat/struct-by-value-19_y.c: New.
	* gcc.dg/compat/struct-by-value-20_main.c: New.
	* gcc.dg/compat/struct-by-value-20_x.c: New.
	* gcc.dg/compat/struct-by-value-20_y.c: New.
	* gcc.dg/compat/struct-return-19_main.c: New.
	* gcc.dg/compat/struct-return-19_x.c: New.
	* gcc.dg/compat/struct-return-19_y.c: New.
	* gcc.dg/compat/struct-return-20_main.c: New.
	* gcc.dg/compat/struct-return-20_x.c: New.
	* gcc.dg/compat/struct-return-20_y.c: New.

From-SVN: r71591
2003-09-19 21:09:52 +00:00
Ziemowit Laski
ffd9060b5b MAINTAINERS: Move myself from 'Write After Approval' to 'Various Maintainers' (objective-c)...
2003-09-19  Ziemowit Laski  <zlaski@apple.com>

        * MAINTAINERS: Move myself from 'Write After Approval'
        to 'Various Maintainers' (objective-c) section.

From-SVN: r71589
2003-09-19 20:03:34 +00:00
Nathanael Nerode
2c813e213c configure.in: Remove --with-elf, which doesn't work.
* configure.in: Remove --with-elf, which doesn't work.
	* configure: Regenerate.
	* config.gcc: Remove references to $elf, which does nothing.

From-SVN: r71588
2003-09-19 19:48:57 +00:00
Nathanael Nerode
748fad954e xm-vsta.h: Remove xm-file believed useless.
* config/i386/xm-vsta.h: Remove xm-file believed useless.
	* config.build (i386-vsta): Remove reference to it.
	* config.host (i386-vsta): Remove reference to it.

From-SVN: r71587
2003-09-19 19:46:07 +00:00
Thomas Fitzsimmons
5ec47f6049 GtkDialogPeer.java (create()): Create a top-level GTK window.
2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
	top-level GTK window.
	(getArgs): Add "title" property.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
	"allow_shrink" and "allow_grow" properties.
	* java/awt/Dialog.java: Initialize resizable to true and change
	comments accordingly.  Initialize visible to false in
	constructors.
	* java/awt/Frame.java (dispose): Remove method.
	* java/awt/Window.java (ownedWindows): New field.
	(Window(Window,GraphicsConfiguration)): Add a weak reference to
	owner's ownedWindows vector.
	(finalize): Remove method.
	(hide): Hide owned windows.
	(dispose): Dispose of owned windows.
	(getOwnedWindows): Implement.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
	unused GtkArg code.
	(set(String,boolean)): Clamp gboolean parameter to g_object_set
	to TRUE or FALSE.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(create): Set window's size requisition.
	(connectHooks): Fix indentation.
	(setResizable): Remove function.
	(static setBounds): Likewise.
	(setBounds): Replace call to setBounds with GTK size requisition
	and resize calls.

From-SVN: r71585
2003-09-19 19:27:59 +00:00
Andreas Tobler
9e3bfa9b75 closure_fn0.c: Xfail mips, arm, strongarm, xscale.
2003-09-19  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
	strongarm, xscale. Cleanup whitespaces.
	* testsuite/libffi.call/closure_fn1.c: Likewise.
	* testsuite/libffi.call/closure_fn2.c: Likewise.
	* testsuite/libffi.call/closure_fn3.c: Likewise.
	* testsuite/libffi.call/cls_12byte.c: Likewise.
	* testsuite/libffi.call/cls_16byte.c: Likewise.
	* testsuite/libffi.call/cls_1_1byte.c: Likewise.
	* testsuite/libffi.call/cls_20byte.c: Likewise.
	* testsuite/libffi.call/cls_24byte.c: Likewise.
	* testsuite/libffi.call/cls_2byte.c: Likewise.
	* testsuite/libffi.call/cls_3_1byte.c: Likewise.
	* testsuite/libffi.call/cls_3byte1.c: Likewise.
	* testsuite/libffi.call/cls_3byte2.c: Likewise.
	* testsuite/libffi.call/cls_4_1byte.c: Likewise.
	* testsuite/libffi.call/cls_4byte.c: Likewise.
	* testsuite/libffi.call/cls_5byte.c: Likewise.
	* testsuite/libffi.call/cls_6byte.c: Likewise.
	* testsuite/libffi.call/cls_7byte.c: Likewise.
	* testsuite/libffi.call/cls_8byte.c: Likewise.
	* testsuite/libffi.call/cls_double.c: Likewise.
	* testsuite/libffi.call/cls_float.c: Likewise.
	* testsuite/libffi.call/cls_uchar.c: Likewise.
	* testsuite/libffi.call/cls_uint.c: Likewise.
	* testsuite/libffi.call/cls_ulonglong.c: Likewise.
	* testsuite/libffi.call/cls_ushort.c: Likewise.
	* testsuite/libffi.call/nested_struct.c: Likewise.
	* testsuite/libffi.call/nested_struct1.c: Likewise.
	* testsuite/libffi.call/problem1.c: Likewise.
	* testsuite/libffi.special/unwindtest.cc: Likewise.
	* testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.

From-SVN: r71584
2003-09-19 21:21:53 +02:00
Phil Edwards
e08737dc0e install.texi: Document the multiple testsuite options.
2003-09-19  Phil Edwards  <phil@codesourcery.com>

	* doc/install.texi:  Document the multiple testsuite options.

From-SVN: r71582
2003-09-19 17:50:26 +00:00
Gerald Pfeifer
6a1dbbafd8 install.texi (Specific): Add the specific versions of GCC where support for FreeBSD 1...
* doc/install.texi (Specific): Add the specific versions of GCC
	where support for FreeBSD 1, HP-UX version 9 and older, and AIX
	version 3 and older was discontinued.

From-SVN: r71581
2003-09-19 17:14:34 +00:00
Joel Sherrill
86677d256e t-m68kbare, t-rtems: Change 68681 to 68881.
2003-09-19	Joel Sherrill <joel@oarcorp.com>

	* config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
	68881.

From-SVN: r71580
2003-09-19 16:47:54 +00:00
Bernardo Innocenti
0988b75845 m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines for -m68030, -m68020-60 and -m68020-40.
* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
	for -m68030, -m68020-60 and -m68020-40.
	* config/m68k/m68k.h (TARGET_68030): New target flag.
	* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM,
	TARGET_REGPARM): Remove.
	* config/m68k/m68k.h: Regroup and renumber target flags.
	* config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations.
	* config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0.
	* config/m68k/m68k.h (FUNCTION_ARG): Likewise.
	* config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
	* config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros.

From-SVN: r71577
2003-09-19 18:39:44 +02:00
Andrew Pinski
ed71e586b9 array11.C: Change unsigned to __SIZE_TYPE__ so that it will not complain on LP64 targets.
* g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__
	so that it will not complain on LP64 targets.

From-SVN: r71575
2003-09-19 07:46:25 -07:00
Kriang Lerdsuwanakij
68c788471b re PR c++/495 (ICE in in lookup_template_class, at cp/pt.c:3961)
PR c++/495
	* pt.c (tsubst_friend_class): Only use innermost template
	arguments for the injected friend class template.

	* g++.dg/template/friend24.C: New test.

From-SVN: r71574
2003-09-19 14:08:00 +00:00
Ralf Corsepius
472b0fbcf7 t-rtems: New.
2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* config/mips/t-rtems: New.
	* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.

From-SVN: r71570
2003-09-19 13:27:53 +00:00
Ralf Corsepius
c7fcd90b72 t-rtems: New.
2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* config/mips/t-rtems: New.
	* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.

From-SVN: r71569
2003-09-19 13:24:47 +00:00