aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-01-31386bsd.h, [...]: Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.Zack Weinberg43-68/+84
* i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h, i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h, i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h, i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h, i386/win32.h: Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES. * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h: Add %(cpp_cpu) to CPP_SPEC. * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h: Add %(cc1_cpu) to CC1_SPEC. From-SVN: r31710
2000-01-31jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to determine how ↵Anthony Green2-1/+6
many stack slots to pop. * jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to determine how many stack slots to pop. From-SVN: r31709
2000-01-31config.h.in: Rebuilt.Tom Tromey12-55/+295
* include/config.h.in: Rebuilt. * acconfig.h (HAVE_ICONV): Define. * configure: Rebuilt. * configure.in: Check for `iconv' function. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try iconv if no specific encoder exists. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try iconv if no specific encoder exists. * Makefile.in: Rebuilt. * Makefile.am (convert_source_files): Mention Input_iconv.java and Output_iconv.java. (nat_source_files): Added natIconv.cc. * gnu/gcj/convert/natIconv.cc: New file. * gnu/gcj/convert/Input_iconv.java: New file. * gnu/gcj/convert/Output_iconv.java: New file. From-SVN: r31708
2000-01-31class.c (build_vtable): Rename to build_primary_vtable.Mark Mitchell3-53/+105
* cp/class.c (build_vtable): Rename to build_primary_vtable. (prepare_fresh_vtable): Rename to build_secondary_vtable. (make_new_vtable): New function. (modify_vtable_entry): Handle generation of new vtables correctly. (modify_one_vtable): Remove unused parameter. (dfs_fixup_vtable_deltas): Likewise. (override_one_vtable): Use build_secondary_vtable. (finish_struct_1): Use build_primary_vtable and build_secondary_vtable. From-SVN: r31707
2000-01-31c-decl.c (c_decode_option): Accept optional numeric argument to -Wformat and ↵Ulrich Drepper3-2/+11
set warn_format. * c-decl.c (c_decode_option): Accept optional numeric argument to -Wformat and set warn_format. * c-common.c: Don't emit warning about non-constant printf format string unless warn_format > 1. From-SVN: r31706
2000-01-30* alpha.md (return_internal): Allow after reload only.Richard Henderson2-1/+5
From-SVN: r31705
2000-01-30final_inner.java: New file.Alexandre Petit-Bianco3-0/+26
* libjava.lang/final_inner.java: New file. * libjava.lang/final_inner.out: Likewise. From-SVN: r31704
2000-01-30i386.c (ix86_compute_frame_size): Omit padding1 if the local frame size is zero.Richard Henderson2-6/+11
* i386.c (ix86_compute_frame_size): Omit padding1 if the local frame size is zero. From-SVN: r31703
2000-01-30alpha.c (alpha_expand_epilogue): Don't emit the return insn.Richard Henderson4-13/+18
* alpha.c (alpha_expand_epilogue): Don't emit the return insn. * alpha.h (EPILOGUE_USES): New. Mark $26 live. * alpha.md (return): Turn into an expander. (return_internal): Don't use $26. (epilogue): Emit the return insn. From-SVN: r31702
2000-01-30alpha.md (negtf2, abstf2): Fix word order thinko.Richard Henderson2-16/+45
* alpha.md (negtf2, abstf2): Fix word order thinko. (extendsftf2): New. (trunctfsf2): Avoid intermediate rounding errors. From-SVN: r31701
2000-01-30cppfiles.c (find_position): Drop 'colp' argument, return the new line base.Zack Weinberg3-29/+53
* cppfiles.c (find_position): Drop 'colp' argument, return the new line base. (read_and_prescan): Adjust to match. Don't ever manipulate line or line_base except via find_position. From-SVN: r31700
2000-01-30Daily bump.Jeff Law5-5/+5
From-SVN: r31699
2000-01-30c-parse.in: Apply Ulrich's changes from c-parse.y.Zack Weinberg5-13/+19
* c-parse.in: Apply Ulrich's changes from c-parse.y. * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c: Regenerate. From-SVN: r31698
2000-01-30cpperror.c (cpp_file_line_for_message): If 'line' is zero, just print ↵Zack Weinberg3-4/+18
"<command line>". * cpperror.c (cpp_file_line_for_message): If 'line' is zero, just print "<command line>". If 'filename' is null or an empty string, print "<stdin>" for the filename. * cpplib.c (do_define): Don't print the 'location of the previous definition' message if we're still parsing the command line. (cpp_pedwarn_with_file_and_line): Always call cpp_file_line_for_message. From-SVN: r31697
2000-01-29* flow.c (mark_regs_live_at_end): Fix typo.Mark Mitchell2-1/+5
From-SVN: r31696
2000-01-29[multiple changes]Alexandre Petit-Bianco5-495/+584
2000-01-29 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (formal_parameter:): Set `$$' to NULL_TREE for better error handling/recovery. * java-tree.h (SYNCHRONIZED_EXPR): Fixed typo in comment. Wed Jan 12 20:20:11 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c (generate_bytecode_insns): binop: Change the type of the shift value to int. Fixed typo in comment. From-SVN: r31695
2000-01-29Regenerated.Ulrich Drepper1-9/+9
From-SVN: r31694
2000-01-29Update.Ulrich Drepper1-0/+4
From-SVN: r31693
2000-01-29Adjust variable names, comments, help strings.Ulrich Drepper1-2/+2
From-SVN: r31692
2000-01-29Update.Ulrich Drepper1-0/+11
From-SVN: r31691
2000-01-29Adjust variable names, comments, help strings to c99.Ulrich Drepper2-27/+30
Recognize options with names *99 as well. From-SVN: r31690
2000-01-29Adjust variable names, comments, help strings to c99.Ulrich Drepper6-40/+39
From-SVN: r31689
2000-01-29Fix entry for ns32k change of 01-27 - no VOIDmode for load effective addressHans-Peter Nilsson1-2/+1
From-SVN: r31688
2000-01-29new2.cc (operator delete[]): Use operator delete, don't assume implementation.Nathan Sidwell2-5/+8
* new2.cc (operator delete[]): Use operator delete, don't assume implementation. From-SVN: r31687
2000-01-29class.c (build_vtbl_initializer): Add argument to build_vtable_entry call.Nathan Sidwell2-1/+7
* class.c (build_vtbl_initializer): Add argument to build_vtable_entry call. From-SVN: r31686
2000-01-29Daily bump.Jeff Law5-5/+5
From-SVN: r31685
2000-01-29cp-tree.def (THUNK_DECL): Discuss vcall indices.Mark Mitchell5-194/+209
* cp-tree.def (THUNK_DECL): Discuss vcall indices. * cp-tree.h (BINFO_VIRTUALS): Update documentation. (BF_DELTA): New macro. (BF_VCALL_INDEX): Likewise. (BF_FN): Likewise. (THUNK_VCALL_OFFSET): Likewise. (make_thunk): Change prototype. * class.c (build_vtable_entry): Integrate build_vtable_entry_for_fn. Handle vcall indices. (build_vtable_entry_for_fn): Remove. (set_rtti_entry): Handle vcall indices. Use BF_DELTA, BF_VCALL_INDEX, BF_FN. (modify_vtable_entry): Integrate common code from modify_one_vtable and dfs_fixup_vtable_deltas. (add_virtual_function): Set BF_VCALL_INDEX. (build_vtbl_initializer): Simplify. Use BF_DELTA, BF_VCALL_INDEX, and BF_FN. (modify_one_vtable): Simplify. (dfs_fixup_vtable_deltas): Likewise. (override_one_vtable): Use BF_DELTA, BF_VCALL_INDEX, BF_FN. * method.c (make_thunk): Handle vcall indices. From-SVN: r31684
2000-01-29c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.Herman A.J. ten Brugge5-32/+89
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries. * c4x.c: Define the optab rtx values. (c4x_add_gc_roots): Add the ggc roots for these optab rtx values. (c4x_emit_libcall): Use new optab rtx values. (c4x_emit_libcall3): Likewise. (c4x_emit_libcall_mulhi): Likewise. * c4x-protos.h: Add prototypes for optab rtx values and change prototypes for above c4x_emit_libcall functions. From-SVN: r31683
2000-01-29c4x.c (c4x_output_ascii): Restrict line length of output when TI syntax is used.Herman A.J. ten Brugge4-23/+84
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.c (c4x_output_ascii): Restrict line length of output when TI syntax is used. (c4x_function_prologue): Use regnames intead of float_reg_names when TI syntax is used. (c4x_function_epilogue): Likewise. (c4x_print_operand): Likewise. * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine. * c4x.md (set_high): Disable for TARGET_TI. From-SVN: r31682
2000-01-29c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading of ↵Herman A.J. ten Brugge5-25/+43
framepointer + constant to ADDR_REGS class. 2000-01-27 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading of framepointer + constant to ADDR_REGS class. * c4x.md (addqi3, addqi3_noclobber_reload): Update. * c4x.c (std_or_reg_operand): New function. * c4x-protos.h (std_or_reg_operand): Prototype it. From-SVN: r31681
2000-01-29t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same object names as ↵Herman A.J. ten Brugge3-34/+42
libgcc2.c. 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same object names as libgcc2.c. * libgcc.S: Use newly defined names. From-SVN: r31680
2000-01-29[multiple changes]Jason Eckhardt6-14/+100
Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz> * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New function. * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare. * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro. (FLOW_LOOP_LAST_BLOCK): Likewise. 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * basic-block.h (struct loop): New fields 'first' and 'last'. * flow.c (flow_loops_find): Compute loop->first and loop->last. (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG and loop->last to check for NOTE_INSN_LOOP_END. Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com> * predict.c (estimate_probability): Use the new FIRST and LAST fields of the loop descriptor rather than HEADER and LATCH. Also added missing break statements as well making some coding style modifications as suggested by Michael Hayes. From-SVN: r31679
2000-01-29gcconfig.h (DATASTART): Add missing extern declaration for data_start on ↵Anthony Green2-0/+6
powerpc. * gcconfig.h (DATASTART): Add missing extern declaration for data_start on powerpc. From-SVN: r31677
2000-01-28flow.c (find_basic_blocks): Remove do_cleanup argument.Richard Henderson7-154/+125
* flow.c (find_basic_blocks): Remove do_cleanup argument. Break out that code ... (cleanup_cfg): ... here. (commit_one_edge_insertion): Detect a return instruction being emitted to an edge. Emit a barrier following; clear fallthru. (commit_edge_insertions): Verify CFG consistency. * function.c (expand_function_start): Kill unused variable. (expand_function_end): Likewise. (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge to insert the epilogue. * gcse.c (gcse_main): Adjust for find_basic_blocks change. (delete_null_pointer_checks): Likewise. * output.h: Likewise. * reg-stack.c (reg_to_stack): Likewise. * toplev.c (rest_of_compilation): Likewise. Run thread_prologue_and_epilogue_insns after rebuilding the CFG. From-SVN: r31676
2000-01-28haifa-sched.c (schedule_insns): Don't recompute reg info after reload.Richard Henderson2-1/+7
* haifa-sched.c (schedule_insns): Don't recompute reg info after reload. From-SVN: r31675
2000-01-28Makefile.in (flow.o): Revert 24 Jan change.Richard Henderson3-20/+32
* Makefile.in (flow.o): Revert 24 Jan change. * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode FUNCTION_VALUE result to DECL_RESULT's mode. From-SVN: r31674
2000-01-28configure.in: Make --enable-cpplib the default.Zack Weinberg4-248/+246
* configure.in: Make --enable-cpplib the default. * configure: Regenerate. * gcc.dg/990119-1.c: No longer expected to fail. From-SVN: r31673
2000-01-28Makefile.in: Rebuilt.Tom Tromey3-2/+7
* Makefile.in: Rebuilt. * Makefile.am (LIBFFIINCS): Added MULTIBUILDTOP. From-SVN: r31672
2000-01-28Fix recent small bugMike Stump1-1/+3
From-SVN: r31671
2000-01-28Delete a superfluous and buggy optimizationBernd Schmidt2-119/+5
From-SVN: r31670
2000-01-28diagnostic.c (build_message_string, [...]): Add ATTRIBUTE_PRINTF_*.Kaveh R. Ghazi2-10/+26
* diagnostic.c (build_message_string, output_printf, line_wrapper_printf): Add ATTRIBUTE_PRINTF_*. (build_location_prefix): Fix non-literal format string. From-SVN: r31669
2000-01-28Compiler side new abi rtti (not enabled).Nathan Sidwell5-83/+932
* cp-tree.h (new_abi_rtti_p): New macro. (emit_support_tinfos): Prototype new function. (tinfo_decl_p): Likewise. (emit_tinfo_decl): Likwise. * rtti.c (TINFO_PSEUDO_TYPE, TINFO_VTABLE_DECL): New accessor macros. (doing_runtime): New local static. (init_rtti_processing): Add new-abi initializer. (get_tinfo_decl): Add new-abi logic. (tinfo_from_decl): Likewise. (build_dynamic_cast_1): Likewise. (qualifier_flags): New static function. (tinfo_base_init): Likewise. (generic_initializer): Likewise. (ptr_ref_initializer): Likewise. (ptmd_initializer): Likewise. (class_hint_flags): Likewise. (class_initializer): Likewise. (synthesize_tinfo_var): Likewise. (create_real_tinfo_var): Likewise. (create_pseudo_type_info): Likewise. (get_vmi_pseudo_type_info): Likewise. (create_tinfo_types): Likewise. (emit_support_tinfos): New global function. (tinfo_decl_p): New global predicate. (emit_tinfo_decl): New global function. * class.c (set_rtti_entry): Generalize for old and new rtti. (build_vtbl_initializer): Likewise. * decl2.c (finish_file): Likewise. From-SVN: r31668
2000-01-2820000127-1.c: New test.Jakub Jelinek3-0/+31
* compile/20000127-1.c: New test. * execute/991228-1.c: New test. From-SVN: r31667
2000-01-28fstream.h (ifstream::ifstream): Add ios::in to mode.Martin v. Löwis2-5/+12
* fstream.h (ifstream::ifstream): Add ios::in to mode. (ifstream::open): Likewise. (ofstream::ofstream): Add ios::out to mode. (ofstream::open): Likewise. From-SVN: r31666
2000-01-28Daily bump.Jeff Law5-5/+5
From-SVN: r31664
2000-01-27Fix winsup (cygwin) build failure with VLAs and inline functions.Jim Wilson2-0/+15
* cp/optimize.c (remap_decl): Add walk_tree calls for DECL_SIZE (t) and TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (t))). From-SVN: r31663
2000-01-27* alpha.md (trunctfsf2): New.Richard Henderson2-0/+20
From-SVN: r31662
2000-01-28Fix whitespaceMike Stump1-298/+298
From-SVN: r31661
2000-01-27* configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.Andrew Hobson3-220/+235
From-SVN: r31660
2000-01-28dbz.c, dbzmain.c: Include stdlib.h.Zack Weinberg3-12/+8
* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declare malloc, calloc, free, atol, atoi, or errno. (errno.h was already being included.) From-SVN: r31659