summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gthr-posix.h: Fix typo; compatibily -> compatibility.Fred Fish2000-01-277-6/+15
| | | | | | | | | | | * gthr-posix.h: Fix typo; compatibily -> compatibility. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. From-SVN: r31646
* cppinit.c: Add " (cpplib)" to end of string printed by -v / --version.Zack Weinberg2000-01-272-2/+7
| | | | | | | * cppinit.c: Add " (cpplib)" to end of string printed by -v / --version. From-SVN: r31645
* Reflect renaming of invariant_p to loop_invariant_p in comment.Joern Rennecke2000-01-271-2/+3
| | | | From-SVN: r31644
* alpha.c (alpha_emit_conditional_move): Use VOIDmode when testing for a ↵Richard Henderson2000-01-274-15/+113
| | | | | | | | | | | | | signed comparison. * alpha.c (alpha_emit_conditional_move): Use VOIDmode when testing for a signed comparison. (alpha_emit_floatuns): New. * alpha-protos.h: Declare it. * alpha.md (floatunsdisf2, floatunsdidf2): New. (extendsfdf2): Tidy. From-SVN: r31643
* Daily bump.Jeff Law2000-01-275-5/+5
| | | | From-SVN: r31642
* linux64.h (CC1_SPEC): If compiling -m32 with -g but no -g option specifying ↵Jakub Jelinek2000-01-272-1/+8
| | | | | | | | | debugging format... * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but no -g option specifying debugging format, default to -gstabs+. From-SVN: r31641
* pt.c (unify): Use fold, not maybe_fold_nontype_arg.Jason Merrill2000-01-262-4/+5
| | | | | | | * pt.c (unify): Use fold, not maybe_fold_nontype_arg. -------------------------------------------------------------------- From-SVN: r31640
* Correct warning string to grep forZack Weinberg2000-01-271-1/+1
| | | | From-SVN: r31639
* method.h (JvNumMethods): Moved from Class.h.Tom Tromey2000-01-267-92/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gcj/method.h (JvNumMethods): Moved from Class.h. (JvGetFirstMethod): Likewise. * java/lang/Class.h (Object): Updated decl of _Jv_JNI_ToReflectedField. (Object): Added _Jv_JNI_ToReflectedMethod as a friend. * Makefile.in: Rebuilt. * Makefile.am (java/lang/reflect/Field.h): Added `jboolean' argument of _Jv_JNI_ToReflectedField. (java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod as a friend. (java/lang/reflect/Method.h): Likewise. * include/jni.h (class _Jv_JNIEnv): Added `klass' member. Use __GCJ_JNI_IMPL__. (jweak): New typedef. (struct JNINativeInterface): Correctly declare remaining entries. * jni.cc: Include Class.h, ClassLoader.h. (_Jv_JNI_FindClass): New function. (_Jv_JNI_DefineClass): New function. (_Jv_JNI_conversion_call): New function. (_Jv_JNI_FindClass): Use current class loader to find class. (_Jv_JNI_ExceptionCheck): New function. (_Jv_JNI_FromReflectedField): Now static. (MethodClass): New define. (_Jv_JNI_FromReflectedMethod): New function. (_Jv_JNI_ToReflectedMethod): Likewise. Include Method.h. (_Jv_JNI_IsAssignableFrom): Renamed. (_Jv_JNI_GetStringRegion): New function. Include StringIndexOutOfBoundsException.h. (_Jv_JNI_GetStringUTFRegion): New function. (_Jv_JNIFunctions): Updated for new functions. (_Jv_JNI_GetPrimitiveArrayCritical): New function (_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise. (_Jv_JNI_GetStringCritical): New function. (_Jv_JNI_ReleaseStringCritical): Likewise. (get_throwable): Removed. (GCJ_JV_JNIENV_FRIEND): Removed. (__GCJ_JNI_IMPL__): Define. Include method.h. From-SVN: r31638
* resolve.cc (get_ffi_type_from_signature): Handle case where boolean is an int.Tom Tromey2000-01-262-0/+15
| | | | | | | * resolve.cc (get_ffi_type_from_signature): Handle case where boolean is an int. From-SVN: r31637
* calls.c (special_function_p): New argument fork_or_exec.Joern Rennecke2000-01-261-2/+34
| | | | | | | | | | | | | * calls.c (special_function_p): New argument fork_or_exec. (expand_call): When profile_arc_flag is set and the function is in the fork_or_exec group, call __bb_fork_func first. * libgcc2.c, _bb module (__bb_fork_func): New function. (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock output file. * config/svr4.h (TARGET_HAS_F_SETLKW): Define. * tree.h (special_function_p): Update prototype. From-SVN: r31636
* calls.c (special_function_p): New argument fork_or_exec.J"orn Rennecke2000-01-267-16/+109
| | | | | | | | | | | | | | | | | | gcc: * calls.c (special_function_p): New argument fork_or_exec. (expand_call): When profile_arc_flag is set and the function is in the fork_or_exec group, call __bb_fork_func first. * libgcc2.c, _bb module (__bb_fork_func): New function. (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock output file. * config/svr4.h (TARGET_HAS_F_SETLKW): Define. * tree.h (special_function_p): Update prototype. gcc/cp: * cp/optimize.c (calls_setjmp_r): Supply new argument to special_function_p. From-SVN: r31635
* alpha.c (alpha_split_tfmode_pair): New.Richard Henderson2000-01-264-27/+147
| | | | | | | | | | * alpha.c (alpha_split_tfmode_pair): New. * alpha-protos.h: Declare it. * alpha.md (abstf2, negtf2): New. (movtf insn): Add input G constraint. (movtf splitter): Use alpha_split_tfmode_pair. From-SVN: r31634
* * i386/cygwin.h: PROTO -> PARAMS.Kaveh R. Ghazi2000-01-262-9/+13
| | | | From-SVN: r31633
* call.c: PROTO -> PARAMS.Kaveh R. Ghazi2000-01-2631-1460/+1496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * call.c: PROTO -> PARAMS. * class.c: Likewise. * cp-tree.h: Likewise. * cvt.c: Likewise. * decl.c: Likewise. * decl.h: Likewise. * decl2.c: Likewise. * dump.c: Likewise. * errfn.c: Likewise. * error.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * init.c: Likewise. * input.c: Likewise. * lex.c: Likewise. * lex.h: Likewise. * method.c: Likewise. * optimize.c: Likewise. * parse.y: Likewise. * pt.c: Likewise. * repo.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * spew.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. * xref.c: Likewise. From-SVN: r31632
* sparc.c (sparc_emit_float_lib_cmp): Handle TARGET_ARCH32 again.Jakub Jelinek2000-01-263-59/+159
| | | | | | | | | | | | | | | | | | * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons using _Qp_cmp/_Q_cmp and testing the return value. (print_operand): Call reverse_condition_maybe_unordered if we are handling CCFPmode or CCFPEmode. Handle ORDERED, UN* and LTGT comparisons. * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32 if not TARGET_HARD_QUAD. (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble, bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt): Call sparc_emit_float_lib_cmp even on TARGET_ARCH32. Adjust gen_b* calls so that they reflect return comparison of sparc_emit_float_lib_cmp. From-SVN: r31631
* Daily bump.Jeff Law2000-01-265-5/+5
| | | | From-SVN: r31630
* alpha.c (alpha_emit_xfloating_cvt): Do not assume incoming operands array is ↵Alexandre Oliva2000-01-262-5/+17
| | | | | | | | | | large enough for one more operand. * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume incoming operands array is large enough for one more operand. (alpha_emit_xfloating_arith): Likewise. From-SVN: r31629
* Makefile.in (machname.h): SunOS 4 sed can't handle a file with one line and ↵Zack Weinberg2000-01-264-6/+15
| | | | | | | | | | | | | no trailing newline. * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a file with one line and no trailing newline. Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>. * fixinc/fixtests.c (machine_name_test): Fix fencepost error checking if the match is on the line. * fixinc/gnu-regex.c: Provide regerror not __regerror. From-SVN: r31628
* * gcc.dg/unused-2.c: New test.Alexandre Oliva2000-01-262-0/+20
| | | | From-SVN: r31627
* * gcc.dg/conv-1.c: New test.Alexandre Oliva2000-01-262-0/+15
| | | | From-SVN: r31626
* sparc.c (output_cbranch): Fix accidental squashing of the fp branch ↵Richard Henderson2000-01-252-98/+108
| | | | | | | | | pre-delay nop. * sparc.c (output_cbranch): Fix accidental squashing of the fp branch pre-delay nop. From-SVN: r31625
* tree.def (UNNE_EXPR): Remove.Richard Henderson2000-01-2512-79/+133
| | | | | | | | | | | | | | | | | | | | | | * tree.def (UNNE_EXPR): Remove. * c-typeck.c (build_binary_op): Don't handle it. * expr.c (expand_expr, do_jump, do_store_flag): Likewise. * cp/typeck.c (build_binary_op_nodefault): Likewise. * rtl.def (UNNE): Remove. (LTGT): Add. * jump.c (reverse_condition): Update accordingly. (swap_condition): Likewise. (comparison_dominates_p): Handle unordered comparisons. (reverse_condition_maybe_unordered): New. * rtl.h (reverse_condition_maybe_unordered): Declare. * sparc.c (select_cc_mode): Update for UNNE/LTGT. (output_cbranch): Use reverse_condition_maybe_unordered and LTGT. * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs. * sparc.md (bltgt): New. From-SVN: r31624
* Only check machine class insns for improper emission of a RETURNNick Clifton2000-01-262-0/+6
| | | | From-SVN: r31623
* interpret.cc (run): Don't call println.Tom Tromey2000-01-262-4/+15
| | | | | | | * interpret.cc (run): Don't call println. Don't include PrintStream.h. From-SVN: r31622
* field.h (struct _Jv_Field): Use "jshort" as type for nameIndex.Tom Tromey2000-01-263-11/+13
| | | | | | | | | | | | | | * gcj/field.h (struct _Jv_Field): Use "jshort" as type for nameIndex. Use "jint" as type for boffset. * java/lang/Class.h (struct _Jv_Method): Made accflags a _Jv_ushort. (Class): Likewise. Also changed type of method_count, vtable_method_count, size_in_bytes, field_count, static_field_count, interface_count. * gcj/array.h (__JArray): Made `length' a const jsize, not an int. From-SVN: r31621
* Makefile.in (flow.o): Depend on $(EXPR_H).Richard Henderson2000-01-253-24/+26
| | | | | | | | * Makefile.in (flow.o): Depend on $(EXPR_H). * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e. duplicate the structure of diddle_return_value for keeping regs live. From-SVN: r31620
* cp-tree.h (vcall_offset_in_vtable_p): New macro.Mark Mitchell2000-01-253-36/+254
| | | | | | | | | | | | | | | | | | * cp-tree.h (vcall_offset_in_vtable_p): New macro. * class.c (build_vbase_offset_vtbl_entries): Fix typo in commment. (struct vcall_offset_data_s): New type. (dfs_vcall_offset_queue_p): New function. (dfs_build_vcall_offset_vtbl_entries): Likewise. (build_vcall_offset_vtbl_entries): Likewise. (layout_vtable_decl): Likewise. (num_vfun_entries): Likewise. (num_extra_vtbl_entries): Add the entries for vcall offsets. (build_vtbl_initializer): Likewise. (dfs_finish_vtabls): Use layout_vtable_decl. (modify_one_vtables): Always duplicate vtables under the new ABI. (finish_struct_1): Use layout_vtable_decl. From-SVN: r31619
* loop.c (current_loop_info): Delete.Michael Hayes2000-01-254-317/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * loop.c (current_loop_info): Delete. (consec_sets_invariant_p): Add loop argument, update callers. (get_condition_for_loop): Likewise. (count_nonfixed_reads, update_giv_derive): Likewise. (simplify_giv_expr, general_induction_var): Likewise. (consec_sets_giv, recombine_givs): Likewise. (move_movables): Delete loop_start and loop_end arguments, add loop argument, and update callers. (find_mem_givs, check_final_value): Likewise. (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise. (loop_invariant_p): Rename from invariant_p, add loop argument, and update callers. (basic_induction_var): Add loop argument, delete loop_level argument, and update callers. * unroll.c (iteration_info): Delete loop_start and loop_end arguments, add loop argument, and update callers. (find_splittable_regs, find_splittable_givs): Likewise. (reg_dead_after_loop, loop_find_equiv_value): Likewise. (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise. (biv_total_increment): Delete loop_start and loop_end arguments; update callers. (precondition_loop_p): Delete loop_start and loop_info arguments; update callers. * loop.h (get_condition_for_loop): Add loop argument. (biv_total_increment): Delete loop_start and loop_end arguments. (precondition_loop_p): Delete loop_start and loop_info arguments; add loop argument. (final_biv_value): Delete loop_start and loop_end arguments; add loop argument. (final_giv_value, back_branch_in_range_p): Likewise. From-SVN: r31618
* * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.Gavin Romig-Koch2000-01-252-5/+14
| | | | From-SVN: r31617
* Makefile.in (c-gperf.h): Change the "See" pointer to point to the new ↵Gavin Romig-Koch2000-01-252-2/+9
| | | | | | | | | | | "generated_files" doc. 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com> * Makefile.in (c-gperf.h) : Change the "See" pointer to point to the new "generated_files" doc. From-SVN: r31616
* decl.c (member_function_or_else): Change third arg from a format specifier ↵Kaveh R. Ghazi2000-01-252-8/+20
| | | | | | | | | to an `enum overload_flags'. * decl.c (member_function_or_else): Change third arg from a format specifier to an `enum overload_flags'. Callers changed. From-SVN: r31615
* parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string concatenation.Kaveh R. Ghazi2000-01-254-2264/+2291
| | | | | | | | | | | | | | | | * parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string concatenation. (OBSOLETE_MODIFIER_WARNING2): New macro allowing two args. * parse.y (register_fields): Don't pass a format specifier to OBSOLETE_MODIFIER_WARNING. (check_abstract_method_header): Use OBSOLETE_MODIFIER_WARNING2 instead of OBSOLETE_MODIFIER_WARNING, and don't pass a format specifier. (check_modifiers): Change function into a macro. (check_class_interface_creation): Pass a literal format string. From-SVN: r31614
* * config/fp-bit.c (_unord_f2): Fix typo.Clinton Popetz2000-01-252-1/+5
| | | | From-SVN: r31613
* newJason Merrill2000-01-252-0/+33
| | | | From-SVN: r31612
* c-common.c, [...]: Remove all references to obstack functions obsoleted by GC...Zack Weinberg2000-01-2514-1883/+1171
| | | | | | | | | | | | | | | | | | * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c, c-typeck.c, objc/objc-act.c: Remove all references to obstack functions obsoleted by GC, such as push_obstacks_nochange, end_temporary_allocation, savealloc, saveable_tree_cons, etc. and code which existed only to decide whether or not to call them. Remove now-unused NESTED argument from start_function; all callers changed. Do not change behavior based on ggc_p. The use of the ixp_obstack in c-iterate.c and the util_obstack in objc/objc-act.c remain; these are not obsoleted by garbage collection. * c-tree.h: Update prototype for start_function. * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild. From-SVN: r31611
* mips.md (zero_extendsidi2_internal): Disable for mips16.Clinton Popetz2000-01-252-1/+6
| | | | | | | * config/mips/mips.md (zero_extendsidi2_internal): Disable for mips16. From-SVN: r31610
* sparc-protos.h (select_cc_mode): Declare.Richard Henderson2000-01-255-138/+340
| | | | | | | | | | | | | * sparc-protos.h (select_cc_mode): Declare. * sparc.c (select_cc_mode): New. Handle unordered compares. (output_cbranch): Always reverse via code change. Handle unordered compares. Factor tests and string updates. * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode. (REVERSIBLE_CC_MODE): Also exclude CCFPmode. * sparc.md (bunordered, bordered): New. (bungt, bunlt, buneq, bunge, bunle): New. From-SVN: r31609
* typeck.c (composite_pointer_type, [...]): Avoid ANSI string concatenation usage.Gabriel Dos Reis2000-01-252-32/+22
| | | | | | | | | | | 2000-01-25 Gabriel Dos Reis <gdr@codesourcery.com> * typeck.c (composite_pointer_type, c_sizeof, expr_sizeof, build_binary_op_nodefault, build_unary_op, build_reinterpret_cast, build_const_cast, get_delta_difference, check_return_expr): Avoid ANSI string concatenation usage. From-SVN: r31608
* dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.Richard Henderson2000-01-254-52/+98
| | | | | | | | | | | * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root. * ggc-common.c (ggc_add_rtx_varray_root): New. (ggc_mark_rtx_varray): New. (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr functions down below ggc_mark_foo. * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare. From-SVN: r31607
* alpha.c (secondary_reload_class): Don't allocate a secondary for integral ↵Richard Henderson2000-01-252-10/+14
| | | | | | | | | | mode memories into FLOAT_REGS. * alpha.c (secondary_reload_class): Don't allocate a secondary for integral mode memories into FLOAT_REGS. Rearrange the more complicated memory expression inward. From-SVN: r31606
* Daily bump.Jeff Law2000-01-255-5/+5
| | | | From-SVN: r31605
* inclhack.def: Fixes to play nicer with FreeBSD, and corrections to comments.Zack Weinberg2000-01-257-374/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-25 Zack Weinberg <zack@wolery.cumb.org> * inclhack.def: Fixes to play nicer with FreeBSD, and corrections to comments. (cxx_unready): Add select expression. (irix_sockaddr): Add bypass expression. (machine_ansi_h_va_list): New fix. (stdio_va_list): No need to edit _BSD_VA_LIST_. Split out addition of "#include <stdarg.h>" to... (stdio_stdarg_h): ... here. (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply to stdlib.h also. Do not munge _BSD_SIZE_T_. (sysz_stdlib_for_sun): Delete duplicate fix for unprotected size_t. (ultrix_ifdef): Tighten up select expression. * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of re_ct and max_mach to avoid use of shell. Make printed names match names in inclhack.def. Use static copyright date. Don't count c_test and test expressions as requiring regex_t slots. Add some commentary. * inclhack.tpl: Do not include the 'This script contains N fixup scripts' line if PROGRAM is defined. Use static copyright date. From-SVN: r31604
* class.c (layout_class_type): Put the fields required to make a class ↵Mark Mitchell2000-01-252-7/+24
| | | | | | | | | | non-empty at the end... * class.c (layout_class_type): Put the fields required to make a class non-empty at the end, not the beginning, of the TYPE_FIELDs list. From-SVN: r31603
* dwarf2out.c: include "varray.h", not dyn-string.h.Jason Merrill2000-01-2512-197/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * dwarf2out.c: include "varray.h", not dyn-string.h. (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose. (addr_const_to_string, addr_to_string): Lose. (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c. (struct dw_val_struct): val_addr is now an rtx. (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust. (used_rtx_varray): New varray. (dwarf2out_init): Initialize it. (save_rtx): New fn. (mem_loc_descriptor, add_const_value_attribute): Call it instead of addr_to_string. * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h, sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST. * Makefile.in (dwarf2out.o): Update dependencies. * i386.c (i386_dwarf_output_addr_const): New. * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New. * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR if defined. * dwarfout.c (output_mem_loc_descriptor): Likewise. * i386.c (i386_simplify_dwarf_addr): New. * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New. From-SVN: r31602
* pt.c (maybe_fold_nontype_arg): Do nothing if we're not in a template.Jason Merrill2000-01-253-1/+15
| | | | | | | | | | * pt.c (maybe_fold_nontype_arg): Do nothing if we're not in a template. * decl2.c (mark_used): Do instantiate inlines that have been explicitly instantiated. From-SVN: r31601
* typoJason Merrill2000-01-241-1/+1
| | | | From-SVN: r31600
* Fix mips EABI/dwarf2 segfault while compiling newlib.Jim Wilson2000-01-242-1/+7
| | | | | | | * dwarf2out.c (gen_struct_or_union_type_die): Set complete if TYPE_STUB_DECL is NULL. From-SVN: r31599
* builtins.c (expand_tree_builtin): Move ...Richard Henderson2000-01-243-97/+106
| | | | | | | * builtins.c (expand_tree_builtin): Move ... * c-common.c (expand_tree_builtin): ... here. From-SVN: r31598
* loop.h (LOOP_INFO): New accessor macro.Michael Hayes2000-01-255-11/+22
| | | | | | | | | | | | 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * loop.h (LOOP_INFO): New accessor macro. * basic-block.h (struct loop): Rename field `info' to `aux'. * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop). (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise. * unroll.c (loop_iterations, unroll_loop): Likewise. From-SVN: r31596