Commit Graph

53057 Commits

Author SHA1 Message Date
Nathanael Nerode 4bf1dc658b * config.gcc (alpha*-dec-osf[45]*): Disable fixproto.
From-SVN: r71866
2003-09-27 22:27:10 +00:00
Nathanael Nerode 75e52d96b8 * config.gcc (arm*-*-uclinux*): Disable fixproto.
From-SVN: r71865
2003-09-27 21:43:18 +00:00
Nathanael Nerode 1e43319cd2 config.gcc (powerpc-*-eabispe*, [...]): Disable fixproto.
* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
	powerpc-*-eabialtivec*): Disable fixproto.

From-SVN: r71864
2003-09-27 21:40:40 +00:00
Tom Tromey ed28830a47 * libjava.jacks/jacks.xfail: Updated for new passes.
From-SVN: r71863
2003-09-27 20:22:03 +00:00
Alexandre Petit-Bianco cd11bdcc47 re PR java/1333 (private field access modifier not implemented correctly)
2003-09-27  Alexandre Petit-Bianco  <apbianco@redhat.com>
	    Bryce McKinlay  <bryce@mckinlay.net.nz>

	PR java/1333:
	* parse.y (not_accessible_field_error): New function.
	(resolve_expression_name): Check field access permissions.
	(resolve_qualified_expression_name): Use
	not_accessible_field_error.
	(resolve_qualified_expression_name): Likewise.

Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz>

From-SVN: r71862
2003-09-27 20:17:21 +00:00
Eric Botcazou e8226879d0 re PR rtl-optimization/12340 (loop unroller + gcse produces wrong code)
PR optimization/12340
	* loop.h (struct induction): Document the new semantics
	of the 'same' field for bivs.
	* unroll.c (biv_total_increment): Don't count the same
	biv increment several times.
	(loop_iterations) [GENERAL_INDUCT]: Likewise.

From-SVN: r71859
2003-09-27 17:18:25 +00:00
Gabriel Dos Reis c003e212ea name-lookup.h (get_global_value_if_present): New function.
* name-lookup.h (get_global_value_if_present): New function.
	(is_typename_at_global_scope): Likewise.
	* except.c (do_begin_catch): Use get_global_value_if_present.
	(do_end_catch): Likewise.
	(do_allocate_exception): Likewise.
	(do_free_exception): Likewise.
	(build_throw): Likewise.
	* parser.c (cp_parser_member_declaration): Likewise.
	* rtti.c (throw_bad_cast): Likewise.
	(throw_bad_typeid): Likewise.
	* decl.c (check_tag_decl): Use is_typename_at_global_scope.
	(grokdeclarator): Likewise.
	* cp-tree.h (global_namespace): Move to name-lookup.h
	* call.c (call_builtin_trap): Tidy.

From-SVN: r71858
2003-09-27 16:44:05 +00:00
Kriang Lerdsuwanakij 6398fbfddc Correct PR number.
From-SVN: r71857
2003-09-27 16:40:29 +00:00
Kriang Lerdsuwanakij 9075a30574 re PR c++/11415 (Error message with ::::)
PR c++/11413
	* parser.c (cp_parser_nested_name_specifier_opt): Issue correct
	error message when parser->scope is global_namespace.

From-SVN: r71856
2003-09-27 16:34:28 +00:00
Graham Stott 337f35bbdc * unroll.c(loop_interations)[GT]: Add missing break.
From-SVN: r71854
2003-09-27 15:33:27 +00:00
Michael Koch d485d933c9 URL.java (getURLStreamHandler): Compile fixes.
2003-09-27  Michael Koch  <konqueror@gmx.de>

	* java/net/URL.java (getURLStreamHandler): Compile fixes.

From-SVN: r71853
2003-09-27 13:09:19 +00:00
Michael Koch 4ada1976c9 URL.java (getURLStreamHandler): Check if we have to use cache before trying to retrieve handler from cache.
2003-09-27  Michael Koch  <konqueror@gmx.de>

	* java/net/URL.java (getURLStreamHandler):
	Check if we have to use cache before trying to retrieve handler from
	cache. Rename facName to clsName to match classpath more. Reformated
	some little pieces.

From-SVN: r71852
2003-09-27 12:38:05 +00:00
R. Kelley Cook 9415397d87 Correct previous ChangeLog entry.
From-SVN: r71851
2003-09-27 04:53:13 +00:00
Kelley Cook 7ec022b20e GNU CC -> GCC
From-SVN: r71850
2003-09-27 04:48:30 +00:00
Ulrich Weigand 33b1669031 2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE locale.
* testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
	"Son" or "So" as abbreviated name for Sunday in de_DE locale.
	* testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.

From-SVN: r71849
2003-09-27 03:28:15 +00:00
Gabriel Dos Reis 147135cc00 cp-tree.h, [...]: Remove reference to macros BINDING_SCOPE, BINDING_VALUE and BINDING_TYPE.
* cp-tree.h, name-lookup.h, decl.c, decl2.c: Remove reference to
	macros 	BINDING_SCOPE, BINDING_VALUE and BINDING_TYPE.

From-SVN: r71848
2003-09-27 01:55:13 +00:00
GCC Administrator 07a6b250e7 Daily bump.
From-SVN: r71846
2003-09-27 00:16:06 +00:00
Loren J. Rittle 3c437d1207 objc-act.c (tm_p.h): Tweak order.
* objc/objc-act.c (tm_p.h): Tweak order.
	* objc/Make-lang.in (objc/objc-act.o): Add $(TM_P_H).

From-SVN: r71844
2003-09-26 23:28:55 +00:00
Loren J. Rittle b3aac96589 * objc/objc-act.c (tm_p.h): Tweak order.
From-SVN: r71843
2003-09-26 22:45:29 +00:00
Nathanael Nerode 63e002bd63 config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*): Include t-slibgcc-elf-ver and t-linux in tmake_file.
* config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*):
	Include t-slibgcc-elf-ver and t-linux in tmake_file.

From-SVN: r71842
2003-09-26 22:13:33 +00:00
Michael Koch fc40b902f4 re PR java/12426 (gcj allows access to private members from superclass)
2003-09-27  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/SelectionKeyImpl.java
	(ch): Make package-private again. Jikes found this bug.
	Jeff Sturm submitted PR12426 for this to bugzilla
	to fix this bug in gcj.

From-SVN: r71841
2003-09-26 22:02:05 +00:00
Nathanael Nerode 488c4e944e config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*): Disable fixproto.
* config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*):
	Disable fixproto.

From-SVN: r71838
2003-09-26 21:07:56 +00:00
Nathanael Nerode 0a66cee8c4 config.gcc (i960-*-coff*, [...]): Disable fixproto.
* config.gcc (i960-*-coff*, m68k-*-aout*, sparclite-*-coff*):
	Disable fixproto.

From-SVN: r71837
2003-09-26 21:01:02 +00:00
Nathanael Nerode 96f8d04ec0 config.gcc (i[34567]86-*-solaris2*, [...]): Disable fixproto.
* config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*,
	sparcv9-*-solaris2*, sparc-*-solaris2*): Disable fixproto.

From-SVN: r71836
2003-09-26 20:57:28 +00:00
Nathanael Nerode a6e98532bc * config/i386/unix.h: Remove (unused) DEFAULT_ASSEMBLER_DIALECT.
From-SVN: r71835
2003-09-26 20:46:47 +00:00
Loren J. Rittle 9e2f83d247 i386.h (ix86_return_in_memory): Revert my last patch.
* config/i386/i386.h (ix86_return_in_memory): Revert my last patch.
	* objc/objc-act.c (tm_p.h): Include.

From-SVN: r71834
2003-09-26 20:26:00 +00:00
Brad Spencer 2d07c3f562 10132-1.cc: Explicitly qualify exceptions.
2003-09-26  Brad Spencer  <spencer@infointeractive.com>

	* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
	Explicitly qualify exceptions.
	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
	* testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
	* testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.

From-SVN: r71832
2003-09-26 20:20:55 +00:00
Michael Koch 6634a0e914 RMIClassLoader.java: Reformatted file, no functional code changes.
2003-09-26  Michael Koch  <konqueror@gmx.de>

	* java/rmi/server/RMIClassLoader.java:
	Reformatted file, no functional code changes.

From-SVN: r71831
2003-09-26 20:03:28 +00:00
Michael Koch fc56f7acc1 [multiple changes]
2003-09-26  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
	Save space for some pixels at the buffer end.  Added Javadoc.

2003-09-26  Tom Tromey  <tromey@redhat.com>

	* java/io/ObjectOutputStream.java (writeFields): Fixed
	indentation.
	(putFields): Likewise.

From-SVN: r71829
2003-09-26 19:59:56 +00:00
Per Bothner 8aa43dd09b dbxout.c (dbxout_typedefs): Output typedefs in forward order.
* dbxout.c (dbxout_typedefs):  Output typedefs in forward order.
	No longer any need to reverse by recursion.

From-SVN: r71828
2003-09-26 12:38:27 -07:00
Roger Sayle 073089a7e0 re PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)
PR optimization/11741
	* gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
	appropriate set to match that in hash_scan_insn.  Fall back to
	the original copy method, if we can't validate changing insn.
	(pre_delete): Only delete instructions that have a single_set,
	instead of aborting when we encounter an PARALLEL insn with more
	then one SET.

	* gcc.dg/20030926-1.c: New test case.

From-SVN: r71827
2003-09-26 18:23:33 +00:00
Andreas Krebbel 43ab026f2a s390.md ("builtin_setjmp_setup"): Insn deleted.
2003-09-26  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("builtin_setjmp_setup"): Insn deleted.
	("builtin_longjmp"): Insn deleted.
	("save_stack_nonlocal"): Save literal pool base pointer behind
	backchain and stack pointer.
	("restore_stack_nonlocal"): Restore literal pool base pointer.
	* config/s390/s390.h (STACK_SAVEAREA_MODE): Double size of
	the stack save area for the nonlocal goto case.

From-SVN: r71826
2003-09-26 16:41:58 +00:00
Michael Koch 853ca657f0 ByteBufferHelper.java: Totally reworked with help from Eric Blake.
2003-09-26  Michael Koch  <konqueror@gmx.de>

	* java/nio/ByteBufferHelper.java:
	Totally reworked with help from Eric Blake.

From-SVN: r71823
2003-09-26 16:22:09 +00:00
John David Anglin e72ed00042 re PR bootstrap/12358 (Bootstrap comparison failure!)
PR bootstrap/12358
	* pa.c (output_bvb): Fix typo.

From-SVN: r71822
2003-09-26 16:03:12 +00:00
Gabriel Dos Reis 1a6daf15e2 decl.c (pop_binding_level, [...]): Merge into leave_scope.
* decl.c (pop_binding_level, suspend_binding_level,
        find_class_binding_level): Merge into leave_scope.  Remove.
        (leave_scope):  New function.
        (poplevel): Update.
        (poplevel_class): Likewise.
        (pop_namespace): Likewise.

From-SVN: r71821
2003-09-26 15:21:30 +00:00
Tom Tromey a366f4aa32 RoundRectangle2D.java (getPathIterator): Wrote.
* java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
	* java/awt/geom/PathIterator.java: Documentation fixes.

From-SVN: r71820
2003-09-26 15:14:21 +00:00
Richard Sandiford 9f5e2e1108 expmed.c (store_bit_field): Don't search for an integer mode unless we need the result.
* expmed.c (store_bit_field): Don't search for an integer mode
	unless we need the result.

From-SVN: r71819
2003-09-26 13:28:45 +00:00
Richard Sandiford 5581fc9110 expr.c (emit_move_insn_1): If there is no move pattern for the original mode...
* expr.c (emit_move_insn_1): If there is no move pattern for the
	original mode, try using a pattern for the corresponding integer mode.

From-SVN: r71816
2003-09-26 06:08:48 +00:00
Richard Sandiford 9eb5455884 * combine.c (if_then_else_cond): Tighten mode check.
From-SVN: r71815
2003-09-26 06:05:48 +00:00
Nathanael Nerode a801686396 cppcharset.c, cpphash.h: Rename 'struct strbuf' to 'struct _cpp_strbuf'.
* cppcharset.c, cpphash.h: Rename 'struct strbuf' to
	'struct _cpp_strbuf'.

From-SVN: r71814
2003-09-26 05:52:43 +00:00
Nathanael Nerode a805d35f00 netbsd-elf.h, [...]: Replace "GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".
* config/i386/netbsd-elf.h, config/i386/netbsd64.h,
	config/i386/netware.h, config/i386/nto.h, config/i386/openbsd.h,
	config/i386/pentium.md, config/i386/pmmintrin.h, config/i386/ppro.md,
	config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h,
	config/i386/sol2.h, config/i386/svr3gas.h, config/i386/sysv3.h,
	config/i386/sysv4-cpp.h, config/i386/sysv4.h, config/i386/sysv5.h,
	config/i386/unix.h, config/i386/uwin.h, config/i386/vsta.h,
	config/i386/xm-cygwin.h, config/i386/xm-djgpp.h,
	config/i386/xm-mingw32.h, config/i386/xmmintrin.h: Replace
	"GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".

From-SVN: r71813
2003-09-26 04:07:46 +00:00
Jeff Sturm eac559b624 Fix build failure.
* gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
(select): Likewise.
(register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.

From-SVN: r71812
2003-09-26 03:50:45 +00:00
Nathanael Nerode 188fc5b50d i386-aout.h, [...]: GNU CC -> GCC.
* config/i386/i386-aout.h, config/i386/i386-coff.h,
	config/i386/i386-interix.h, config/i386/i386-interix3.h,
	config/i386/i386-modes.def, config/i386/i386-protos.h,
	config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
	config/i386/i386elf.h, config/i386/k6.md, config/i386/kaos-i386.h,
	config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h,
	config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
	config/i386/mmintrin.h, config/i386/moss.h: GNU CC -> GCC.
	"GNU compiler" -> GCC.

From-SVN: r71811
2003-09-26 03:46:06 +00:00
Nathanael Nerode e20285ad89 att.h, [...]: GNU CC -> GCC.
* config/i386/att.h, config/i386/beos-elf.h, config/i386/biarch64.h,
	config/i386/bsd.h, config/i386/crtdll.h, config/i386/cygming.h,
	config/i386/cygwin.h, config/i386/cygwin1.c, config/i386/cygwin2.c,
	config/i386/darwin.h, config/i386/djgpp.h, config/i386/emmintrin.h,
	config/i386/freebsd-aout.h, config/i386/freebsd.h,
	config/i386/freebsd64.h, config/i386/gas.h: GNU CC -> GCC.

From-SVN: r71810
2003-09-26 03:28:27 +00:00
Paolo Carlini 91675f9d25 re PR libstdc++/12352 (Exception safety problems in src/localename.cc)
2003-09-25  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/12352
	* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
	size_t)): Don't leak if memory allocations for _M_facets,
	_M_caches, and _M_names fail.
	(locale::_Impl::_Impl(const char*, size_t)): Ditto.
	(locale::_Impl::_M_replace_categories(const _Impl*,
	category)): Ditto.
	(locale::_Impl::_M_install_facet(const locale::id*,
	const facet*)): Ditto.
	* include/bits/locale_classes.h (locale::locale(const locale&,
	_Facet*)): Don't leak memory.
	* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.

	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
	bool)): Qualify with std:: strcpy, tweak.
	* include/bits/locale_classes.h
	(locale::_Impl::_M_check_same_name): Qualify strcmp.

From-SVN: r71808
2003-09-26 00:22:01 +00:00
GCC Administrator 81a1dd1872 Daily bump.
From-SVN: r71806
2003-09-26 00:16:06 +00:00
Kelley Cook 7d82fe7cf8 cgraph.c (dump_cgraph): Don't output newline before dump.
2003-09-23  Kelley Cook  <kelleycook@wideopenwest.com>

	* cgraph.c (dump_cgraph):  Don't output newline before dump.  Add in
	"local" to the callgraph dump.  Output "after inlining" earlier.
	* cgraphunit.c: Fix dumpfile whitespace and commonize headers of the
	callgraph dumps.  Correct misspellings.
	(cgraph_decide_inlining):  Output number of insns before inlining.
	Output the calling function into which a function is inlined.
	(cgraph_decide_small_functions): Format dump file like always_inline.

From-SVN: r71804
2003-09-26 00:14:28 +00:00
Loren J. Rittle c73f02bef2 * config/i386/i386.h (ix86_return_in_memory): Add prototype.
From-SVN: r71803
2003-09-25 23:58:19 +00:00
Ulrich Weigand 7333171fe9 s390.c (s390_emit_prologue): Simplify accesses to FPR slots in the save area.
* config/s390/s390.c (s390_emit_prologue): Simplify accesses to
	FPR slots in the save area.
	(s390_emit_epilogue): Likewise.

From-SVN: r71799
2003-09-25 21:38:43 +00:00
Benjamin Kosnik 775ee48ed2 [multiple changes]
2003-09-25  Brad Spencer  <spencer@infointeractive.com>

	PR libstdc++/6072
	* acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
	wcstof, iswblank.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* crossconfig.m4: Add in wchar_t bits for solaris crosses.
	* config/io/basic_file_stdio.cc: Guard unistd.h.
	* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
	* include/c_std/std_cwchar.h: Same.
	* include/c_std/std_cwctype.h: Same.

2003-09-25  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/11065
	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
	* config/locale/generic/ctype_members.cc: Same.
	* testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
	* testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.

	* config/os/generic/ctype_inline.h: Update.

From-SVN: r71798
2003-09-25 21:32:14 +00:00