Commit Graph

26481 Commits

Author SHA1 Message Date
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
Zack Weinberg
4e23f9e3a8 This has worked for the past three months
From-SVN: r32129
2000-02-24 04:35:59 +00:00
Zack Weinberg
23dfa477ce tree.h (TREE_SET_PERMANENT): New macro.
* tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
	under which TREE_PERMANENT will be set.
	* tree.c (make_node, copy_node, make_tree_vec, tree_cons,
	build1): Use TREE_SET_PERMANENT.
	* print-tree.c (print_node): Don't report value of
	TREE_PERMANENT if ggc_p is true.

	* c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
	decide whether to give a type a new alias set.
	* objc/objc-act.c (build_objc_string_object): Never copy the string.
	* tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
	of value of 'obstack'.

	* f/com.c (ffecom_type_permanent_copy_): Delete unused function.
        (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).

From-SVN: r32128
2000-02-24 04:04:06 +00:00
Franz Sirl
1e59bcc307 * execute/va-arg-13.c: New test.
From-SVN: r32127
2000-02-23 23:16:36 +00:00
Donald Lindsay
8706d596ac New test. Approved by rth.
From-SVN: r32126
2000-02-23 22:17:04 +00:00
Michael Hayes
41387ffdc6 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
From-SVN: r32125
2000-02-23 21:03:21 +00:00
Tom Tromey
c45c5e092d gjavah.c (print_name): In JNI case, correctly quote string.
* gjavah.c (print_name): In JNI case, correctly quote string.
	(print_method_info): Don't handle overrides in JNI mode.

From-SVN: r32124
2000-02-23 20:46:18 +00:00
Jason Merrill
9fc336c7e6 decl.c (grokdeclarator): Call decl_type_access_control.
* decl.c (grokdeclarator): Call decl_type_access_control.
        * parse.y (parse_end_decl): Don't call decl_type_access_control if
        decl is null.

From-SVN: r32123
2000-02-23 15:25:49 -05:00
Jason Merrill
2b4c135643 new
From-SVN: r32122
2000-02-23 15:23:15 -05:00
Alexandre Oliva
525bc95d4a cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
* cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
* cpplib.c (cpp_get_token): Produce them.
* cppexp.c (cpp_lex): Handle them.

From-SVN: r32121
2000-02-23 19:21:07 +00:00
Nick Clifton
1cb8d58acc (arm_comp_type_attributes): Simply and comment tests on type attributes.
From-SVN: r32120
2000-02-23 19:08:51 +00:00
Nick Clifton
211365c22c oops - fixed typo in previous delta
From-SVN: r32119
2000-02-23 18:30:27 +00:00
Nick Clifton
bd7fc26f04 Fix arm_comp_type_attributes
From-SVN: r32118
2000-02-23 18:29:25 +00:00
Nathan Sidwell
8bacb3d967 * execute/20000223-1.c: New test.
From-SVN: r32117
2000-02-23 18:14:28 +00:00
Nathan Sidwell
b23875c9b5 * g++.old-deja/g++.pt/memtemp79.C: Fixed. Remove XFAIL.
From-SVN: r32116
2000-02-23 17:27:07 +00:00
Nathan Sidwell
e867a17950 * decl.c (decls_match): Remove obsolete static member nadgering.
From-SVN: r32115
2000-02-23 17:25:29 +00:00
J"orn Rennecke
2148624a44 final.c (shorten_branches): Make value passed to LABEL_ALIGN conform to documentation.
* final.c (shorten_branches): Make value passed to LABEL_ALIGN
	conform to documentation.
	* sh.h (LABEL_ALIGN): If aligning loops, call sh_label_align
	to check for special cases.
	* sh-protos.h (sh_label_align): Declare.
	* sh.c (sh_label_align): Define.

From-SVN: r32114
2000-02-23 17:18:15 +00:00
Andrew Haley
699729979c mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2000-02-22  Andrew Haley  <aph@cygnus.com>

	* config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
	(SIZE_TYPE): Is 32 bits when using -mgp32.
	(PTRDIFF_TYPE): Ditto.

From-SVN: r32113
2000-02-23 14:37:05 +00:00
Richard Kenner
4eda9c6582 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
From-SVN: r32112
2000-02-23 07:17:57 -05:00
Jeff Law
f871e8996d Daily bump.
From-SVN: r32111
2000-02-23 01:45:07 -07:00