Commit Graph

26500 Commits

Author SHA1 Message Date
Richard Kenner
4dbba8765d toplev.c (documented_lang_options): Correct spelling error.
* toplev.c (documented_lang_options): Correct spelling error.
	(decode_d_option, decode_f_option, main): Likewise.

	* toplev.c (print_time): Avoid SIGFPE when all_time is zero.

From-SVN: r32181
2000-02-26 09:39:36 -05:00
Richard Kenner
2eecbd3f08 alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at to tell assembler it is permitted to expand large constants.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
	to tell assembler it is permitted to expand large constants.

From-SVN: r32180
2000-02-26 09:31:14 -05:00
Jeff Law
af841dbdcc Fix copyrights.
From-SVN: r32179
2000-02-26 07:26:24 -07:00
Jeff Law
d050d723e0 Fix copyrights.
From-SVN: r32178
2000-02-26 06:55:09 -07:00
Jeff Law
3e5940a9c1 Fix copyrights
From-SVN: r32177
2000-02-26 06:51:58 -07:00
Jeff Law
fee9dc3e9e Daily bump.
From-SVN: r32176
2000-02-26 01:45:07 -07:00
Jeff Law
3b708058ed Fix copyrights.
From-SVN: r32175
2000-02-25 23:23:30 -07:00
Jeff Law
ef58a5234d Copyright fixes.
From-SVN: r32174
2000-02-25 23:04:48 -07:00
Jeff Law
5e7b4e2509 Fix copyrights.
From-SVN: r32173
2000-02-25 22:59:31 -07:00
Jeff Law
3c71940faf Copyright fixes
From-SVN: r32172
2000-02-25 22:54:31 -07:00
Jeff Law
517cbe13c4 Copyright fixes.
From-SVN: r32171
2000-02-25 22:45:17 -07:00
Mumit Khan
a7db8bbb21 protoize.c: (AUX_INFO_SUFFIX): New macro.
* protoize.c: (AUX_INFO_SUFFIX): New macro.
        (aux_info_suffix): Use.
        (SAVE_SUFFIX): New macro.
        (save_suffix): Use.
        (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
        (gen_aux_info_file): Use aux_info_suffix instead of ".X".
        (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.

        * invoke.texi (Running Protoize): Update documentation.

From-SVN: r32170
2000-02-25 22:39:13 -07:00
Jim Wilson
3431f196c0 Fix 3 ia64 g++ testsuite failures, and groff miscompilation.
* optimize.c (expand_call_inline): Emit the return label before
	evaluating the return value.

From-SVN: r32169
2000-02-25 21:32:24 -08:00
Mark Elbrecht
0268c50107 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
From-SVN: r32168
2000-02-25 22:23:20 -07:00
Graham Stott
0cb5d81cf1 resource.c (mark_referenced_resources): Changed use SET_DEST (...) to XEXP (......
* resource.c (mark_referenced_resources): Changed use SET_DEST (...)
        to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.

From-SVN: r32167
2000-02-25 22:19:35 -07:00
Anthony Green
3ff9925ce0 expr.c (build_class_init): Mark the decl to be ignored by check_init.
2000-02-25  Anthony Green  <green@cygnus.com>

	* expr.c (build_class_init): Mark the decl to be ignored by
	check_init.
	* java-tree.h (DECL_BIT_INDEX): Move definition from check-init.c
	* check-init.c: Move DECL_BIT_INDEX to java-tree.h
	* class.c (init_test_hash_newfunc): New function.
	(decl_hash): New function.
	(decl_compare): New function.
	* decl.c (emit_init_test_initialization): New function.
	(complete_start_java_method): Traverse the init test hashtable,
	calling emit_init_test_initialization.
	(always_initialize_class_p): Define.
	* expr.c (build_class_init): Use initialization tests when
	emitting class initialization code.
	(always_initialize_class_p): Declare.
	* jcf-parse.c (parse_class_file): Set always_initialize_class_p to
	1.
	* java-tree.h: Include hash.h.
	(DECL_FUNCTION_INIT_TEST_TABLE): Define.
	(struct lang_decl): Add init_test_table field.
	(init_test_hash_entry): Define.

From-SVN: r32166
2000-02-26 05:12:27 +00:00
Jeffrey A Law
985dae7cdd * gcc.c-torture/execute/20000225-1.c: New test.
From-SVN: r32165
2000-02-25 21:46:00 -07:00
Alexandre Petit-Bianco
3c9ef12753 gjavah.c (main): Avoid using `argi' to report unimplemented options.
* gjavah.c (main): Avoid using `argi' to report unimplemented
	options.

From-SVN: r32164
2000-02-26 04:32:08 +00:00
John Wehle
63be01fb11 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
From-SVN: r32163
2000-02-25 19:58:08 -07:00
Anthony Green
44a76fc856 toplev.c (rest_of_compilation): Rebuild jump labels if combine_instructions has created a new direct jump.
* toplev.c (rest_of_compilation): Rebuild jump labels if
	combine_instructions has created a new direct jump.
	* combine.c (try_combine): Add new_direct_jump_p argument.  Set it
	when appropriate.
	(combine_instructions): Call try_combine with new argument.
	Return non-null value when new direct jump instruction is created.
	* rtl.h: combine_instructions returns an int.

From-SVN: r32162
2000-02-25 19:54:36 -07:00
Alexandre Petit-Bianco
0e9137bb1f jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR: initialize locals to avoid warnings.
Fri Feb 25 18:47:25 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
 	initialize locals to avoid warnings. Local `exception_type' moved
	into if statement.

From-SVN: r32161
2000-02-25 18:50:37 -08:00
Jeffrey A Law
602c4c0d71 cse.c (cse_insn): Replace the PATTERN of the insn with an new jump when...
* cse.c (cse_insn): Replace the PATTERN of the insn with an new
	jump when changing a computed jump into a jump to a known
	target.

From-SVN: r32160
2000-02-25 19:50:12 -07:00
Graham Stott
4a92092ae6 *** empty log message ***
From-SVN: r32159
2000-02-25 19:24:11 -07:00
Alexandre Petit-Bianco
98f3c1dbd3 parse.y (resolve_expression_name): Use `orig' as a second argument to resolve_field_access.
Fri Feb 25 18:00:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (resolve_expression_name): Use `orig' as a second
 	argument to resolve_field_access.
	(resolve_field_access): Removed unecessary code when dealing with
 	static fields.

From-SVN: r32158
2000-02-25 18:05:35 -08:00
K. Richard Pixley
3924a5783b * rtl.texi: Fix typo.
From-SVN: r32157
2000-02-25 18:50:50 -07:00
Tom Tromey
ac52f669c5 jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on `INTERPRETER'.
* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
	`INTERPRETER'.

From-SVN: r32156
2000-02-25 23:49:34 +00:00
Joern Rennecke
9c236404ba ChangeLog typo fix for last final.c change: LABEL_ALIGN -> LOOP_ALIGN
From-SVN: r32155
2000-02-25 23:09:16 +00:00
Joern Rennecke
8156feba93 Typo fix in ChangeLog: 1,$:s/sh_label_align/sh_loop_align/g
From-SVN: r32154
2000-02-25 23:03:23 +00:00
Bryce McKinlay
4ae4a3c973 re GNATS libgcj/38 (Static initializer in DecimalFormat eventually depends on itself)
2000-02-25  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/net/URLConnection.java (initializeDateFormats): New
        private method.
        (getHeaderFieldDate): Call initializeDateFormats if required.
        locale, dateFormat1, dateFormat2, dateFormat3: Don't initialize
        these.
        Fix for PR libgcj/38.

From-SVN: r32153
2000-02-25 22:38:33 +00:00
J"orn Rennecke
0ad913af75 sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by UNITS_PER_WORD.
* sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
	UNITS_PER_WORD.  Change caller initial_elimination_offset.
	(rounded_frame_size): Take into account that argument pushed has
	changed.  Fix TARGET_ALIGN_DOUBLE problem.

From-SVN: r32152
2000-02-25 20:12:02 +00:00
Hans Boehm
dc5de37072 ffi.c, [...]: New files.
2000-02-25  Hans Boehm <boehm@acm.org>

	* src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
	files.
	* src/raw_api.c (ffi_translate_args): Fixed typo in argument
	list.
	(ffi_prep_raw_closure): Use ffi_translate_args, not
	ffi_closure_translate.
	* src/java_raw_api.c: New file.
	* src/ffitest.c (closure_test_fn): New function.
	(main): Define `rint' as long long on IA64.  Added new test when
	FFI_CLOSURES is defined.
	* include/ffi.h.in (ALIGN): Use size_t, not unsigned.
	(ffi_abi): Recognize IA64.
	(ffi_raw): Added `flt' field.
	Added "Java raw API" code.
	* configure.in: Recognize ia64.
	* Makefile.am (TARGET_SRC_IA64): New macro.
	(libffi_la_common_SOURCES): Added java_raw_api.c.
	(libffi_la_SOURCES): Define in IA64 case.

From-SVN: r32151
2000-02-25 19:13:44 +00:00
Geoff Keating
0e2eaba46d haifa-sched.c (schedule_block): Explain the real reason we delete REG_SAVE_NOTEs on the first insn of a block.
* haifa-sched.c (schedule_block): Explain the real reason
we delete REG_SAVE_NOTEs on the first insn of a block.
Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.

* compile/20000224-1.c: New test.

From-SVN: r32150
2000-02-25 18:17:40 +00:00
Alexandre Oliva
66830bb21b * compile/cpp-2.c: New test.
From-SVN: r32149
2000-02-25 11:21:25 +00:00
Alexandre Oliva
d9adf95d19 * compile/cpp-1.c: New test.
From-SVN: r32148
2000-02-25 11:18:22 +00:00
Jeff Law
e0bf2d9553 Daily bump.
From-SVN: r32147
2000-02-25 01:45:07 -07:00
Alexandre Oliva
495da1f64f * gcc.dg/cpp-li2.c: New test.
From-SVN: r32146
2000-02-25 05:05:40 +00:00
Alexandre Oliva
e729bc6d57 * gcc.dg/cpp-wi1.c: New test.
From-SVN: r32145
2000-02-25 04:59:04 +00:00
Alexandre Oliva
cff244b2b2 * gcc.dg/cpp-li1.c: New test.
From-SVN: r32144
2000-02-25 04:44:41 +00:00
Warren Levy
12b595c7c4 BigInteger.java (ival): Made private.
* java/math/BigInteger.java(ival): Made private.
	(words): Ditto.
	(neg): Ditto.

From-SVN: r32143
2000-02-25 04:00:09 +00:00
Mark Mitchell
574a0ef53c lex.c (check_newline): Use push_srcloc and pop_srcloc, rather than duplicating functionality here.
* lex.c (check_newline): Use push_srcloc and pop_srcloc, rather
	than duplicating functionality here.
	* optimize.c: Include input.h.
	(expand_call_inline): Use push_srcloc and pop_srcloc.
	* parse.y (maybe_cv_qualifier): Remove calls to emit_line_note.
	* parse.c: Regenerated.
	* Makefile.in (lex.o): Depend on input.h.
	(optimize.o): Likewise.

From-SVN: r32142
2000-02-25 01:36:03 +00:00
Mark Mitchell
68723fae69 input.h (push_srcloc): New function.
* input.h (push_srcloc): New function.
	(pop_srcloc): Likewise.
	* toplev.c (push_srcloc): Define it.
	(pop_srcloc): Likewise.

From-SVN: r32141
2000-02-25 01:07:31 +00:00
Richard Henderson
c8082519f2 flow.c (life_analysis): When collecting reg info, clear regs_ever_live.
* flow.c (life_analysis): When collecting reg info, clear
        regs_ever_live.

From-SVN: r32139
2000-02-24 14:32:10 -08:00
J"orn Rennecke
e5f8d4c0c7 Fix bug exposed by reload.c no longer rounding the frame size to BIGGEST_ALIGNMENT:
Fix bug exposed by reload.c no longer rounding the frame
	size to BIGGEST_ALIGNMENT:
	* sh.c (rounded_frame_size): New function.
	(sh_expand_prologue, sh_expand_epilogue): Use it.
	(initial_elimination_offset): Likewise.

From-SVN: r32138
2000-02-24 22:14:14 +00:00
Nick Clifton
521fe9d066 Add support for an OS of "wince"
From-SVN: r32137
2000-02-24 21:21:31 +00:00
J"orn Rennecke
afbc290536 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
* sh-protos.h (sh_need_epilogue): Declare.
	* sh.c (sh_need_epilogue_known): New static variable.
	(sh_need_epilogue): New function.
	(function_epilogue): Clear need_epilogue_known.
	* sh.md (return): Split into expander / insn pattern.
	Make the expander conditional on ! sh_need_epilogue ().

From-SVN: r32136
2000-02-24 20:09:30 +00:00
Nathan Sidwell
36c265b175 machmode.h (get_mode_alignment): Declare.
* machmode.h (get_mode_alignment): Declare.
	(GET_MODE_ALIGNMENT): Call it.
	* stor-layout.c (get_mode_alignment): New function. Make
	sure alignment is always power of 2.

From-SVN: r32134
2000-02-24 10:07:32 +00:00
Nathan Sidwell
da3a471976 * g++.old-deja/g++.other/sizeof5.C: New test.
From-SVN: r32133
2000-02-24 09:48:41 +00:00
Nathan Sidwell
41cbc04c44 decl.c (grokdeclarator): Diagnose qualifiers on non-member function type, rather than ICE.
* decl.c (grokdeclarator): Diagnose qualifiers on non-member
	function type, rather than ICE.

From-SVN: r32132
2000-02-24 09:48:18 +00:00
Jeff Law
ee41918880 Daily bump.
From-SVN: r32131
2000-02-24 01:45:07 -07:00
Zack Weinberg
f32d49a82e i386.h: Remove useless definition of "I386" and misleading comment above it.
* i386.h: Remove useless definition of "I386" and misleading
	comment above it.

From-SVN: r32130
2000-02-24 04:59:34 +00:00