zack [Thu, 10 Feb 2000 00:26:47 +0000 (00:26 +0000)]
* cpphash.c (macarg): Hoist all the flag diddling out of the
function...
(macroexpand): ... and out of the loop that calls macarg.
Skip over the initial paren before macro arguments with
cpp_get_non_space_token; point may be some distance before
that paren. Abort if it's not there.
* cpplib.c (parse_clear_mark): Delete function.
(parse_set_mark, parse_goto_mark): Make static.
(ACTIVE_MARK_P): New macro.
(skip_block_comment, skip_line_comment): Do not bump the line
if ACTIVE_MARK_P is true.
(cpp_pop_buffer): The buffer to be popped may not have an
active mark.
(cpp_get_token): When looking for the initial paren before
macro arguments, only set a mark in a file buffer, Always
return to that mark before proceeding to call macroexpand or
return a NAME token.
* cpplib.h: Remove prototypes of parse_set_mark,
parse_clear_mark, parse_goto_mark.
(struct cpp_options): Rename 'put_out_comments' to
'discard_comments' and invert its sense.
* cppinit.c, cpphash.c, cpplib.c: All users of
put_out_comments changed to use discard_comments, with
opposite sense.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31879
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Thu, 10 Feb 2000 00:20:41 +0000 (00:20 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Don't delete
the edge from a block that both jumps and falls through to the
fallthru block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31878
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 10 Feb 2000 00:17:10 +0000 (00:17 +0000)]
* java/lang/natRuntime.cc (_load): Call add_library.
(loadLibraryInternal): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31877
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 10 Feb 2000 00:14:54 +0000 (00:14 +0000)]
* gnu/gcj/convert/natIconv.cc (Input_iconv::finalize): Call
iconv_close when handle is not NULL. Thanks to Andrew Haley.
(Output_iconv::finalize): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31876
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 9 Feb 2000 20:53:35 +0000 (20:53 +0000)]
In PIC mode, make sure that a constant source address is legitimate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31873
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 9 Feb 2000 20:49:34 +0000 (20:49 +0000)]
2000-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava.lang/anonarray3.out: New file.
* libjava.lang/anonarray3.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31871
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 9 Feb 2000 20:38:02 +0000 (20:38 +0000)]
2000-02-09 Andrew Haley <aph@cygnus.com>
* decl.c (clear_binding_level): Remove excess initializer.
(maybe_poplevels): Remove unused variable.
(force_poplevels): Ditto.
(struct binding_level): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31870
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 9 Feb 2000 20:33:33 +0000 (20:33 +0000)]
* libjava.compile/inner_priv.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31868
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 9 Feb 2000 20:00:29 +0000 (20:00 +0000)]
Apply Philip Blundell's patch to fix PIC operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31867
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 9 Feb 2000 18:35:41 +0000 (18:35 +0000)]
* cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
ends with a newline and a NUL. Don't be so clever manipulating
strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31864
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 9 Feb 2000 14:08:44 +0000 (14:08 +0000)]
2000-01-25 Andrew Haley <aph@cygnus.com>
* java-except.h (struct eh_range): Add `expanded' field.
(maybe_start_try): Add end_pc arg.
(maybe_end_try): Ditto.
* java-tree.h (force_poplevels): new function.
* expr.c (expand_byte_code): Don't call maybe_start_try or
maybe_end_try.
* except.c (add_handler): Reset expanded.
(expand_start_java_handler): Set expanded.
(check_start_handlers): Don't expand a start handler that's
already been expanded.
(maybe_start_try): Add end_pc arg. Only expand a handler which
ends after end_pc.
(expand_end_java_handler): call force_poplevels.
(force_poplevels): new function.
* decl.c (binding_level): Add start_pc of binding level.
(maybe_pushlevels): Call maybe_start_try when pushing binding
levels.
(maybe_poplevels): Call maybe_end_try when popping binding levels.
(LARGEST_PC): Define.
(clear_binding_level): Use LARGEST_PC.
* java-tree.h (DEBUG_JAVA_BINDING_LEVELS): new define.
* decl.c (DEBUG_JAVA_BINDING_LEVELS): new define.
(binding_depth, is_class_level, current_pc): new variables.
(struct binding_level): ditto.
(indent): new function.
(push_jvm_slot): add debugging info.
(maybe_pushlevels): ditto.
(maybe_poplevels): ditto.
(pushlevel): ditto.
(poplevel): ditto.
(start_java_method): ditto.
(give_name_to_locals): comment only.
* except.c (binding_depth, is_class_level, current_pc):
new variables.
(expand_start_java_handler): add debugging info.
(expand_end_java_handler): ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31861
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 9 Feb 2000 13:38:09 +0000 (13:38 +0000)]
* reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
not to BIGGEST_ALIGNMENT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31860
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 9 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31859
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 9 Feb 2000 01:57:21 +0000 (01:57 +0000)]
* dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
* dwarf2out.c (dwarf_cfi_name): Print name of new constant.
(reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
(output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
* frame.c (execute_cfa_insn): Handle
DW_CFA_GNU_negative_offset_extended.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31858
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 8 Feb 2000 23:48:32 +0000 (23:48 +0000)]
* flow.c (tidy_fallthru_edges): Split out from ...
(delete_unreachable_blocks): ... here.
(find_basic_blocks): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31857
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 8 Feb 2000 22:11:21 +0000 (22:11 +0000)]
* stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31856
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 8 Feb 2000 21:30:45 +0000 (21:30 +0000)]
* java/util/Properties.java (setProperty): New method.
(store): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31855
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 8 Feb 2000 21:27:02 +0000 (21:27 +0000)]
* Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
(gen_protos.o): Don't depend on cpplib.h or cpphash.h.
(fix-header.o): Don't depend on cpphash.h.
* scan.c (hashstr): New function.
* scan.h: Prototype it.
* fix-header.c: Don't include cpphash.h. Use hashstr.
* gen-protos.c: Don't include cpphash.h or cpplib.h. Use
hashstr. Report hash table statistics. Add private
definition of xrealloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31854
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 8 Feb 2000 17:15:00 +0000 (17:15 +0000)]
* i386.h (TARGET_SWITCHES): Fix typo in option name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31853
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Tue, 8 Feb 2000 16:32:20 +0000 (16:32 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Don't replace
jumps with returns unless they are jumps to the fallthru block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31852
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 8 Feb 2000 14:59:15 +0000 (14:59 +0000)]
* i386.md (addqi3_cc): Fix contraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31851
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 8 Feb 2000 11:16:09 +0000 (11:16 +0000)]
* g++.old-deja/g++.other/cast5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31850
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 8 Feb 2000 11:15:24 +0000 (11:15 +0000)]
* typeck.c (strip_all_pointer_quals): Use TYPE_MAIN_VARIANT, to
strip array element qualifiers too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31849
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 8 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31848
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 8 Feb 2000 06:09:17 +0000 (06:09 +0000)]
* function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31847
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 8 Feb 2000 00:26:58 +0000 (00:26 +0000)]
* java/lang/Runtime.java (_load): Declare.
(load, loadLibrary): Wrote in terms of _load.
* java/lang/natRuntime.cc (load): Call JNI_OnLoad if it appears in
library.
(loadLibrary): Likewise.
Include <jni.h>.
(_load): New method.
(loadLibrary, load): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31846
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 8 Feb 2000 00:23:09 +0000 (00:23 +0000)]
* jni.cc (ThrowableClass): New define.
(_Jv_JNI_Throw): Check argument.
(_Jv_JNI_ThrowNew): Likewise.
(wrap_value): Don't wrap object if it is NULL.
(_Jv_JNI_DefineClass): Use wrap_value.
(_Jv_JNI_FindClass): Likewise.
(_Jv_JNI_GetSuperclass): Likewise.
(_Jv_JNI_ExceptionOccurred): Likewise.
(_Jv_JNI_AllocObject): Likewise.
(_Jv_JNI_GetObjectClass): Likewise.
(_Jv_JNI_NewString): Likewise.
(_Jv_JNI_NewStringUTF): Likewise.
(_Jv_JNI_NewObjectArray): Likewise.
(_Jv_JNI_GetObjectArrayElement): Likewise.
(_Jv_JNI_NewPrimitiveArray): Likewise.
(_Jv_JNI_ToReflectedField): Likewise.
(_Jv_JNI_ToReflectedMethod): Likewise.
(_Jv_JNI_AllocObject): Check argument.
(_Jv_JNI_NewObjectV): Likewise.
(_Jv_JNI_NewObject): Likewise.
(_Jv_JNI_NewObjectA): Likewise.
(_Jv_JNI_GetObjectClass): Likewise.
(_Jv_JNI_GetField): Likewise.
(_Jv_JNI_SetField): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31845
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 8 Feb 2000 00:17:28 +0000 (00:17 +0000)]
* interpret.cc (PUSHL): Don't use expression statement.
(PUSHD): Likewise.
(LOADL): Likewise.
(STOREL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31844
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 7 Feb 2000 23:41:01 +0000 (23:41 +0000)]
* decl.c (store_parm_decls): Don't build cleanups for parameters
while processing_template_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31842
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 7 Feb 2000 21:40:18 +0000 (21:40 +0000)]
* libjava.lang/instinit2.out: New file.
* libjava.lang/instinit2.java: New file.
* libjava.lang/instinit.out: New file.
* libjava.lang/instinit.java: New file.
* libjava.lang/anonarray2.out: New file.
* libjava.lang/anonarray2.java: New file.
* libjava.lang/anonarray.out: New file.
* libjava.lang/anonarray.java: New file.
* libjava.lang/nested_with_ctor.out: New file.
* libjava.lang/nested_with_ctor.java: New file.
* libjava.lang/anfi.out: New file.
* libjava.lang/anfi.java: New file.
* libjava.lang/stub.out: New file.
* libjava.lang/stub.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31841
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 7 Feb 2000 21:36:19 +0000 (21:36 +0000)]
* cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
carriage return after a macro name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31840
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 7 Feb 2000 21:17:30 +0000 (21:17 +0000)]
* jni.cc (add_char): Conditional on INTERPRETER.
(mangled_name): Likewise.
(call): Likewise.
* include/java-interp.h (class _Jv_MethodBase): Conditional on
INTERPRETER.
(class _Jv_JNIMethod): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31839
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 7 Feb 2000 20:59:19 +0000 (20:59 +0000)]
* i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31838
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 7 Feb 2000 20:36:36 +0000 (20:36 +0000)]
* cp-tree.h (struct saved_scope): Add incomplete field.
(namespace_scope_incomplete): New macro.
* decl.c (pushdecl): Use it.
(hack_incomplete_structures): Use it. See through artificial
binding levels.
(mark_saved_scope): Mark it.
Implement access control for nested types.
* search.c (type_access_control): New fn.
(accessible_p): Now we do perform access control for types.
* semantics.c (deferred_type_access_control): New fn.
(initial_deferred_type_access_control): New fn.
(begin_function_definition): Call it. Add lookups parm.
* decl.c (struct binding_level): Add this_class field.
(pushlevel_class): Set it.
(mark_binding_level): Mark it.
(lookup_name_real): Use it. Call type_access_control.
(mark_saved_scope): Mark lookups field.
* cp-tree.h (flagged_type_tree): Add lookups field.
(struct saved_scope): Add lookups field.
(type_lookups): New macro.
* parse.y (declmods): Now <ftype>.
(parse_decl): Add lookups parm. Call
initial_deferred_type_access_control.
(lang_extdef): Clear type_lookups.
(typed_declspecs, declmods, typespec): Set lookups field.
(initdcl): Call deferred_type_access_control.
(fn.def1, fn.def2, typed_declspecs1, initdcl0_innards, nomods_initdcl0,
component_decl_1, named_parm): Adjust.
* friend.c (is_friend): Nested classes are friends of their
enclosing classes.
* class.c (currently_open_derived_class): New fn.
* method.c (hack_identifier): Use it.
* lex.c (do_identifier): Remove obsolete code.
* parse.y (typed_typespecs): Propagate new_type_flag properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31837
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 7 Feb 2000 20:35:14 +0000 (20:35 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31836
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 7 Feb 2000 20:34:20 +0000 (20:34 +0000)]
tweak wording
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31835
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 7 Feb 2000 18:34:05 +0000 (18:34 +0000)]
2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
* cppfiles.c (deps_output): Count spacers in deps_column.
2000-02-07 Neil Booth <NeilB@earthling.net>
* cppinit.c (initialize_dependency_output): If there is no
suffix, don't try to look for known suffixes. Use strrchr.
(cpp_start_read): Remove duplicate initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31832
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 7 Feb 2000 17:39:40 +0000 (17:39 +0000)]
* calls.c (compute_argument_block_size): New argument
preferred_stack_boundary.
(expand_call): update cfun->preferred_stack_boundary, update call of
compute_argument_block_size
(emit_library_call): Increate cfun->preferred_stack_boundary
to PREFERRED_STACK_BOUNDARY
(emit_library_call_value): Likewise.
* explow.c (allocate_dynamic_stack_spave): Likewise.
* function.c (prepare_function_start): Set
cfun->preferred_stack_boundary
* function.h (struct function): Add preferred_stack_boundary field.
* integrate.c (expand_inline_function): Update
cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
(copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
* i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31831
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 7 Feb 2000 08:45:11 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31830
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 6 Feb 2000 23:46:18 +0000 (23:46 +0000)]
* cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
cpp_pedwarn, cpp_pedwarn_with_line,
cpp_pedwarn_with_file_and_line): Move to cpperror.c.
(cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
v_cpp_error_with_line, v_cpp_warning_with_line,
cpp_message_from_errno, cpp_perror_with_name): Delete.
* cpperror.c (cpp_print_containing_files): Take starting
buffer as argument.
(cpp_file_line_for_message): Rename to cpp_print_file_and_line.
(v_cpp_message): Now called directly by all entry points.
Remove -1 case.
(cpp_pfatal_with_name, cpp_message): Delete.
(cpp_notice_from_errno, cpp_ice): New functions.
(cpp_notice): Is now for reporting error conditions, just
without an associated file.
(cpp_error, cpp_error_with_line): Don't do anything if
opts->inhibit_errors is on.
(cpp_pedwarn_with_file_and_line): Take column argument also.
* cpplib.h: Update prototypes of exported functions.
(struct cpp_options): Add inhibit_errors.
* cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
non-error messages. Include intl.h.
* cppinit.c, cppmain.c: Likewise. Also, use
cpp_notice_from_errno instead of cpp_perror_with_name or
cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
* cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
report internal errors.
* cpplib.c (do_define): Switch bcopy to memcpy.
Give cpp_pedwarn_with_file_and_line a dummy column argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31829
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 6 Feb 2000 20:08:22 +0000 (20:08 +0000)]
* cpplib.c (copy_rest_of_line): Revert previous change: don't
bail out early if we hit a line comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31828
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 6 Feb 2000 13:19:20 +0000 (13:19 +0000)]
* i386.c (ix86_can_use_return_insn_p): Fail for large poped args
and for non-empty stack frames.
* i386.md (return): Expand to return-pop as needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31827
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 6 Feb 2000 13:01:03 +0000 (13:01 +0000)]
* flow.c (flow_delete_insn, make_edge, remove_edge): Export.
* basic-block.h: Declare them.
* emit-rtl.h (active_insn_p): New.
(next_active_insn, prev_active_insn): Use it.
* rtl.h: Declare it.
* function.c (emit_return_into_block): New.
(thread_prologue_and_epilogue_insns): Insert return insns instead
of epilogues when possible.
* jump.c (jump_optimize_1): Remove code to insert a return insn
on the fallthru to the exit block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31826
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 6 Feb 2000 10:56:56 +0000 (10:56 +0000)]
* simplify-rtx.c (simplify_relational_operation): Canonicalize
constant to op1 for testing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31825
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sun, 6 Feb 2000 10:36:26 +0000 (10:36 +0000)]
2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.md (*ldi_on_overflow): New pattern.
(fixuns_truncqfqi2): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31823
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 6 Feb 2000 09:47:49 +0000 (09:47 +0000)]
* i386.md (widening and peepholes): Mask the constant instead of
using gen_lowpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31822
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 6 Feb 2000 09:47:28 +0000 (09:47 +0000)]
* i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
as a TYPE_LEA insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31821
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 6 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31820
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 6 Feb 2000 08:24:22 +0000 (08:24 +0000)]
* cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
input pointer before possibly branching off to the backslash
code.
* cpphash.c (macroexpand): Correctly delete \r escapes when
stringifying parameters.
* cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
if we can; bail out early if we hit a line comment.
(handle_directive): Treat '# 123' in an .S file just like
'# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
Return 1 for '# not_a_directive'.
(get_directive_token): Pop macro buffers here, so that
cpp_get_token can't sneakily move past a newline.
Add sanity checks.
(cpp_get_token): goto randomchar if handle_directive returns 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31819
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 6 Feb 2000 07:53:50 +0000 (07:53 +0000)]
* cppalloc.c: Update copyright.
* cpplib.c: Merge all the static function prototypes into one
block.
* cpplib.h: Remove #if 0 block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31818
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 6 Feb 2000 07:30:25 +0000 (07:30 +0000)]
* cpperror.c: Remove #ifdef EMACS block.
* cppmain.c: Likewise.
* cpphash.c: Remove #if 0 blocks.
* cppinit.c: Remove #if 0 blocks, and the -lint option.
* cpplib.c: Remove #if 0 blocks and code referencing
pcp_inside_if or for_lint. Remove duplicate error message.
Fix error messages for #else after #else or #elif. Reformat.
Remove archaic TODO list.
* cpplib.h: Remove pcp_inside_if and for_lint flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31817
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 6 Feb 2000 06:57:21 +0000 (06:57 +0000)]
* cp/tinfo.h: Remove apostrophes from C++ comment (xgettext
thinks this file is plain C).
* i386/osf1elf.h: Add missing backslash to multiline string.
* po/POTFILES.in: Remove stupid.c.
* exgettext: s/VPROTO/VPARAMS/ now that we are no longer using
VPROTO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31816
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 6 Feb 2000 05:39:32 +0000 (05:39 +0000)]
Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* gcc.c-torture/execute/
20000205-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31815
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 6 Feb 2000 04:48:20 +0000 (04:48 +0000)]
* longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31814
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 6 Feb 2000 04:33:10 +0000 (04:33 +0000)]
* gjavah.c (overloaded_jni_method_exists_p): Add prototype.
(print_name_for_stub_or_jni, process_file): Constify a char*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31813
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 6 Feb 2000 04:30:45 +0000 (04:30 +0000)]
* com.c (mark_tracker_head, mark_binding_level): Protoize.
* where.c (mark_ffewhere_head): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31812
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 6 Feb 2000 04:27:53 +0000 (04:27 +0000)]
* Makefile.in (call.o): Depend on $(EXPR_H).
* call.c: Include "expr.h".
* class.c (dump_class_hierarchy): Add prototype.
* search.c (dfs_get_pure_virtuals): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31811
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 6 Feb 2000 03:40:46 +0000 (03:40 +0000)]
* Makefile.in (c-common.o): Depend on $(EXPR_H).
* c-common.c: Include expr.h.
* c-pragma.c (mark_align_stack): Add prototype.
* caller-save.c (add_stored_regs): Likewise.
* combine.c (record_promoted_value): Likewise.
* i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
Likewise.
* cppinit.c (new_pending_define): Likewise.
* cpplib.c (skip_block_comment, skip_line_comment): Likewise.
* dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
class_scope_p): Likewise.
* dwarf2out.h (dwarf2out_set_demangle_name_func,
dwarf2out_add_library_unit_info): Likewise.
* ggc.h (ggc_page_print_statistics): Likewise.
* haifa-sched.c (propagate_deps): Likewise.
* reg-stack.c (next_flags_user, record_label_references): Likewise.
* rtl.h (set_stack_check_libfunc): Likewise.
* toplev.h (set_fatal_function): Likewise.
* toplev.c (set_fatal_function): Delete prototype.
* diagnostic.c: Deconstify functions returning malloc'ed ptrs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31810
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sun, 6 Feb 2000 03:14:46 +0000 (03:14 +0000)]
* ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
(FUNC_END): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31808
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 5 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31806
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 5 Feb 2000 05:46:57 +0000 (05:46 +0000)]
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* caller-save.c: Include tm_p.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31805
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 5 Feb 2000 05:41:22 +0000 (05:41 +0000)]
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31804
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 5 Feb 2000 05:05:03 +0000 (05:05 +0000)]
Word wrap comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31803
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 5 Feb 2000 05:04:09 +0000 (05:04 +0000)]
2000-02-04 Neil Booth <NeilB@earthling.net>
* cccp.c (main): Check 'dir' for a NULL pointer before passing
it to strcmp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31802
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 5 Feb 2000 04:56:11 +0000 (04:56 +0000)]
* recog.h: Remove NO_MD_PROTOTYPES ifdefs.
* genflags.c: Use the max_operand_1 logic from genemit.c to
calculate how many arguments gen_insn prototypes have. Remove
NO_MD_PROTOTYPES ifdefs from the generated file.
* genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
file. Cast gen_insn initializers to insn_gen_fn.
* config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
* gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31801
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 5 Feb 2000 03:59:43 +0000 (03:59 +0000)]
* fixinc/Makefile.in (HDR): Add machname.h.
(clean): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31800
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 5 Feb 2000 00:05:12 +0000 (00:05 +0000)]
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
(c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
(c4x_cpu_version): Ditto.
* config/c4x/c4x-protos.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31799
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 4 Feb 2000 23:46:13 +0000 (23:46 +0000)]
* dwarf2out.c (add_abstract_origin_attribute): Don't call
gen_abstract_function on our context if we're a nested function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31798
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 4 Feb 2000 23:35:52 +0000 (23:35 +0000)]
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
* config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31797
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Fri, 4 Feb 2000 22:11:07 +0000 (22:11 +0000)]
Added credits for Per Bothner's work on MPN.java and IntNum.java (for
BigInteger).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31795
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Fri, 4 Feb 2000 22:00:36 +0000 (22:00 +0000)]
* Makefile.am: Added MPN.java and BigInteger.java.
* Makefile.in: Rebuilt.
* gnu/gcj/math/MPN.java: New file.
* java/math/BigInteger.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31794
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Fri, 4 Feb 2000 21:42:00 +0000 (21:42 +0000)]
2000-02-04 Bruce Korb <bkorb@gnu.org>
* fixinc/genfixes(machname.h):
Move the functionality from gen-machine.h into this file.
UNdef MN_NAME_PAT if there are no names to change.
Also, be a little kinder when AutoGen is not present.
* fixinc/Makefile.in(machname.h):
Change the generation rule to use genfixes.
* fixinc/fixfixes.c(machine_name):
machine_name_fix's functionality now dependent upon whether
MN_NAME_PAT is defined.
* fixinc/fixtests.c(machine_name):
ditto.
* fixinc/fixlib.c(mn_get_regexps): conditional on definition
of MN_NAME_PAT.
* fixinc/fixlib.h(mn_get_regexps):
ditto
* fixinc/gen-machine.h: DELETED
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31793
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 4 Feb 2000 21:40:37 +0000 (21:40 +0000)]
* i386.c (SAVE_REGS_FIRST): Remove.
(ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
(ix86_compute_frame_size): Likewise.
(ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
(ix86_emit_restore_regs): Remove.
(ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
when a frame pointer is in use.
(ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
instead of pop to restore a register when profitable; emit leave
when profitable.
(ix86_attr_length_default): Handle pro_epilogue_adjust_stack
as a TYPE_LEA insn.
(ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
* i386.md (prologue_allocate_stack): Remove.
(epilogue_deallocate_stack): Remove.
(pro_epilogue_adjust_stack): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31792
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 4 Feb 2000 21:30:22 +0000 (21:30 +0000)]
* function.c (diddle_return_value): Rework to use a callback function.
Use current_function_return_rtx if it's been set up.
(do_clobber_return_reg, clobber_return_register): New.
(do_use_return_reg, use_return_register): New.
(expand_function_end): Use them.
* stmt.c (expand_null_return): Likewise.
* function.h: Declare them.
* flow.c (mark_regs_live_at_end): Use diddle_return_value.
(mark_reg): Change arguments as appropriate for callback.
* integrate.c (expand_inline_function): Revert 19 Jan change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31791
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 4 Feb 2000 20:49:27 +0000 (20:49 +0000)]
* defineclass.cc (handleMethodsBegin): Allocate _Jv_MethodBase
pointers.
(handleMethodsEnd): Fixed error messages. Create a _Jv_JNIMethod
if the method is native.
* resolve.cc (ncode): Don't handle native methods.
(_Jv_JNIMethod::ncode): New method.
(_Jv_PrepareClass): Handle native methods.
* jni.cc (call): Renamed from _Jv_JNI_conversion_call.
Include AbstractMethodError.h.
(add_char): New function.
(mangled_name): Likewise.
* include/java-interp.h (class _Jv_JNIMethod): New class.
(class _Jv_MethodBase): New class.
(class _Jv_InterpMethod): Derive from _Jv_MethodBase.
(_Jv_InterpClass): Changed `interpreted_methods' field to type
`_Jv_MethodBase'.
* include/jvm.h (_Jv_FindSymbolInExecutable): Declare.
* java/lang/natRuntime.cc (libraries_size, libraries_count,
libraries): New globals.
(add_library): New function.
(_Jv_FindSymbolInExecutable): New function.
* java/lang/natClassLoader.cc (initiated_classes, loaded_classes):
Now static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31790
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 4 Feb 2000 19:51:57 +0000 (19:51 +0000)]
* tm.texi (Values in Registers): Fix typo: "fo" "for".
(Misc): Say the scheduler, not the Haifa scheduler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31789
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Fri, 4 Feb 2000 17:51:11 +0000 (17:51 +0000)]
* jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
when in_mem is set. Update all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31787
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 4 Feb 2000 17:48:50 +0000 (17:48 +0000)]
* i386/openbsd.h (INT_ASM_OP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31786
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 4 Feb 2000 16:59:35 +0000 (16:59 +0000)]
2000-02-04 Andrew Haley <aph@cygnus.com>
* java/lang/Throwable.java (CPlusPlusDemangler): New class.
(printStackTrace): Use a CPlusPlusDemangler to demangle names.
* java/lang/natThrowable.cc (printRawStackTrace): Rename
printStackTrace to printRawStackTrace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31785
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 4 Feb 2000 10:30:26 +0000 (10:30 +0000)]
* tm.texi: Fix various typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31784
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 4 Feb 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31783
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 3 Feb 2000 23:15:43 +0000 (23:15 +0000)]
* config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
(MD_STARTFILE_PREFIX_1): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31780
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 19:09:54 +0000 (19:09 +0000)]
* jcf-io.c (jcf_print_utf8_replace): Handle UTF-8 input.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31779
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 18:45:45 +0000 (18:45 +0000)]
2000-01-31 Scott Bambrough <scottb@netwinder.org>
* gcc/java/javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to
assemble doubles correctly when HOST_FLOAT_WORDS_BIG_ENDIAN is
defined to be 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31777
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 18:39:48 +0000 (18:39 +0000)]
* Make-lang.in (java.mostlyclean): Remove executables in
`mostlyclean'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31776
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 18:26:51 +0000 (18:26 +0000)]
* java/util/Calendar.java (toString): New method.
* java/util/SimpleTimeZone.java (clone): New method.
(toString): New method.
* java/util/TimeZone.java (clone): New method.
* java/text/SimpleDateFormat.java (clone): New method.
* java/text/NumberFormat.java (clone): New method.
(equals): New method.
* java/text/Format.java (clone): New method.
* java/text/DateFormatSymbols.java (DateFormatSymbols): New
constructor.
(clone): New method.
* java/text/DateFormat.java (clone): New method.
* java/text/Collator.java (clone): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31775
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 17:17:26 +0000 (17:17 +0000)]
* java/io/PipedOutputStream.java (write(byte[], int, int)): New
method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31774
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 3 Feb 2000 14:10:02 +0000 (14:10 +0000)]
* i386.md (movstrsi, clrstrsi): Support variable sized copies, align
destination when needed.
(strmovsi, strsetsi): New expander.
(strmovsi_1, strsetsi_1): New pattern.
* i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
(TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
* invoke.texi (align-stringops, inline-all-stringops): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31773
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 3 Feb 2000 13:43:49 +0000 (13:43 +0000)]
* g++.old-deja/g++.jason/cast3.C: Return void.
* g++.old-deja/g++.pt/dynarray.C: Don't be pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31772
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 3 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31769
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 06:46:30 +0000 (06:46 +0000)]
2000-01-31 Scott Bambrough <scottb@netwinder.org>
* gcc/java/gjavah.c (D_NAN_MASK): Alternate definition required when
HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1.
(java_float_finite): Convert to use union Word from javaop.h.
(java_double_finite): Convert to use union DWord from javaop.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31768
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 3 Feb 2000 06:13:46 +0000 (06:13 +0000)]
* gjavah.c (options): Added `jni' entry.
(help): Document -jni.
(flag_jni): New global.
(process_file): Handle JNI output. Don't print text from
-prepend, -add, etc, when generating stubs. Only remove `.class'
suffix if it actually exists.
(main): Create a `.c' file when run with `--jni --stubs'. Create
correct output file name with `--jni'.
(print_include): Mangle header name differently in JNI case.
(HANDLE_METHOD): In JNI mode, call print_method_info to generate
method list.
(print_method_info): Handle JNI case. Put signature info into
method name. Handle case when STREAM is NULL.
(print_name_for_stub_or_jni): New function.
(print_stub_or_jni): Renamed from `print_stub'. Handle JNI.
(print_cxx_classname): Handle JNI.
(print_full_cxx_name): Likewise.
(decode_signature_piece): Likewise.
(overloaded_jni_method_exists_p): New function.
(struct method_name): Added `signature' and `sig_length' fields.
(HANDLE_END_FIELD): Do nothing in JNI mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31767
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 2 Feb 2000 23:27:03 +0000 (23:27 +0000)]
* i386/netbsd.h (INT_ASM_OP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31766
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 2 Feb 2000 21:55:39 +0000 (21:55 +0000)]
* jv-scan.c: Include version.c, <getopt.h>.
(LONG_OPT, OPT_HELP, OPT_VERSION): New macros.
(options): New array.
(usage): New function.
(version): New function.
(main): Use getopt_long to parse command line.
* jcf-dump.c: Include version.c, <getopt.h>.
(LONG_OPT, OPT_classpath, OPT_CLASSPATH, OPT_HELP, OPT_VERSION,
OPT_JAVAP): New macros.
(options): New array.
(usage): Return `void'. Changed message.
(help): New function.
(version): New function.
(main): Use getopt_long_only to parse command line.
* gjavah.c: Include <getopt.h>.
(LONG_OPT, OPT_classpath, OPT_CLASSPATH, OPT_HELP, OPT_TEMP,
OPT_VERSION, OPT_PREPEND, OPT_FRIEND, OPT_ADD, OPT_APPEND, OPT_M,
OPT_MM, OPT_MG, OPT_MD, OPT_MMD): New macros.
(options): New array.
(java_no_argument): Removed.
(help): Updated with missing options.
(main): Use getopt_long_only to parse command line.
(usage): Changed message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31765
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 2 Feb 2000 21:43:17 +0000 (21:43 +0000)]
Add -Wunused to dg-options
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31764
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 2 Feb 2000 21:41:35 +0000 (21:41 +0000)]
* cpplib.h (cpp_reader): Add new flag, no_directives.
* cpphash.c (macarg): Set it.
* cpplib.c (handle_directive): If no_directives is on and we
find a directive, issue an error and discard the line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31763
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 2 Feb 2000 21:08:47 +0000 (21:08 +0000)]
Fix sparc -msoft-float abort while compiling newlib.
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
FP constants. Add ! TARGET_FPU check for FP constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31762
138bc75d-0d04-0410-961f-
82ee72b054a4
cpopetz [Wed, 2 Feb 2000 13:56:01 +0000 (13:56 +0000)]
* flow.c (find_basic_blocks): Don't kill label_value_list
here.
(cleanup_cfg): Kill it here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31760
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 2000 13:04:50 +0000 (13:04 +0000)]
* expr.c (store_field): Ensure ALIGN is no stricter than the
alignment of EXP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31759
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 2 Feb 2000 09:41:03 +0000 (09:41 +0000)]
* jump.c (delete_insn): Partially revert 19 Jan change;
don't convert unused code labels to notes at -O0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31758
138bc75d-0d04-0410-961f-
82ee72b054a4