- 10 Feb, 2000 9 commits
-
-
From-SVN: r31885
Richard Henderson committed -
* Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS. Don't link with HOST_LIBS. From-SVN: r31884
Robert Lipe committed -
* configure.in: Correct --help text for --with-dwarf2. Put tm-dwarf2.h after other tm files, if it's requested. * configure: Regenerate. * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before defining it. From-SVN: r31883
Zack Weinberg committed -
* cpplib.h: Provide HASHNODE typedef and forward decl of struct hashnode only. Kill cpp_hashnode typedef. MACRODEF, DEFINITION, struct hashnode, struct macrodef, struct definition, scan_decls prototype, default defn of INCLUDE_LEN_FUDGE moved elsewhere. * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct definition, and struct hashnode moved here. Remove the unused 'predefined' field from struct definition. Replace the 'args' union with its sole member. All users updated (cpphash.c). Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add multiple include guard. * cpphash.c (hashf): Make static; use better algorithm; drop HASHSIZE parameter; return an unsigned int. (cpp_lookup): Drop HASH parameter. PFILE parameter is used. Calculate HASHSIZE modulus here. (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus here. (create_definition): Drop PREDEFINITION parameter. * cpplib.c (do_define): Don't calculate a hash value here. Don't pass (keyword == NULL) to create_definition. * scan.h: Prototype scan_decls here. * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here. * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All callers of cpp_lookup and cpp_install updated. From-SVN: r31881
Zack Weinberg committed -
From-SVN: r31880
Jonathan Larmour committed -
* 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. From-SVN: r31879
Zack Weinberg committed -
function.c (thread_prologue_and_epilogue_insns): Don't delete the edge from a block that both jumps and falls through to the... * 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. From-SVN: r31878
Clinton Popetz committed -
* java/lang/natRuntime.cc (_load): Call add_library. (loadLibraryInternal): Likewise. From-SVN: r31877
Tom Tromey committed -
* gnu/gcj/convert/natIconv.cc (Input_iconv::finalize): Call iconv_close when handle is not NULL. Thanks to Andrew Haley. (Output_iconv::finalize): Likewise. From-SVN: r31876
Tom Tromey committed
-
- 09 Feb, 2000 10 commits
-
-
From-SVN: r31873
Scott Bambrough committed -
2000-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * libjava.lang/anonarray3.out: New file. * libjava.lang/anonarray3.java: New file. From-SVN: r31871
Alexandre Petit-Bianco committed -
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. From-SVN: r31870
Andrew Haley committed -
From-SVN: r31868
Tom Tromey committed -
From-SVN: r31867
Philip Blundell committed -
* 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. From-SVN: r31864
Zack Weinberg committed -
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. From-SVN: r31861
Andrew Haley committed -
not to BIGGEST_ALIGNMENT. From-SVN: r31860
Jan Hubicka committed -
From-SVN: r31859
Jeff Law committed -
* 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. From-SVN: r31858
Geoff Keating committed
-
- 08 Feb, 2000 14 commits
-
-
* flow.c (tidy_fallthru_edges): Split out from ... (delete_unreachable_blocks): ... here. (find_basic_blocks): Use it. From-SVN: r31857
Richard Henderson committed -
From-SVN: r31856
Richard Kenner committed -
* java/util/Properties.java (setProperty): New method. (store): New method. From-SVN: r31855
Tom Tromey committed -
* 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. From-SVN: r31854
Zack Weinberg committed -
From-SVN: r31853
Kaveh R. Ghazi committed -
function.c (thread_prologue_and_epilogue_insns): Don't replace jumps with returns unless they are jumps to the fallthru block. * function.c (thread_prologue_and_epilogue_insns): Don't replace jumps with returns unless they are jumps to the fallthru block. From-SVN: r31852
Clinton Popetz committed -
From-SVN: r31851
Jan Hubicka committed -
From-SVN: r31850
Nathan Sidwell committed -
* typeck.c (strip_all_pointer_quals): Use TYPE_MAIN_VARIANT, to strip array element qualifiers too. From-SVN: r31849
Nathan Sidwell committed -
From-SVN: r31848
Jeff Law committed -
From-SVN: r31847
Hans-Peter Nilsson committed -
* 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. From-SVN: r31846
Tom Tromey committed -
* 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. From-SVN: r31845
Tom Tromey committed -
* interpret.cc (PUSHL): Don't use expression statement. (PUSHD): Likewise. (LOADL): Likewise. (STOREL): Likewise. From-SVN: r31844
Tom Tromey committed
-
- 07 Feb, 2000 7 commits
-
-
* decl.c (store_parm_decls): Don't build cleanups for parameters while processing_template_decl. From-SVN: r31842
Mark Mitchell committed -
* 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. From-SVN: r31841
Alexandre Petit-Bianco committed -
* cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a carriage return after a macro name. From-SVN: r31840
Mark Mitchell committed -
* 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. From-SVN: r31839
Tom Tromey committed -
* i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing so the gcc2_compiled symbol doesn't confuse BeOS debuggers. From-SVN: r31838
Fred Fish committed -
* 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. From-SVN: r31837
Jason Merrill committed -
From-SVN: r31836
Jason Merrill committed
-