OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 19 Apr 2000 10:10:39 +0000 (10:10 +0000)]
2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>

* boehm.cc: (_Jv_MarkObj, _Jv_MarkArray): Cast pointers for
MAYBE_MARK to ptr_t, for compatibility with new GC version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33252 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Imported version version 5.0alpha6.
bryce [Wed, 19 Apr 2000 10:10:01 +0000 (10:10 +0000)]
Imported version version 5.0alpha6.
* acinclude.m4: Bump version to 5.0a6.
* configure.in: Don't use alpha_mach_dep.s.
* include/private/config.h, irix_threads.c gc_watcom.asm: Delete
obsolete files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33251 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
hubicka [Wed, 19 Apr 2000 10:08:22 +0000 (10:08 +0000)]
* loop.c (check_insn_for_bivs, for_every_insn_in_loop,
check_insn_for_givs): Break out from ...
(strength_reduce) ... here; use for_every_insn_in_loop to call
check_insn_for_givs.
* loop.h (for_every_insn_in_loop): Declare.
(loop_insn_callback): New type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33250 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * execute/20000419-1.c: New test for arg clobbering with
gkm [Wed, 19 Apr 2000 08:32:43 +0000 (08:32 +0000)]
* execute/20000419-1.c: New test for arg clobbering with
sibling-call optimizations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33249 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 19 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33248 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplib.c (do_pragma_poison): Strings in the token buffer are
zack [Wed, 19 Apr 2000 05:37:03 +0000 (05:37 +0000)]
* cpplib.c (do_pragma_poison):  Strings in the token buffer are
not nul-terminated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33247 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoThis commit was generated by cvs2svn to compensate for changes in r33244,
bryce [Wed, 19 Apr 2000 02:29:16 +0000 (02:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r33244,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33245 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoInitial revision
bryce [Wed, 19 Apr 2000 02:29:14 +0000 (02:29 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33241 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-18 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 19 Apr 2000 01:53:47 +0000 (01:53 +0000)]
2000-04-18  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (maybe_make_nested_class_name): Use `obstack_grow0'.

2000-04-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (java_expand_classes): Reverse the package list once.
(java_complete_lhs): PLUS_EXPR: don't try rhs and lhs at string
reduction.
(patch_binop): New temp `cn'. Call patch_string on LHS/RHS of
the `==' and `!=' operators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33240 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix problem with relocs in read-only sections for C++ code.
wilson [Tue, 18 Apr 2000 23:05:34 +0000 (23:05 +0000)]
Fix problem with relocs in read-only sections for C++ code.
* config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
flag_pic and RELOC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33239 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
zack [Tue, 18 Apr 2000 22:34:13 +0000 (22:34 +0000)]
* cccp.c, cexp.y, cexp.c, cccp.1: Removed.

* configure.in: Delete --disable-cpplib option and all
references to cpp_main.
* configure: Regenerate.
* Makefile.in: Remove all references to CCCP, CCCP_OBJS,
@cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
cccp.o, cccp, or cppmain.  Link cppmain.o straight to
cpp$(exeext).  Add --no-headers to makeinfo command line when
generating INSTALL.  Install and uninstall cpp.1 manpage, not
cccp.1.
* install.texi: Delete all references to cexp.y/cexp.c.
Delete ancient instructions for compiling GCC on 3b1.
* INSTALL: Regenerate.

* cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c,
ch/decl.c, ch/lex.c, cp/lex.c, f/lex.c, mips/t-ecoff,
mips/t-elf, mips/t-r3900: Remove references to cccp.c.
* convex.h, fx80.h, m68k.h, pdp11.h, contrib/gcc_update,
f/g77install.texi: Remove references to cexp.c/cexp.y.
* xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
which is no longer tested anywhere.

* po/POTFILES.in: Remove cccp.c and cexp.c.  Comment out
alpha/vms-tramp.asm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33238 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppinit.c (handle_option): Don't run error message through
zack [Tue, 18 Apr 2000 21:49:16 +0000 (21:49 +0000)]
* cppinit.c (handle_option): Don't run error message through
gettext twice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33237 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc/conflict.c (conflict_graph_add): Pass enum type to
kenner [Tue, 18 Apr 2000 20:42:00 +0000 (20:42 +0000)]
* gcc/conflict.c (conflict_graph_add): Pass enum type to
htab_find_slot.
* gcc/cpperror.c (hashtab.h): Now include.
* gcc/cppexp.c (hashtab.h): Likewise.
* gcc/cpplex.c (hashtab.h): Likewise.
* gcc/cppfiles.c (hashtab.h): Likewise.
(find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
to htab_find_slot_with_hash.
* gcc/cpphash.c (hashtab.h): Now include.
(_cpp_lookup_slot): INSERT is now enum insert_option.
* gcc/cpphash.h (_cpp_lookup_slot): Likewise.
* gcc/cppinit.c (hashtab.h): Include earlier.
(initialize_builtins): Pass enum to htab_find_slot.
* gcc/cpplib.c (hashtab.h): Now include.
(do_define, do_undef): Pass enum type to _cpp_lookup_slot.
(do_pragma_poison, do_assert): Likewise.
* gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
htab_find_slot_with_hash.
* gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
* gcc/tree.c (type_hash_add): Likewise.
(build1): Minor cleanup.
* include/hashtab.h (enum insert_option): New type.
(htab_find_slot, htab_find_slot_with_hash): Use it.
* libiberty/hashtab.c: Various minor cleanups.
(htab_find_slot_with_hash): INSERT is now enum insert_option.
(htab_find_slot): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33236 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (lang_decl_flags): Remove const_memfunc and
mmitchel [Tue, 18 Apr 2000 20:21:39 +0000 (20:21 +0000)]
* cp-tree.h (lang_decl_flags): Remove const_memfunc and
volatile_memfunc.  Add destructor_attr.  Adjust dummy.
(DECL_DESTRUCTOR_P): Use destructor_attr.
(DECL_CONST_MEMFUNC_P): Reimplement.
(DECL_VOLATILE_MEMFUNC_P): Remove.
* class.c (finish_struct_methods): Use CLASSTYPE_DESTRUCTORS.
(overrides): Use DECL_DESTRUCTOR_P.
(check_for_override): Likewise.
* decl.c (start_function): Likewise.
* decl2.c (grokfclassfn): Likewise.
(check_classfn): Likewise.
(grok_function_init): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33235 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gengenrtl.c (genlegend): Fix misspelling.
scox [Tue, 18 Apr 2000 20:04:26 +0000 (20:04 +0000)]
* gengenrtl.c (genlegend): Fix misspelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33234 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
robertl [Tue, 18 Apr 2000 19:42:30 +0000 (19:42 +0000)]
    * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
        bitfields of the host compiler are not signed quantities.
        * config.in: Regenerate.
        * configure: Regenerate.
        * system.h (USE_ENUM_BITFIELDS): Added.
        (ENUM_BITFIELDS): Added.
        * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
        (SHORT_ENUM_BUG): Deleted.
        * tree.h (tree_common): Members `code', `mode', `built_in_class',
        now ENUM_BITFIELD.
        * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
        (CODE_FIELD_BUG): Likewise.
        * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
        (OLD_CC): Likewise.
        * config/m68k/x-ccur (X_CFLAGS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33233 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * ggc-common.c: Add missing blanks.
kenner [Tue, 18 Apr 2000 19:35:09 +0000 (19:35 +0000)]
* ggc-common.c: Add missing blanks.
* print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
* tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33232 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * stmt.c (mark_case_node): New function.
kenner [Tue, 18 Apr 2000 19:23:53 +0000 (19:23 +0000)]
* stmt.c (mark_case_node): New function.
(mark_case_nesting): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33231 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * expmed.c (emit_store_flag): If comparing two-word integer
kenner [Tue, 18 Apr 2000 19:14:58 +0000 (19:14 +0000)]
* expmed.c (emit_store_flag): If comparing two-word integer
with zero, can optimize NE, EQ, GE, and LT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33230 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix typo.
rth [Tue, 18 Apr 2000 18:59:10 +0000 (18:59 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33229 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
mmitchel [Tue, 18 Apr 2000 18:52:16 +0000 (18:52 +0000)]
* cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
mark is active.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33228 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoAdd expected error
mmitchel [Tue, 18 Apr 2000 18:46:18 +0000 (18:46 +0000)]
Add expected error

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33227 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
kenner [Tue, 18 Apr 2000 18:14:10 +0000 (18:14 +0000)]
* c-decl.c (mark_binding_level): Use 'for' instead of `while'.
* conflict.c: Minor cleanups.
* optabs.c: Add blank line
* simplify-rtx.c:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33226 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago PR gcj/211:
tromey [Tue, 18 Apr 2000 16:13:16 +0000 (16:13 +0000)]
PR gcj/211:
* gjavah.c (utf8_cmp): Changed return value.
(cxx_keyword_subst): Handle all C++ keywords.  Allocate new return
result.
(cxx_keywords): New global.
(get_field_name): Handle new result of cxx_keyword_subst.
(print_method_info): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33225 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Tue, 18 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33224 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppexp.c (lex): Don't assume tokens are NUL terminated.
zack [Tue, 18 Apr 2000 06:43:41 +0000 (06:43 +0000)]
* cppexp.c (lex): Don't assume tokens are NUL terminated.
* cpplib.c (do_include, do_import, do_include_next,
read_line_number, detect_if_not_defined): Likewise.
* cpphash.c (collect_expansion): Likewise.
(special_symbol, _cpp_macroexpand): Check return from
cpp_file_buffer.
* cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
macros.  Delete all uses.

* gcc.dg/cpp-mi.c: Add two more test cases.
* gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33223 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
rth [Tue, 18 Apr 2000 01:32:43 +0000 (01:32 +0000)]
    * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
        (reorder_basic_blocks): If no epilogue in rtl, force last block last.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33221 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl2.c (grokfield): Issue error on illegal data member
mmitchel [Tue, 18 Apr 2000 01:30:21 +0000 (01:30 +0000)]
* decl2.c (grokfield): Issue error on illegal data member
declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33220 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * function.c (expand_function_start): Use hard_function_value to
mmitchel [Tue, 18 Apr 2000 00:23:33 +0000 (00:23 +0000)]
* function.c (expand_function_start): Use hard_function_value to
compute the RTL to use for DECL_RESULT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33219 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoRegen after last change
zack [Mon, 17 Apr 2000 23:59:58 +0000 (23:59 +0000)]
Regen after last change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33218 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.
mmitchel [Mon, 17 Apr 2000 23:12:07 +0000 (23:12 +0000)]
* method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33216 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
hubicka [Mon, 17 Apr 2000 21:39:30 +0000 (21:39 +0000)]
* i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
(x86_integer_DFmode_moves, x86_partial_reg_dependency,
 x86_memory_mismatch_stall): New global variables.
(ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
alloved; fix load penalties for Athlon.
* i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
x86_memory_mismatch_stall): Declare.
(TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
 TARGET_MEMORY_MISMATCH_STALL): New.
* i386.md (athlon scheduling parameters): Fix latencies according to
Athlon Optimization Manual.
(sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
vector.
(fsqrt instruction patterns): Set athlon_decode to direct.
(movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
(movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
and TARGET_PARTIAL_REGISTER_STALL machines.
(pushdf_nointeger): New pattern.
(pushdf_integer): Rename from pushdf.
(movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
(movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33215 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * loop.c (canonicalize_condition): Add WANT_REG argument.
rth [Mon, 17 Apr 2000 19:21:09 +0000 (19:21 +0000)]
    * loop.c (canonicalize_condition): Add WANT_REG argument.
        Stop the search if we match it.
        * expr.h (canonicalize_condition): Update decl.
        * predict.c (expected_value_to_br_prob): Use it.  Track last
        expected value note.
        (find_expected_value): Remove.

        * reorg.c (mostly_true_jump): Always use BR_PROB if present.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33214 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-17 Bryce McKinlay <bryce@albatross.co.nz>
tromey [Mon, 17 Apr 2000 17:27:45 +0000 (17:27 +0000)]
2000-04-17  Bryce McKinlay  <bryce@albatross.co.nz>

* gjavah.c (print_name_for_stub_or_jni): Don't prefix method names
with a newline, for CNI.
(print_stub_or_jni): Print a space or newline before method name for
CNI as well as JNI.
(print_cxx_classname): Don't write leading "::" in CNI stub method.
(process_file): Include gcj/cni.h if generating CNI stubs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33213 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
zack [Mon, 17 Apr 2000 17:25:57 +0000 (17:25 +0000)]
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
(AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
a plain file.
* configure.in: Call AC_FUNC_MMAP_FILE.
* configure: Regenerate.
* config.in: Regenerate.

* intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
* fixinc/fixincl.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33212 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * builtins.c (expand_builtin_expect): New.
rth [Mon, 17 Apr 2000 16:49:00 +0000 (16:49 +0000)]
    * builtins.c (expand_builtin_expect): New.
        (expand_builtin): Call it.
        * builtins.def (BUILT_IN_EXPECT): New.
        * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
        * extend.texi: Document it.

        * predict.c (expected_value_to_br_prob): New.
        (find_expected_value): New.
        * basic-block.h (expected_value_to_br_prob): Declare.
        * toplev.c (rest_of_compilation): Invoke it.

        * rtl.h (NOTE_EXPECTED_VALUE): New.
        (NOTE_INSN_EXPECTED_VALUE): New.
        * rtl.c (note_insn_name): Update.
        * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
        cases; handle NOTE_INSN_EXPECTED_VALUE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33211 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
jakub [Mon, 17 Apr 2000 14:49:41 +0000 (14:49 +0000)]
* config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
leaf sibcall delay slot if flag_pic.
(output_sibcall): Always emit call for leaf sibcall if flag_pic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33210 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * symcat.h: Honor autoconf macro HAVE_STRINGIZE. Add
ghazi [Mon, 17 Apr 2000 14:48:13 +0000 (14:48 +0000)]
    * symcat.h: Honor autoconf macro HAVE_STRINGIZE.  Add
        comments/caveats with regard to traditional C behavior.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33209 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
ghazi [Mon, 17 Apr 2000 14:40:03 +0000 (14:40 +0000)]
    * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.

        * fixproto: If fix-header fails, exit with an error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33208 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cse.c (struct check_depdendence_data): New.
hubicka [Mon, 17 Apr 2000 13:00:44 +0000 (13:00 +0000)]
* cse.c (struct check_depdendence_data): New.
(check_dependence): New function.
(invalidate): Use check_depdenence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33207 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Mon, 17 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33206 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTest case for gcj/209
green [Mon, 17 Apr 2000 06:40:38 +0000 (06:40 +0000)]
Test case for gcj/209

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33205 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTest case for gcj/208
green [Mon, 17 Apr 2000 05:51:14 +0000 (05:51 +0000)]
Test case for gcj/208

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33204 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMore new tests.
green [Mon, 17 Apr 2000 05:26:42 +0000 (05:26 +0000)]
More new tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33203 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew tests.
green [Mon, 17 Apr 2000 05:26:20 +0000 (05:26 +0000)]
New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33202 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * class.c (build_vtable_entry): Don't build thunks for type-info
mmitchel [Mon, 17 Apr 2000 04:03:48 +0000 (04:03 +0000)]
* class.c (build_vtable_entry): Don't build thunks for type-info
functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33201 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
mmitchel [Mon, 17 Apr 2000 04:01:01 +0000 (04:01 +0000)]
* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
UNITS_PER_WORD is unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33200 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.h (struct tree_common): Remove misleading comment.
mmitchel [Mon, 17 Apr 2000 03:20:48 +0000 (03:20 +0000)]
* tree.h (struct tree_common): Remove misleading comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33199 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gjavah.c (decompile_method): Use print_field_name.
tromey [Mon, 17 Apr 2000 02:56:52 +0000 (02:56 +0000)]
* gjavah.c (decompile_method): Use print_field_name.
Fixes PR gcj/205.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33198 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-16 Anthony Green <green@redhat.com>
green [Mon, 17 Apr 2000 02:22:22 +0000 (02:22 +0000)]
2000-04-16  Anthony Green  <green@redhat.com>

* configure: Rebuiltd.
* configure.in: Change i*86-pc-linux* to i*86-*-linux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33197 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoPort to sparc 32 and 64 Linux.
green [Mon, 17 Apr 2000 02:15:32 +0000 (02:15 +0000)]
Port to sparc 32 and 64 Linux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33196 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (decls_match): Allow a redeclaration of a builtin to
jason [Mon, 17 Apr 2000 02:00:23 +0000 (02:00 +0000)]
    * decl.c (decls_match): Allow a redeclaration of a builtin to
        specify args while the builtin did not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33195 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix typo in recent entry.
rth [Mon, 17 Apr 2000 01:51:52 +0000 (01:51 +0000)]
Fix typo in recent entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33194 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix date on last entry.
rth [Mon, 17 Apr 2000 00:59:29 +0000 (00:59 +0000)]
Fix date on last entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33193 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
rth [Mon, 17 Apr 2000 00:54:25 +0000 (00:54 +0000)]
    * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
        message in quotes. Otherwise, IBM's make program treats the '#' as the
        start of a comment and ignores the remainder of the line.

        * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
        upper case.
        * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
        * cexp.y (initialize_random_junk): Likewise.
        * cppfiles.c (find_include_file): Cast alloca return value.
        * cppinit.c (initialize_standard_includes): Likewise.
        * cpplib.c (cpp_define, cpp_undef): Likewise.
        * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
        * final.c (output_asm_insn): Allow for holes in EBCDIC.
        * fold-const.c (CHARMASK): New.
        (real_hex_to_f): Use it.
        * real.c (CHARMASK): New.
        (etoasc, asctoeg): Use it.
        (asctoeg): EBCDIC lower case characters preceed upper case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33192 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i370.c (mvs_add_label): Change spacing for coding conventions.
rth [Mon, 17 Apr 2000 00:52:30 +0000 (00:52 +0000)]
    * i370.c (mvs_add_label): Change spacing for coding conventions.
        * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
        outputing case vectors.
        (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
        (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
        since vector in in the data CSECT.
        (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.        * i370.md (Many patterns): Put the length in the XL directives.
        (movdi): Put back STM and MVC in definition.
        (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
        pattern using the TCA.
        * oe.h (CPP_SPEC): Added to allow trigraphs.
        * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
        not support the "long long" type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33191 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config.sub (case $basic_machine): Change default for "ibm-*"
rth [Mon, 17 Apr 2000 00:51:57 +0000 (00:51 +0000)]
    * config.sub (case $basic_machine): Change default for "ibm-*"
        to "openedition".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33190 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
rth [Mon, 17 Apr 2000 00:51:19 +0000 (00:51 +0000)]
    * cplus-dem.c (cplus_demangle_opname): Changed to use islower.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33189 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/mips/mips-protos.h (mips_legitimate_address_p): New
mmitchel [Sun, 16 Apr 2000 21:47:17 +0000 (21:47 +0000)]
* config/mips/mips-protos.h (mips_legitimate_address_p): New
function.
(mips_reg_mode_ok_for_base_p): Likewise.
* config/mips/mips.h (REG_OK_STRICT_P): Don't define.
(REG_OK_FOR_INDEX_P): Define unconditionally.
(REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
(GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
* config/mips/mips.c (mips16_simple_memory_operand): Adjust now
that GET_MODE_SIZE is unsigned.
(mips_reg_mode_ok_for_base_p): Define.
(mips_legitimate_address_p): Likewise.  Adjust now
that GET_MODE_SIZE is unsigned.
(block_move_loop): Make the number of bytes unsigned.
(expand_block_move): Likewise.
(function_arg): Make the loop counter unsigned to match the
boundary condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33188 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * rtl.h (enum insn_note): New enumeration. Subsume
rth [Sun, 16 Apr 2000 20:23:02 +0000 (20:23 +0000)]
    * rtl.h (enum insn_note): New enumeration.  Subsume
        NOTE_INSN_DELETED and friends.
        (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
        * rtl.c (note_insn_name): Tweek string order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33187 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix typo
mmitchel [Sun, 16 Apr 2000 20:06:46 +0000 (20:06 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33186 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.def (THUNK_DECL): Add to documentation.
mmitchel [Sun, 16 Apr 2000 19:45:32 +0000 (19:45 +0000)]
* cp-tree.def (THUNK_DECL): Add to documentation.
* cp-tree.h (flag_huge_objects): Declare.
* class.c (modify_vtable_entry): Tidy.
(update_vtable_entry_for_fn): Split out from dfs_modify_vtables.
Calculate delta appropriately for the new ABI.
(dfs_modify_vtables): Use it.
(modify_all_vtables): Fix thinko in code to add overriding copies
of functions to primary vtables.
(build_clone): Fix typo in comment.
(clone_function_decl): Correct order of destructors in vtable.
(build_vbase_offset_vtbl_entries): Adjust comment.
(dfs_vcall_offset_queue_p): Remove.
(dfs_build_vcall_offset_vtbl_entries): Update BV_VCALL_INDEX.
(build_vcall_offset_vtbl_entries): Juse use dfs_skip_vbases.
(build_vtable_entry): Correct check for pure virtual functions.
Don't declare flag_huge_objects.
* decl.c (flag_huge_objects): Remove declaration.
* method.c (make_thunk): Tweak mangling for vcall offset thunks.
Use int_size_in_bytes.
(emit_thunk): Handle vcall offset thunks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33185 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sun, 16 Apr 2000 07:45:06 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33184 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
zack [Sun, 16 Apr 2000 07:35:39 +0000 (07:35 +0000)]
* cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
to offset * 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33183 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test
mmitchel [Sun, 16 Apr 2000 04:25:18 +0000 (04:25 +0000)]
New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33182 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-16 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Sun, 16 Apr 2000 03:09:27 +0000 (03:09 +0000)]
2000-04-16  Bryce McKinlay  <bryce@albatross.co.nz>

* java/io/natFileDescriptorPosix.cc (open): Use mode 0666. Fix for
PR libgcj/202.
(available): Initialize `Where' to prevent bogus compiler warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33181 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplex.c (output_line_command): Remove debugging prints.
zack [Sun, 16 Apr 2000 02:18:52 +0000 (02:18 +0000)]
* cpplex.c (output_line_command): Remove debugging prints.
(cpp_output_tokens): Don't write out a zero-length buffer or
try to see if it has a newline in it.
(_cpp_expand_to_buffer): Copy the source buffer before pushing.
(_cpp_read_and_prescan): Move shift-down of pushback bytes to
the end of the loop.  Use memmove.  Don't read past the end of
the buffer.  Remove trailing newlines from error messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33180 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
neil [Sun, 16 Apr 2000 02:10:34 +0000 (02:10 +0000)]
    * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
        * cpplib.c: Add new syntax flags to directive table, and
        supporting macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33179 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdate.
drepper [Sun, 16 Apr 2000 00:11:35 +0000 (00:11 +0000)]
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33175 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago(ix86_expand_epilogue): Yes, the x86 can pop 64k at once using ret $N.
drepper [Sun, 16 Apr 2000 00:08:56 +0000 (00:08 +0000)]
(ix86_expand_epilogue): Yes, the x86 can pop 64k at once using ret $N.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33174 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * toplev.c (display_help): Prefix "f" to "sched-verbose=".
dje [Sat, 15 Apr 2000 22:27:59 +0000 (22:27 +0000)]
    * toplev.c (display_help): Prefix "f" to "sched-verbose=".
        * haifa-sched.c: Update -fsched-verbose comments to use "=".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33172 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * f/target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC
dje [Sat, 15 Apr 2000 22:17:00 +0000 (22:17 +0000)]
    * f/target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC
        as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33171 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
dje [Sat, 15 Apr 2000 22:13:49 +0000 (22:13 +0000)]
    * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33170 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (ggc-page.o): Now includes toplev.h.
kenner [Sat, 15 Apr 2000 19:54:26 +0000 (19:54 +0000)]
* Makefile.in (ggc-page.o): Now includes toplev.h.
* ggc-page.c (toplev.h): Now included.
(gc_time): Remove declaration.
(ggc_collect): TIME now long.
* toplev.c (parse_time, varasm_time, gc_time): Still global; all
others static.
* toplev.h (gc_time, parse_time, gc_time): New declarations.
* cp/decl2.c (parse_time, varconst_time): Delete declarations.
(finish_file): Delete LINENO declaration.
START_TIME and THIS_TIME now long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33169 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * toplev.c: Make *_time variable long to reduce chance of overflow.
kenner [Sat, 15 Apr 2000 16:59:10 +0000 (16:59 +0000)]
* toplev.c: Make *_time variable long to reduce chance of overflow.
(TIMEVAR): Likewise for `otime'.
(print_time): Arg is now long; compute percentage in FP and round.
* toplev.h (print_time): Arg is long.

* tree.c: Minor whitespace changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33168 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
kenner [Sat, 15 Apr 2000 16:53:46 +0000 (16:53 +0000)]
* configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
* configure: Rebuilt.
* libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
(__fixunsxfDI): Renamed from __fixunsxfdi.
(__fixunsdfDI): Renamed from __fixunsdfdi.
(__fixunssfDI): Renamed from __fixunssfdi.
(__floatdisf): Use proper type in REP_BIT macro.
(__fixunsxfSI): Renamed from __fixunsxfsi.
(__fixunsdfSI): Renamed from __fixunsdfsi.
(__fixunssfSI): Renamed from __fixunssfsi.
* libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
Change location of macros and upper-case some names as above.
* longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
* config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33167 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
kenner [Sat, 15 Apr 2000 16:34:38 +0000 (16:34 +0000)]
* configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
* configure: Rebuilt.
* libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
(__fixunsxfDI): Renamed from __fixunsxfdi.
(__fixunsdfDI): Renamed from __fixunsdfdi.
(__fixunssfDI): Renamed from __fixunssfdi.
(__floatdisf): Use proper type in REP_BIT macro.
(__fixunsxfSI): Renamed from __fixunsxfsi.
(__fixunsdfSI): Renamed from __fixunsdfsi.
(__fixunssfSI): Renamed from __fixunssfsi.
* libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
Change location of macros and upper-case some names as above.
* longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
* config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33166 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * varasm.c (assemble_variable): Add cast to remove warning.
kenner [Sat, 15 Apr 2000 15:44:19 +0000 (15:44 +0000)]
* varasm.c (assemble_variable): Add cast to remove warning.
(immed_real_const_1): Only use CONST[01]_RTX if not in nested function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33165 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
kenner [Sat, 15 Apr 2000 15:20:58 +0000 (15:20 +0000)]
* flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
* optabs.c (emit_libcall_block): If have REG_EHG_REGION, update
region number to -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33164 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
rearnsha [Sat, 15 Apr 2000 15:00:19 +0000 (15:00 +0000)]
* arm.md (movhi): REGNO_POINTER_ALIGN is now bits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33163 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
rearnsha [Sat, 15 Apr 2000 11:16:56 +0000 (11:16 +0000)]
* emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
call unshare_all_rtl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33162 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 15 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33161 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix glibc math testsuite failures.
wilson [Sat, 15 Apr 2000 00:00:02 +0000 (00:00 +0000)]
Fix glibc math testsuite failures.
* config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
Use .s1 not .s0 for all FP instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33160 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
zack [Fri, 14 Apr 2000 23:29:45 +0000 (23:29 +0000)]
* cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
interfaces.
(safe_fwrite, output_line_command): New static functions.
(cpp_expand_to_buffer): Now private to cpplib.
(cpp_scan_buffer): Take a printer.

* cpphash.h: Update prototypes.
* cpplib.h: Update prototypes.
(cpp_printer): New.
(cpp_buffer): Remove last_nominal_fname.
(cpp_reader): Remove lineno.

* cppmain.c: Use a cpp_printer.
* fix-header.c: No need to inhibit line commands.  Call
cpp_start_read with no printer.

* cpperror.c (cpp_notice_from_errno): Provide default name.
* cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
(find_include_file, cpp_read_file): Use make_IHASH.
(file_cleanup): Set control_macro and clear
input_stack_listing_current here.
(_cpp_execute_include): Don't output entering-file marker.
* cpphash.c (special_symbol): Look for the line number in the
buffer, not the reader.
(_cpp_macroexpand): No need to disable line commands.
(_cpp_dump_definition): No need to generate line commands.
(dump_hash_helper): Remove excess newline from output.
* cppinit.c (dump_special_to_buffer): No need to generate line
commands.
(cpp_printer_init): New.
(cpp_start_read): Take a printer, and start it up if it's not
NULL.  No need to generate line commands.
(cpp_finish): Expect no buffers stacked at all.  Take a
printer argument, and flush the output buffer if it's not
NULL.
* cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
Don't put two hashes at the beginning of an assertion.
(cpp_get_token): Don't increment pfile->lineno or emit line
commands here.  Return EOF if there's no buffer when we get
EOF.
* cpplib.c (do_define, skip_if_group):
No need to disable line commands.
(_cpp_output_line_command): Delete function.
(do_line): Don't emit line commands here, but set things up so
they will be emitted if necessary.  Use _cpp_fake_ihash to
make unique nominal_fnames if necessary.
(do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
with 0 for column, not -1.
(_cpp_handle_eof): Don't set the control macro here.  Don't
clear input_stack_listing_current here.  Don't emit line
commands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33159 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoIn gcc/:
geoffk [Fri, 14 Apr 2000 23:16:25 +0000 (23:16 +0000)]
In gcc/:
* config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
always, use the default SVR4 start address.

* config/rs6000/linux.h (LINK_SPEC): Don't define.
(LINK_SHLIB_SPEC): Define.
(LINK_START_DEFAULT_SPEC): Define.
(LINK_OS_DEFAULT_SPEC): Define.

* config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.

* config/rs6000/eabi.asm (__eabi): Call __init rather than
__do_global_ctors to handle constructors.
* config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
(STARTFILE_YELLOWKNIFE_SPEC): Likewise.
(STARTFILE_MVME_SPEC): Likewise.
(STARTFILE_SIM_SPEC): Likewise.
(ENDFILE_ADS_SPEC): Use crtend.
(ENDFILE_YELLOWKNIFE_SPEC): Likewise.
(ENDFILE_MVME_SPEC): Likewise.
(ENDFILE_SIM_SPEC): Likewise.
(STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
(ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
(STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
(ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
(EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
(CRTSTUFF_T_CFLAGS_S): Define.
* config/rs6000/eabi-ctors.c: Delete.

* config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
boundary.
(__fini): Likewise.
* config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
boundary.
(__fini): Likewise.

In gcc/po:
* POTFILES.in: Remove config/rs6000/eabi-ctors.c, which was
previously commented out anyway.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33158 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix ia64 gdb miscompilation reported by Kevin Buettner.
wilson [Fri, 14 Apr 2000 23:11:01 +0000 (23:11 +0000)]
Fix ia64 gdb miscompilation reported by Kevin Buettner.
* combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
plus mask size is smaller or equal to the mode size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33157 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
kenner [Fri, 14 Apr 2000 22:20:38 +0000 (22:20 +0000)]
* print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
not yet set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33156 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * expr.c (reload.h): Now included.
kenner [Fri, 14 Apr 2000 22:13:59 +0000 (22:13 +0000)]
* expr.c (reload.h): Now included.
(emit_block_move): Set volatile_ok when checking for movstr.
(emit_move_1): Check for replacements in addresses in multi-word case.
* Makefile.in (expr.o): Now includes reload.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33155 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
kenner [Fri, 14 Apr 2000 22:04:58 +0000 (22:04 +0000)]
* flow.c (count_basic_blocks): Remove unused var PREV_CALL.
Never have a LIBCALL end a basic block.
(find_basic_blocks_1): Likewise.
Reorganize CALL_INSN cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33154 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
kenner [Fri, 14 Apr 2000 21:59:52 +0000 (21:59 +0000)]
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33153 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMatch recent assembler change.
wilson [Fri, 14 Apr 2000 17:58:30 +0000 (17:58 +0000)]
Match recent assembler change.
* config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
completers from mov.ret instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33152 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fold-const.c (extract_muldiv): Don't distribute and widen
rth [Fri, 14 Apr 2000 17:45:17 +0000 (17:45 +0000)]
    * fold-const.c (extract_muldiv): Don't distribute and widen
        multiply across plus for non-sizetype unsigned types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33151 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (find_auto_inc): Don't autoinc eliminable registers.
rth [Fri, 14 Apr 2000 17:38:35 +0000 (17:38 +0000)]
* flow.c (find_auto_inc): Don't autoinc eliminable registers.
If the original source is dead in the incr insn, it's dead now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33150 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
kenner [Fri, 14 Apr 2000 11:51:36 +0000 (11:51 +0000)]
* stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
see if DECL_BIT_FIELD needs to still be set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33149 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
kenner [Fri, 14 Apr 2000 11:44:18 +0000 (11:44 +0000)]
* tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33148 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
kenner [Fri, 14 Apr 2000 11:37:24 +0000 (11:37 +0000)]
* dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
print_int_cst_octal with something that's not an INTEGER_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33147 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
kenner [Fri, 14 Apr 2000 11:33:02 +0000 (11:33 +0000)]
* config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
and not a SUBREG to a FLOAT rtl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33146 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 14 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33145 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-14 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Fri, 14 Apr 2000 00:47:35 +0000 (00:47 +0000)]
2000-04-14  Bryce McKinlay  <bryce@albatross.co.nz>

        Additional test for PR gcj/148:
        * libjava.compile/assignment_2.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33144 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * emit-rtl.c (try_split): Avoid infinite loop if the split
cpopetz [Fri, 14 Apr 2000 00:41:31 +0000 (00:41 +0000)]
* emit-rtl.c (try_split): Avoid infinite loop if the split
results in a sequence that contains the original insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33143 138bc75d-0d04-0410-961f-82ee72b054a4