Commit Graph

29692 Commits

Author SHA1 Message Date
Tom Tromey
d7ec12ae74 Method.java (hashCode): Use getName().
* java/lang/reflect/Method.java (hashCode): Use getName().
	(toString): Likewise.
	* java/lang/reflect/natMethod.cc (getType): Initialize
	exception_types.

From-SVN: r35561
2000-08-08 03:34:51 +00:00
Alexandre Petit-Bianco
f0f3a77740 2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com
* parse.y (build_dot_class_method_invocation): Changed parameter
	name to `type.' Build signature from `type' and convert it to a
	STRING_CST if it's an array.
	(patch_incomplete_class_ref): `build_dot_class_method_invocation'
	to use `ref_type' directly.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (maybe_yank_clinit): When generating bytecode: non empty
	method bodies not to rule out discarding `<clinit>'; don't use
	<clinit> to initialize static fields with constant initializers.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* gjavah.c (print_method_info): Added `synth' parameter. Skip
	synthetic methods.
	(method_synthetic): New global.
	(HANDLE_METHOD): Recognize synthetic method and tell
	`print_method_info' about it.
	(HANDLE_END_METHOD): Do not issue an additional `;\n' if we're
	processing a synthetic method.
	* jcf-reader.c (skip_attribute): New function.
	( skip_attribute): Likewise.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (build_outer_field_access): Fixed comments.
	(fix_constructors): Emit the initialization of this$<n> before
	calling $finit$.
	(resolve_qualified_expression_name): Build an access to `decl' if
	necessary.

2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse-scan.y (curent_class): Non longer const.
	(inner_qualifier, inner_qualifier_length): Deleted.
	(current_class_length): New global.
	(bracket_count): Fixed typo in leading comment.
	(anonymous_count): New global.
	(class_instance_creation_expression:): Handle anonymous classes.
	(anonymous_class_creation:): New rule.
	(push_class_context): Rewritten.
	(pop_class_context): Likewise.
	(INNER_QUALIFIER): Macro deleted.
	(report_class_declaration): call `push_class_context' when
	entering the function. `fprintf' format modified not to use
	INNER_QUALIFIER.
	(report_class_declaration): Assign `package_name' and
	`current_class' to NULL separatly.

2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (build_invokeinterface): Call layout_class_methods on
	target interface.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html)

From-SVN: r35560
2000-08-07 20:33:36 -07:00
Nick Clifton
0da9afa6d6 Fix most compile time warning messages
From-SVN: r35559
2000-08-08 01:17:06 +00:00
Toon Moene
94260abda4 g77spec.c (lang_specific_driver): Clearer g77 version message.
2000-08-07  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77spec.c (lang_specific_driver): Clearer g77 version message.

From-SVN: r35558
2000-08-07 21:19:48 +00:00
Tom Tromey
273cea54e0 Method.java (toString): Use Class.getName, not Class.toString.
* java/lang/reflect/Method.java (toString): Use Class.getName, not
	Class.toString.
	* java/lang/reflect/Field.java (toString): Correct formatting.
	From Corey Minyard.

From-SVN: r35557
2000-08-07 20:03:40 +00:00
Tom Tromey
8ac80386ca PipedInputStream.java (read(byte[],int,int)): Mostly rewrote.
* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
	rewrote.
	(receive): Streamlined.

From-SVN: r35556
2000-08-07 19:59:48 +00:00
Felix Natter
320f95489d porting-howto.html: New version.
2000-08-07  Felix Natter  <fnatter@gmx.net>

	* docs/17_intro/porting-howto.html:  New version.

From-SVN: r35555
2000-08-07 19:29:19 +00:00
DJ Delorie
1012068710 * MAINTAINERS: Add self as a DJGPP maintainer
From-SVN: r35554
2000-08-07 11:04:48 -04:00
DJ Delorie
15c758e9e4 configure.in (FLAGS_FOR_TARGET): invert test for xgcc...
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

From-SVN: r35553
2000-08-07 11:00:46 -04:00
Nick Clifton
8e04dd30d1 * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
From-SVN: r35552
2000-08-07 11:35:06 +00:00
Graham Stott
f3d6a3cb21 mn10300.md: Use nonimmediate_operand instead of general_operand on output operands.
* mn10300.md: Use nonimmediate_operand instead of general_operand
on output operands.

From-SVN: r35551
2000-08-07 11:28:02 +00:00
Graham Stott
a7fef47884 * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
From-SVN: r35550
2000-08-07 11:26:59 +00:00
Alexandre Oliva
f8ac5288be Remove dangling whitespace
From-SVN: r35549
2000-08-07 11:20:25 +00:00
Alexandre Oliva
a6f463a028 sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.c (expand_block_move): Break long lines.
(expand_ashiftrt, fpscr_set_from_mem): Likewise.
* sh.md (mulsi3): Likewise.
(movdi): Adjust spacing.

From-SVN: r35548
2000-08-07 09:58:29 +00:00
Joseph Myers
1c5ecb11b7 * gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
From-SVN: r35547
2000-08-07 10:48:23 +01:00
Richard Henderson
ae5f017f14 expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
* expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
        * expr.c (emit_group_store): Don't set it.

From-SVN: r35546
2000-08-07 01:27:54 -07:00
Jeff Law
373c27489a Daily bump.
From-SVN: r35545
2000-08-07 01:45:08 -06:00
Kazu Hirata
0811ea8f20 cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
* cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
        * decl.c (pop_labels): Likewise.

From-SVN: r35544
2000-08-07 01:13:13 -06:00
Kazu Hirata
d169e67cd7 invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries for 'w' and 'z'.
* invoke.texi (Options for Debugging Your Program or GCC): Remove
	duplicate entries for 'w' and 'z'.

From-SVN: r35543
2000-08-07 01:11:38 -06:00
Kazu Hirata
f90bb3f146 * flow.c: Fix a comment typo.
From-SVN: r35542
2000-08-07 01:07:21 -06:00
Kazu Hirata
26f1aa5fd2 * decl.c: Fix a comment typo.
From-SVN: r35541
2000-08-07 01:05:52 -06:00
Ovidiu Predescu
720a9d43fd c-parse.in: Changed the language string for Objective-C to "GNU Objective-C".
Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* c-parse.in: Changed the language string for Objective-C to "GNU
	Objective-C".

From-SVN: r35540
2000-08-07 06:48:26 +00:00
Ovidiu Predescu
24feaa95a4 Changed the language string for Objective-C to "GNU Objective-C".
From-SVN: r35539
2000-08-07 06:47:34 +00:00
Ovidiu Predescu
b3dc253f84 objc-features.texi: Documented the new -fconstant-string-class option.
Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* objc-features.texi: Documented the new -fconstant-string-class
	option.

From-SVN: r35538
2000-08-07 06:28:07 +00:00
Ovidiu Predescu
9f942e8c17 Documented the new -fconstant-string-class option.
From-SVN: r35537
2000-08-07 06:27:47 +00:00
Ovidiu Predescu
9bc3876e69 thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...
Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
	improve the Posix thread support for Objective-C.

From-SVN: r35536
2000-08-07 05:51:41 +00:00
Ovidiu Predescu
54359cf93b Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35535
2000-08-07 05:51:14 +00:00
Ovidiu Predescu
5a4f31cf62 gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...
Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
	to improve the Posix thread support for Objective-C.

From-SVN: r35534
2000-08-06 18:54:49 +00:00
Ovidiu Predescu
447c11a54e Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35533
2000-08-06 18:54:00 +00:00
Ovidiu Predescu
137fa4d0bd objc.exp (objc_target_compile): Set the ld_library_path so that running programs linked against the shared...
Sun Aug  6 11:41:51 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* lib/objc.exp (objc_target_compile): Set the ld_library_path so
	that running programs linked against the shared version of libobjc
	run correctly.

From-SVN: r35532
2000-08-06 18:43:22 +00:00
Ovidiu Predescu
822c7fe253 Set the ld_library_path so that running programs linked against the
shared version of libobjc run correctly.

From-SVN: r35531
2000-08-06 18:41:49 +00:00
Joseph Myers
cd7324181a c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE.
* c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
	CTI_UNSIGNED_PTRDIFF_TYPE.
	(signed_size_type_node): Define.
	(unsigned_ptrdiff_type_node): Define.
	* c-decl.c (init_decl_processing): Create the
	signed_size_type_node and unsigned_ptrdiff_type_node types.
	* c-common.c (T_SC): Define.
	(T_SST): Define.
	(T_UPD): Define.
	(print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
	%to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
	%s and %p.
	(scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
	%zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
	flags for %c, %s and %[.
	(check_format_info): Only allow leniency for signedness of targets
	of character pointers (when pedantic) for formats flagged with
	"c", so for strings but not for %hh formats.  When pedantic, don't
	allow character pointers to substitute for void pointers if a
	second level of indirection is present.

testsuite:
	* gcc.dg/c99-printf-1.c: New test.

From-SVN: r35530
2000-08-06 19:12:49 +01:00
Kazu Hirata
470fc13d5b invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files.
* invoke.texi (Options for Debugging Your Program or GCC): Update
	the names of dump files.

From-SVN: r35529
2000-08-06 12:08:08 -06:00
Joseph Myers
a7086ea957 * gcc.c-torture/execute/20000801-4.x: Only xfail on x86.
From-SVN: r35528
2000-08-06 19:04:54 +01:00
Kazu Hirata
7b3d46133d h8300.c (dosize): Rearrange code for conciseness.
* h8300.c (dosize): Rearrange code for conciseness.
        (split_adds_subs): Likewise.

From-SVN: r35527
2000-08-06 12:03:58 -06:00
Kazu Hirata
e6fcb60dd9 * loop.c: Fix formatting.
From-SVN: r35526
2000-08-06 11:57:57 -06:00
Kazu Hirata
556273e010 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
From-SVN: r35525
2000-08-06 11:55:22 -06:00
Jeff Law
f899e26285 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
From-SVN: r35524
2000-08-06 11:50:06 -06:00
Kazu Hirata
3a94c98401 * expr.c: Fix formatting.
From-SVN: r35523
2000-08-06 11:48:30 -06:00
Kaveh R. Ghazi
e50f5f3d69 * rs6000.c (rs6000_maybe_dead): Prototype.
From-SVN: r35522
2000-08-06 16:39:20 +00:00
Richard Henderson
157229c314 stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for HAVE_nonlocal_goto as well.
* stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
        HAVE_nonlocal_goto as well.
        * config/i960/i960.md (nonlocal_goto): Don't do it here.
        * config/pj/pj.md (nonlocal_goto): Likewise.

From-SVN: r35521
2000-08-06 03:07:31 -07:00
Michael Hayes
d2335c2403 loop.c (try_swap_copy_prop): New function.
* loop.c (try_swap_copy_prop): New function.
	(load_mems): Rename copies to load_copies and add new regset
	store_copies.  Check for sets of shadow registers and mark
	in store_copies.   Call try_swap_copy_prop for registers
	marked in store_copies.

From-SVN: r35520
2000-08-06 08:15:28 +00:00
Ovidiu Predescu
837179cfd8 objc-act.c: New command line option -fconstant-string-class to allow specifying a user...
Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* objc/objc-act.c: New command line option -fconstant-string-class
	to allow specifying a user defined constant string class,
	different from NXConstantString.

	* toplev.c: Moved the Objective-C specific options to
	objc/lang-options.h.

	* objc/lang-options.h: Moved the Objective-C specific options from
	toplev.c. Added -fconstant-string-class.

From-SVN: r35519
2000-08-06 07:56:00 +00:00
Ovidiu Predescu
fda470306d New command line option -fconstant-string-class to allow specifying a user defined constant string class...
New command line option -fconstant-string-class to allow specifying a
user defined constant string class, different from NXConstantString.

From-SVN: r35518
2000-08-06 07:54:40 +00:00
Ovidiu Predescu
cf02c6b135 Moved the Objective-C specific options to objc/lang-options.h.
From-SVN: r35517
2000-08-06 07:52:35 +00:00
Ovidiu Predescu
52e44bb2f8 Moved the Objective-C specific options from toplev.c.
Moved the Objective-C specific options from toplev.c. Added
-fconstant-string-class to allow specifying a user defined constant
string class, different from NXConstantString.

From-SVN: r35516
2000-08-06 07:51:15 +00:00
Ovidiu Predescu
64c04091c9 lang-options.h...
lang-options.h: Added a comma after the last element to avoid syntax
errors when other languages define additional options.

From-SVN: r35515
2000-08-06 07:49:11 +00:00
Ovidiu Predescu
6389a767b8 Added a comma after the last element to avoid syntax errors when other
languages define additional options.

From-SVN: r35514
2000-08-06 07:47:20 +00:00
Jeff Law
63d5dfe350 Daily bump.
From-SVN: r35513
2000-08-06 01:45:07 -06:00
Tom Tromey
26dfad441d PrintWriter.java: Merged comments from Classpath.
* java/io/PrintWriter.java: Merged comments from Classpath.
	(printlnUnsynchronized): Removed.
	(println()): Print the separator.
	(println): Call println(), not printlnUnsynchronized.
	(out): Now protected, to match spec.

From-SVN: r35512
2000-08-06 01:54:07 +00:00