OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years agoMoved the Objective-C specific options from toplev.c. Added
ovidiu [Sun, 6 Aug 2000 07:51:15 +0000 (07:51 +0000)]
Moved the Objective-C specific options from toplev.c. Added
-fconstant-string-class to allow specifying a user defined constant
string class, different from NXConstantString.

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

23 years agolang-options.h: Added a comma after the last element to avoid syntax
ovidiu [Sun, 6 Aug 2000 07:49:11 +0000 (07:49 +0000)]
lang-options.h: Added a comma after the last element to avoid syntax
errors when other languages define additional options.

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

23 years agoAdded a comma after the last element to avoid syntax errors when other
ovidiu [Sun, 6 Aug 2000 07:47:20 +0000 (07:47 +0000)]
Added a comma after the last element to avoid syntax errors when other
languages define additional options.

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

23 years agoDaily bump.
law [Sun, 6 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * java/io/PrintWriter.java: Merged comments from Classpath.
tromey [Sun, 6 Aug 2000 01:54:07 +0000 (01:54 +0000)]
* java/io/PrintWriter.java: Merged comments from Classpath.
(printlnUnsynchronized): Removed.
(println()): Print the separator.
(println): Call println(), not printlnUnsynchronized.
(out): Now protected, to match spec.

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

23 years ago * java/io/StreamTokenizer.java (TT_NONE): Now private.
tromey [Sun, 6 Aug 2000 00:49:29 +0000 (00:49 +0000)]
* java/io/StreamTokenizer.java (TT_NONE): Now private.
(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
For PR java.io/301.

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

23 years ago * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
law [Sun, 6 Aug 2000 00:07:22 +0000 (00:07 +0000)]
    * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
        __CTOR_LIST__ from func_ptr array to just func_ptr, to
        avoid extra alignment imposed on arrays.
        * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.

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

23 years ago * mips.h: Clean up comments and spacing near MASKs.
law [Sun, 6 Aug 2000 00:02:49 +0000 (00:02 +0000)]
    * mips.h: Clean up comments and spacing near MASKs.
        (TARGET_UNIX_ASM): Delete.
        (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
        MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
        values contiguous.

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

23 years agoFix typos.
jsm28 [Sat, 5 Aug 2000 23:08:10 +0000 (23:08 +0000)]
Fix typos.

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

23 years ago * c-common.c (print_char_table): Add entries for the X/Open '
jsm28 [Sat, 5 Aug 2000 18:31:15 +0000 (18:31 +0000)]
* c-common.c (print_char_table): Add entries for the X/Open '
format flag (print decimals with locale's thousands grouping
character).  Make %C expect wint_t.
(check_format_info): If pedantic, warn when the %n$ operand
number form is used.  Allow for the ' flag; warn about it if
pedantic.

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

23 years ago * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
zack [Sat, 5 Aug 2000 18:24:19 +0000 (18:24 +0000)]
* i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
type is a float mode, cfun->decl's return type is not, and
TARGET_FLOAT_RETURNS_IN_80387.

* gcc.c-torture/execute/20000731-1.x: Delete.

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

23 years agotweak
jason [Sat, 5 Aug 2000 17:48:27 +0000 (17:48 +0000)]
tweak

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

23 years agoDaily bump.
law [Sat, 5 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-08-04 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Sat, 5 Aug 2000 04:17:23 +0000 (04:17 +0000)]
2000-08-04  Jeffrey D. Oldham  <oldham@codesourcery.com>

* inc/cxxabi.h (__pbase_type_info): Changed member names to match
specifications.
(__pointer_to_member_type_info): Likewise.
(__base_class_info): Likewise.
(__class_type_info): Likewise.
(__si_class_type_info): Likewise.
(__vmi_class_type_info): Likewise.
* tinfo.cc (__si_class_type_info::__do_find_public_src):
Changed member names to match specifications.
(__vmi_class_type_info::__do_find_public_src): Likewise.
(__si_class_type_info::__do_dyncast): Likewise.
(__vmi_class_type_info::__do_dyncast): Likewise.
(__si_class_type_info::__do_upcast): Likewise.
(__vmi_class_type_info::__do_upcast): Likewise.
* tinfo2.cc (__pbase_type_info::__do_catch): Likewise.
(__pbase_type_info::__pointer_catch): Likewise.
(__pointer_type_info::__pointer_catch): Likewise.
(__pointer_to_member_type_info::__pointer_catch): Likewise.

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

23 years ago * aclocal.m4: Replace copy of ../libtool.m4 with
zack [Sat, 5 Aug 2000 01:13:37 +0000 (01:13 +0000)]
* aclocal.m4: Replace copy of ../libtool.m4 with
sinclude(../libtool.m4).

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

23 years ago2000-08-04 Andreas Schwab <schwab@suse.de>
zack [Sat, 5 Aug 2000 00:50:02 +0000 (00:50 +0000)]
2000-08-04  Andreas Schwab  <schwab@suse.de>

* cppmain.c (cb_def_pragma): Skip the first two tokens from the
token list, which are always `#' and `pragma'.

2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>

* tree.c (tree_expr_nonnegative_p): Move to...
* fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
(rtl_expr_nonnegative_p): New.
* tree.h: Add prototype for rtl_expr_nonnegative_p.

* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
CONST_DOUBLE_CHAIN: Move to...
* rtl.h: ...here.  Use XCINT/XCEXP.

* Makefile.in: Remove toplev.o from OBJS.  Add rule to make
libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
to VOL_FILES.

* objc/Make-lang.in (cc1obj): Link with $(BACKEND).

ch:
* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in (cc1chill): Link with $(BACKEND).  Define BACKEND,
eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
        * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
        * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
        (cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(f771): Link with $(BACKEND).
java:
* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(jc1): Link with $(BACKEND).
(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).

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

23 years ago * lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
zack [Sat, 5 Aug 2000 00:46:17 +0000 (00:46 +0000)]
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
and torture_without_loops as is done by c-torture.exp.
(search_for): Copy from c-torture.exp.
(gcc-dg-runtest): New function, drives a directory of tests
iterating over the TORTURE_OPTIONS.
(scan-assembler, scan-assembler-not): Move here from
individual directory drivers.

* gcc.dg/dg.exp: scan-assembler, scan-assembler-not now
defined by lib/gcc-dg.exp.
* gcc.dg/cpp/cpp.exp: Likewise.
* gcc.dg/noncompile/noncompile.exp: Likewise.  Use
gcc-dg-runtest, so we cycle over optimization options.

* gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9.
* gcc.dg/compare2.c: No longer expected to fail.

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

23 years agonew
jason [Sat, 5 Aug 2000 00:38:31 +0000 (00:38 +0000)]
new

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

23 years ago * pt.c (do_type_instantiation): Add complain parm; don't complain
jason [Sat, 5 Aug 2000 00:38:24 +0000 (00:38 +0000)]
    * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

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

23 years ago2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Fri, 4 Aug 2000 23:43:22 +0000 (23:43 +0000)]
2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * config/c4x/c4x.md (return_indirect_internal): New.
        * config/c4x/c4x.c (c4x_expand_epilogue): Use it.

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

23 years ago * c-common.c (time_char_table): Mark up formats added in C99 and
jsm28 [Fri, 4 Aug 2000 23:03:21 +0000 (23:03 +0000)]
* c-common.c (time_char_table): Mark up formats added in C99 and
make other corrections.  %D and %g were added in C99.  %Og is an
extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
C99 rather than GNU extensions, but %OG and %Oz are extensions.
%h was added in C99.  %C was added in C99.  %OY and %OC are
extensions.  Add the C99 format %F.
(check_format_info): If pedantic and not in C99 mode, warn for C99
formats, %E and %O.

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

23 years ago * function.c (schedule_fixup_var_refs): New function, broken out
amylaar [Fri, 4 Aug 2000 22:06:49 +0000 (22:06 +0000)]
* function.c (schedule_fixup_var_refs): New function, broken out
of put_reg_into_stack.
(put_reg_into_stack): Use it.
(put_var_into_stack): In CONCAT case, fixup up references for
components only after fixing up references to the whole concat.
testsuite:
* gcc.c-torture/execute/20000804-1.c: New test.

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

23 years ago * alias.c (mark_constant_function): Use INSN_P.
law [Fri, 4 Aug 2000 20:28:08 +0000 (20:28 +0000)]
* alias.c (mark_constant_function): Use INSN_P.
(init_alias_analysis): Likewise.
* combine.c (combine_instructions): Use INSN_P.
(can_combine_p): Likewise.
(try_combine): Likewise.
(distribute_notes): Likewise.
(distribute_links): Likewise.
* cse.c (cse_around_loop): Use INSN_P.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.
(cse_end_of_basic_block): Likewise.
(delete_trivially_dead_insns): Likewise.
* emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
(unshare_all_rtl_1): Likewise.
(next_cc0_user): Likewise.
(try_split make_insn_raw): Likewise.
(remove_unnecessary_notes): Likewise.
* final.c (shorten_branches): Use INSN_P.
(leaf_renumber_regs): Likewise.
(leaf_renumber_regs_insn): Likewise.
* flow.c (find_label_refs): Use INSN_P.
(verify_wide_reg): Likewise.
(notice_stack_pointer_modification): Likewise.
(count_or_remove_death_notes): Likewise.
(verify_flow_info): Likewise.
(clear_log_links): Likewise.
* function.c (fixup_var_refs_insns): Use INSN_P.
(compute_insns_for_mem): Likewise.
* gcse.c (alloc_gcse_mem): Use INSN_P.
(compute_sets): Likewise.
(compute_hash_table): Likewise.
(classic_gcse): Likewise.
(cprop): Likewise.
(insert_insn_end_bb): Likewise.
(delete_null_pointer_checks_1): Likewise.
* global.c (expand_preferences): Use INSN_P.
(build_insn_chain): Likewise.
* graph.c (node_data): Use INSN_P.
* haifa-sched.c (priority): Use INSN_P.
(rm_line_notes): Likewise.
(rm_other_notes): Likewise.
(find_insn_reg_weight): Likewise.
(init_target_units): Likewise.
(schedule_block): Likewise.
(compute_block_forward_dependences): Likewise.
(debug_dependencies): Likewise.
(set_priorities): Likewise.
* integrate.c (function_cannot_inline_p): Use INSN_P.
(save_parm_insns): Likewise.
(copy_insn_list): Likewise.
* jump.c (mark_all_labels): Use INSN_P.
(never_reached_warning): Likewise.
* lcm.c (optimize_mode_switching): Use INSN_P.
* local-alloc.c (validate_equiv_mem): Use INSN_P.
(memref_used_between_p): Likewise.
(update_equiv_regs): Likewise.
(block_alloc): Likewise.
(no_conflict_p): Likewise.
* loop.c (scan_loop): Use INSN_P.
(find_and_verify_loops): Likewise.
(count_loop_regs_set): Likewise.
(loop_reg_used_before_p): Likewise.
(strength_reduce): Likewise.
(recombine_givs): Likewise.
(check_dbra_loop): Likewise.
(load_mems): Likewise.
(try_copy_prop): Likewise.
* print-rtl.c (print_rtx): Use INSN_P.
* recog.c (find_single_use): Use INSN_P.
* reg-stack.c (stack_regs_mentioned): Use INSN_P.
(next_flags_user): Likewise.
(swap_rtx_condition): Likewise.
* regmove.c (mark_flags_life_zones): Use INSN_P.
(optimize_reg_copy_1): Likewise.
(optimize_reg_copy_2): Likewise.
(optimize_reg_copy_3): Likewise.
(reg_is_remote_constant_p): Likewise.
(fixup_match_2): Likewise.
(regmove_optimize): Likewise.
(fixup_match_1): Likewise.
* regrename.c (build_def_use): Use INSN_P.
(replace_reg_in_block): Likewise.
(consider_use): Likewise.
* reload.c (find_equiv_reg): Use INSN_P.
* reload1.c (reload): Use INSN_P.
(maybe_fix_stack_asms): Likewise.
(calculate_needs_all_insns): Likewise.
(reload_as_needed): Likewise.
(emit_output_reload_insns): Likewise.
(delete_address_reloads_1): Likewise.
(reload_cse_regs_1): Likewise.
(reload_combine): Likewise.
(reload_cse_move2add): Likewise.
* reorg.c (redundant_insn): Use INSN_P.
(dbr_schedule): Likewise.
* resource.c (find_dead_or_set_registers): Use INSN_P.
(mark_target_live_regs): Likewise.
* rtlanal.c (reg_used_between_p): Use INSN_P.
(reg_referenced_between_p): Likewise.
(reg_set_between_p): Likewise.
(reg_set_p): Likewise.
(single_set): Likewise.
(multiple_sets): Likewise.
(find_last_value): Likewise.
(reg_set_last): Likewise.
(find_reg_note): Likewise.
(find_regno_note): Likewise.
* sibcall.c (sequence_uses_addressof): Use INSN_P.
* simplify-rtx.c (cselib_process_insn): Use INSN_P.
* ssa.c (find_evaluations): Use INSN_P.
(rename_block): Likewise.
(rename_equivalent_regs): Likewise.
* unroll.c (loop_find_equiv_value): Use INSN_P.
(set_dominates_use): Likewise.
* varasm.c (mark_constant_pool): Use INSN_P.
(mark_constants): Likewise.
* config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
(alphaev4_next_group): Likewise.
(alphaev5_next_group): Likewise.
* config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
(c4x_rptb_rpts_p): Likewise.
* config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
* config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
(rs6000_adjust_priority): Likewise.
* config/sh/sh.c (sh_loop_align): Use INSN_P.
(machine_dependent_reorg): Likewise.
(split_branches): Likewise.
* config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.

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

23 years agoMinor tweaks
mmitchel [Fri, 4 Aug 2000 20:24:47 +0000 (20:24 +0000)]
Minor tweaks

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

23 years ago * combine.c (recog_for_combine): Remove the old notes
law [Fri, 4 Aug 2000 19:16:05 +0000 (19:16 +0000)]
    * combine.c (recog_for_combine): Remove the old notes
        prior to attempting to recognize the new pattern.
        (distribute_notes): Ignore REG_NONNEG notes.

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

23 years agoFix typo
mmitchel [Fri, 4 Aug 2000 18:49:13 +0000 (18:49 +0000)]
Fix typo

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

23 years ago * cp-tree.h (add_method): Change prototype.
mmitchel [Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)]
* cp-tree.h (add_method): Change prototype.
* class.c (add_method): Remove FIELDS parameter.  Add ERROR_P.
Don't double the size of the method vector in the error case.
(handle_using_decl): Adjust call to add_method.
(add_implicitly_declared_members): Likewise.
(clone_function_decl): Likewise.
* decl2.c (check_classfn): Likewise.
* semantics.c (finish_member_declaration): Likewise.

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

23 years ago* varasm.c (output_constructor): Add .align 0 for packed vars.
cchavva [Fri, 4 Aug 2000 18:11:16 +0000 (18:11 +0000)]
* varasm.c (output_constructor): Add .align 0 for packed vars.

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

23 years ago * configure.in: Use default thread_file even when enable_threads is
law [Fri, 4 Aug 2000 17:39:19 +0000 (17:39 +0000)]
    * configure.in: Use default thread_file even when enable_threads is
        yes or dce because hpux10.20 pa port uses MULTILIB implementation.
        * configure: Rebuilt.

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

23 years ago * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
law [Fri, 4 Aug 2000 17:25:19 +0000 (17:25 +0000)]
    * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.

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

23 years ago * std/mask_array.h (mask_array): Rename template type
law [Fri, 4 Aug 2000 17:22:03 +0000 (17:22 +0000)]
    * std/mask_array.h (mask_array): Rename template type
        parameter to avoid conflicts with ctype.h on BSD systems.
        * std/slice_array.h (slice_array): Likewise.

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

23 years ago * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
law [Fri, 4 Aug 2000 17:02:51 +0000 (17:02 +0000)]
    * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.

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

23 years ago * i386/x-djgpp: Delete code that conditionally modifies target_alias.
law [Fri, 4 Aug 2000 16:19:19 +0000 (16:19 +0000)]
    * i386/x-djgpp: Delete code that conditionally modifies target_alias.
        Delete code that conditionally modifies 'version'.
        Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
        * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
        * gcc.c (main): Use it.
        * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
        * prefix.c (update_path): Use it.
        * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
        (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
        (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
        code.
        (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
        (SUBTARGET_SWITCHES): Adjust.
        (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
        defining.
        (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.

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

23 years ago * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
law [Fri, 4 Aug 2000 16:17:37 +0000 (16:17 +0000)]
    * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
        modify 'gcc_version'.

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

23 years ago * c-common.h (flag_isoc94): Declare.
jsm28 [Fri, 4 Aug 2000 16:10:14 +0000 (16:10 +0000)]
* c-common.h (flag_isoc94): Declare.
* c-decl.c (flag_isoc94): Define.
(c_decode_option): Set flag_isoc94 as appropriate.
* c-common.c (T_PD, T_IM, T_UIM): Define.
(format_char_info): Add tlen and jlen.
(print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
%F.  Allow %lf.
(scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
%l[.
(time_char_table): Add NULL entries for %t and %j.
(check_format_info): Allow for %t and %j.  Warn for %F if pedantic
and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
Warn for printf %lf if pedantic and not C99.  Don't warn for empty
precision.  Allow precision argument to be unsigned int.  If
pedantic, warn for %p passed an argument not a pointer to possibly
qualified void or a possibly qualified character type, and for
pointer targets of the wrong sign, except for character pointers.

cp:
* decl.c (flag_isoc94): New variable.

testsuite:
* gcc.dg/c90-printf-1.c, gcc.dg/c94-printf-1.c: New tests.

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

23 years ago * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
jsm28 [Fri, 4 Aug 2000 16:00:48 +0000 (16:00 +0000)]
* ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
* c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
(wint_type_node): Define.
* c-decl.c (WINT_TYPE): Define.
(init_decl_processing): Create the wint_type_node type.
* c-common.c (T_WI): Define.
(print_char_table): Use T_WI for %lc format.

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

23 years agoRemoved conditional #defines of macros GCC always defines
korbb [Fri, 4 Aug 2000 14:20:42 +0000 (14:20 +0000)]
Removed conditional #defines of macros GCC always defines

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

23 years agoImplement, but leave disabled, MSDOS functionality
korbb [Fri, 4 Aug 2000 14:16:57 +0000 (14:16 +0000)]
Implement, but leave disabled, MSDOS functionality

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

23 years ago * cppdefault.h (WINT_TYPE): Define.
jsm28 [Fri, 4 Aug 2000 12:45:57 +0000 (12:45 +0000)]
* cppdefault.h (WINT_TYPE): Define.
* cppinit.c (builtin_array): Define __WINT_TYPE__.
* tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
* tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.

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

23 years ago * (mips_legitimate_address_p): Don't allow register+offset
cpopetz [Fri, 4 Aug 2000 11:52:08 +0000 (11:52 +0000)]
* (mips_legitimate_address_p): Don't allow register+offset
if the offset is large and negative, and we are compiling
for 64 bit registers.

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

23 years ago * MAINTAINERS: Add self to Write After Approval list.
jsm28 [Fri, 4 Aug 2000 08:37:37 +0000 (08:37 +0000)]
* MAINTAINERS: Add self to Write After Approval list.

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

23 years agoDaily bump.
law [Fri, 4 Aug 2000 07:45:12 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * h8300.c (function_prologue): Rearrange code for conciseness.
law [Fri, 4 Aug 2000 07:07:55 +0000 (07:07 +0000)]
    * h8300.c (function_prologue): Rearrange code for conciseness.
        (function_epilogue): Likewise.
        * hh8300.h (OK_FOR_U): Fix formatting.

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

23 years ago * gencodes.c (main): Define CODE_FOR_nothing as the last possible
law [Fri, 4 Aug 2000 07:01:30 +0000 (07:01 +0000)]
    * gencodes.c (main): Define CODE_FOR_nothing as the last possible
        insn_code_number + 1.

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

23 years ago * cse.c: Fix a comment typo. Fix formatting.
law [Fri, 4 Aug 2000 06:55:10 +0000 (06:55 +0000)]
    * cse.c: Fix a comment typo. Fix formatting.

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

23 years ago * i386.md (return_indirect_internal): New.
rth [Fri, 4 Aug 2000 04:14:52 +0000 (04:14 +0000)]
    * i386.md (return_indirect_internal): New.
        * i386.c (ix86_expand_epilogue): Use it.

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

23 years ago * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
zack [Fri, 4 Aug 2000 01:30:06 +0000 (01:30 +0000)]
* cpplex.c (parse_name): Might have to glue a CPP_OTHER token
before the name.
(lex_line): Glue @ onto the beginning of identifiers and
string constants, in Objective-C mode.
(output_token, spell_token): Handle CPP_OSTRING.
(can_paste, maybe_paste_with_next): Handle pasting @ onto the
beginning of a NAME or a STRING, in objc mode.

* cpplib.c (get_define_node): Do not permit identifiers that
begin with @ to be #defined.
* cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
* cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.

* c-lang.c, objc/objc-act.c (build_objc_string): Delete.
* c-tree.h (build_objc_string): Delete prototype.
* objc/objc-tree.def: Delete OBJC_STRING_CST.
* c-lex.c (yylex): Use build_string for all three kinds of strings.

* gcc.dg/cpp/20000625-2.c: Don't expect a warning on line 4.

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

23 years agoMissing changelog entry
bryce [Fri, 4 Aug 2000 01:15:51 +0000 (01:15 +0000)]
Missing changelog entry

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

23 years ago * java/io/ObjectInputStream.java (readFields): Turn off
warrenl [Fri, 4 Aug 2000 00:42:20 +0000 (00:42 +0000)]
* java/io/ObjectInputStream.java (readFields): Turn off
readDataFromBlock while reading via GetField.
(GetField$1.get(String, Object)): Pass Class of default value to
getField.
(getField): Allow for null default values.

* java/io/ObjectOutputStream.java: Fixed typo in comment.
(PutField$1.put): Fixed calls of checkType in most of the put
methods to pass the correct parameter.
(PutField$1.put(String, Object)): Allow for null value arg.
(PutField$1.write): Turn off writeDataAsBlocks while writing via
PutField.

* java/io/ObjectStreamClass.java (serialPersistentFields): Fixed
typo in spec'ed field name.
(getSerialPersistentFields): Changed spelling of method to match
the correct spelling of the spec'ed field name.

More serialization fixes per Mauve errors.

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

23 years ago * pt.c (do_type_instantiation): Add complain parm; don't complain
jason [Fri, 4 Aug 2000 00:02:19 +0000 (00:02 +0000)]
    * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

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

23 years ago * extend.texi: Fix typo in last change.
mmitchel [Thu, 3 Aug 2000 23:55:24 +0000 (23:55 +0000)]
* extend.texi: Fix typo in last change.

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

23 years ago* configure.in (libstdcxx_flags): Don't use `"'.
aoliva [Thu, 3 Aug 2000 23:52:12 +0000 (23:52 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.

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

23 years ago * extend.texi: Add commentary on statement-expressions and their
mmitchel [Thu, 3 Aug 2000 23:10:18 +0000 (23:10 +0000)]
* extend.texi: Add commentary on statement-expressions and their
interactions with C++.

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

23 years agoChangeLog
mmitchel [Thu, 3 Aug 2000 23:07:43 +0000 (23:07 +0000)]
ChangeLog

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

23 years agoChange java language number to 0x000b
nickc [Thu, 3 Aug 2000 22:41:38 +0000 (22:41 +0000)]
Change java language number to 0x000b

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

23 years ago * dce: New file.
mmitchel [Thu, 3 Aug 2000 21:30:29 +0000 (21:30 +0000)]
* dce: New file.

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

23 years agoApply patch from Anthony Green to add java language support to Dwarf generation.
nickc [Thu, 3 Aug 2000 21:04:42 +0000 (21:04 +0000)]
Apply patch from Anthony Green to add java language support to Dwarf generation.

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

23 years ago* config-ml.in: Adjust multilib search paths to the
aoliva [Thu, 3 Aug 2000 19:19:33 +0000 (19:19 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

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

23 years ago * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
hubicka [Thu, 3 Aug 2000 18:36:14 +0000 (18:36 +0000)]
* reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
operands.

* i386.c (ix86_expand_branch): Mode of comparison in
IF_THEN_ELSE is VOIDmode.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Thu, 3 Aug 2000 17:56:02 +0000 (17:56 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.

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

23 years ago * gengenrtl.c, rtl.c: Avoid #elif.
law [Thu, 3 Aug 2000 16:06:13 +0000 (16:06 +0000)]
    * gengenrtl.c, rtl.c: Avoid #elif.

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

23 years ago * h8300.c: Fix a comment typo.
law [Thu, 3 Aug 2000 15:20:43 +0000 (15:20 +0000)]
    * h8300.c: Fix a comment typo.
        * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.

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

23 years ago * tm.texi (Register Classes): Clarify order of sub-initializers
law [Thu, 3 Aug 2000 15:05:25 +0000 (15:05 +0000)]
    * tm.texi (Register Classes): Clarify order of sub-initializers
        in REG_CLASS_CONTENTS.

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

23 years ago * jump.c: Fix formatting.
law [Thu, 3 Aug 2000 15:01:36 +0000 (15:01 +0000)]
* jump.c: Fix formatting.

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

23 years ago From SAITOH Masanobu:
amylaar [Thu, 3 Aug 2000 14:55:05 +0000 (14:55 +0000)]
From SAITOH Masanobu:
* sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.

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

23 years ago* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
cgf [Thu, 3 Aug 2000 13:30:18 +0000 (13:30 +0000)]
* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
supported by tradcpp and isn't actually needed for cygwin.

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

23 years ago * Makefile.am: Add new AWT stubs.
bryce [Thu, 3 Aug 2000 12:09:41 +0000 (12:09 +0000)]
* Makefile.am: Add new AWT stubs.
* java/awt/Canvas.java: New placeholder class.
* java/awt/Checkbox.java: Ditto.
* java/awt/CheckboxMenuItem.java: Ditto.
* java/awt/Choice.java: Ditto.
* java/awt/Dialog.java: Ditto.
* java/awt/FileDialog.java: Ditto.
* java/awt/List.java: Ditto.
* java/awt/ScrollPane.java: Ditto.
* java/awt/TextField.java: Ditto.
* java/awt/datatransfer/Clipboard.java: Ditto.
* java/awt/Component.java (treeLock): Now a static String. Add
comment.
* java/awt/MenuItem.java (MenuItem): Add default constructor.
* java/awt/Toolkit.java: Added all methods from J2SE 1.3 API docs.
Some commented out. Partially implemented.
* java/awt/natToolkit.cc: Removed file.

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

23 years ago * decl2.c: Silently ignore -Wstrict-prototypes; warn about
zack [Thu, 3 Aug 2000 08:26:36 +0000 (08:26 +0000)]
* decl2.c: Silently ignore -Wstrict-prototypes; warn about
-Wno-strict-prototypes.

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

23 years ago * bits/locale_facets.h (ctype::ctype): Don't name unused
mmitchel [Thu, 3 Aug 2000 07:56:17 +0000 (07:56 +0000)]
* bits/locale_facets.h (ctype::ctype): Don't name unused
parameters.

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

23 years ago * gcc.c-torture/compile/20000803-1.c: New test.
law [Thu, 3 Aug 2000 07:46:44 +0000 (07:46 +0000)]
    * gcc.c-torture/compile/20000803-1.c: New test.

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

23 years agoDaily bump.
law [Thu, 3 Aug 2000 07:45:10 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * gcc.c-torture/execute/20000801-3.c, gcc.c-torture/20000801-4.c:
law [Thu, 3 Aug 2000 07:36:13 +0000 (07:36 +0000)]
* gcc.c-torture/execute/20000801-3.c, gcc.c-torture/20000801-4.c:
New tests.
* gcc.c-torture/execute/20000801-3.x, gcc/c-torture/20000801-4.x:
Xfail.

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

23 years ago * toplev.c: Fix formatting.
law [Thu, 3 Aug 2000 07:29:11 +0000 (07:29 +0000)]
    * toplev.c: Fix formatting.

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

23 years ago * flow.c (find_auto_inc): Verify that we've got a REG before
law [Thu, 3 Aug 2000 07:16:39 +0000 (07:16 +0000)]
    * flow.c (find_auto_inc): Verify that we've got a REG before
        peeking at its regno.  Fail, don't abort if we can't find
        the increment of the desired register.

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

23 years ago * pa.md (shadd height reduction patterns/splitters): Remove.
law [Thu, 3 Aug 2000 07:05:28 +0000 (07:05 +0000)]
    * pa.md (shadd height reduction patterns/splitters): Remove.

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

23 years ago2000-08-03 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 3 Aug 2000 06:48:34 +0000 (06:48 +0000)]
2000-08-03  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.am: Make inner class CNI headers depend on libgcj.zip
only.
Fixes "make -j" builds.
* Makefile.in: Rebuild.

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

23 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
aoliva [Thu, 3 Aug 2000 01:56:16 +0000 (01:56 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

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

23 years agoWorkaround for -fssa testsuite failures.
wilson [Thu, 3 Aug 2000 00:31:39 +0000 (00:31 +0000)]
Workaround for -fssa testsuite failures.
* config/ia64/ia64-protos.h (flag_ssa): Declare.
* config/ia64/ia64.md (movti_internal, movti_internal+1): New.

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

23 years ago * dce.c: Remove all uses of assert.
mmitchel [Thu, 3 Aug 2000 00:17:11 +0000 (00:17 +0000)]
* dce.c: Remove all uses of assert.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* ssa.c: Likewise.

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

23 years ago* lib/objc.exp (objc_target_compile): Look for libobjc.a in
geoffk [Wed, 2 Aug 2000 22:24:35 +0000 (22:24 +0000)]
* lib/objc.exp (objc_target_compile): Look for libobjc.a in
libobjc/.libs to allow for libtool.

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

23 years ago * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
zack [Wed, 2 Aug 2000 22:03:53 +0000 (22:03 +0000)]
* pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Wed, 2 Aug 2000 21:54:04 +0000 (21:54 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (libgcj_la_SOURCES): Added posix.cc.
* java/net/natPlainSocketImpl.cc: Include posix.h.
(accept): Use _Jv_select.
* java/net/natPlainDatagramSocketImpl.cc: Include posix.h.
(receive): Use _Jv_select.
* java/io/natFileDescriptorPosix.cc: Include posix.h.
(available): Use _Jv_select.
* java/lang/natSystem.cc: Include posix.h.
(currentTimeMillis): Use _Jv_gettimeofday.
* include/posix.h: New file.
* posix.cc: New file.

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

23 years ago * gcc.c-torture/compile/20000802-1.c: New test.
jakub [Wed, 2 Aug 2000 20:46:32 +0000 (20:46 +0000)]
* gcc.c-torture/compile/20000802-1.c: New test.

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

23 years ago * gcc.h (lang_specific_driver): Constify second argument.
zack [Wed, 2 Aug 2000 20:21:27 +0000 (20:21 +0000)]
* gcc.h (lang_specific_driver): Constify second argument.
* gcc.c (translate_options, process_command, main): Likewise.
Constify variables to match.  Cast second argument to
pexecute.

* cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust
type of second argument to lang_specific_driver, and update
code as necessary.

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

23 years ago * scripts/encodings.pl: New file.
tromey [Wed, 2 Aug 2000 19:56:53 +0000 (19:56 +0000)]
* scripts/encodings.pl: New file.
* Makefile.in: Rebuilt.
* Makefile.am (convert_source_files): Added IOConverter.java.
* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getEncoder): Likewise.
* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getDecoder): Likewise.
* gnu/gcj/convert/IOConverter.java: New file.

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

23 years ago * gc_priv.h (GC_generic_malloc_inner): Prototype.
tromey [Wed, 2 Aug 2000 19:46:07 +0000 (19:46 +0000)]
* gc_priv.h (GC_generic_malloc_inner): Prototype.
(GC_generic_malloc): Likewise.
(GC_add_to_black_list_normal): Likewise.
(GC_find_header): Likewise.
(GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
* gc_mark.h (GC_find_start): Prototype.
(GC_signal_mark_stack_overflow): Likewise.

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

23 years ago2000-08-02 Manfred Hollstein <manfredh@redhat.com>
manfred [Wed, 2 Aug 2000 18:44:04 +0000 (18:44 +0000)]
2000-08-02  Manfred Hollstein  <manfredh@redhat.com>

* configure.in: Re-enable all references to libg++ and librx.

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

23 years ago * loop.c (scan_loop): Ensure update_end label does not
jakub [Wed, 2 Aug 2000 17:29:52 +0000 (17:29 +0000)]
* loop.c (scan_loop): Ensure update_end label does not
go away until reg_scan_update is run.

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

23 years ago * c-common.h: Prototype min_precision and c_build_qualified_type here...
zack [Wed, 2 Aug 2000 17:01:13 +0000 (17:01 +0000)]
* c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-tree.h: ... not here.
* errors.h: Prototype fancy_abort.

* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
HOST_BITS_PER_WIDE_INT == 64 ifdef block.
* regrename.c (regrename_optimize): Make control flow explicit.
(replace_reg_in_block): Initialize reg_use to 0.

* i386.c (legitimate_address_p): Rename error label to
report_error to avoid namespace clash.

cp:
* cp-tree.h: Don't prototype min_precision here.
(my_friendly_assert): Cast expression to void.
* semantics.c (do_poplevel): Initialize scope_stmts.

f:
* expr.c (ffeexpr_finished_): Cast signed side of ?:
expression to bool.

java:
* class.c (build_dtable_decl): Initialize dummy.

intl:
* dcgettext.c (find_msg): Initialize act before loop.
(guess_category_value): Add dummy uses of both parameters.
* localealias.c (read_alias_file): Cast arg of strchr to char *.

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

23 years ago * cp-tree.h (DECL_NEEDED_P): Tweak.
mmitchel [Wed, 2 Aug 2000 16:02:43 +0000 (16:02 +0000)]
* cp-tree.h (DECL_NEEDED_P): Tweak.

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

23 years ago * fold-const.c: Fix formatting.
law [Wed, 2 Aug 2000 15:28:44 +0000 (15:28 +0000)]
    * fold-const.c: Fix formatting.

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

23 years ago * i386.c (legitimate_address_p): Accept other bases than
hubicka [Wed, 2 Aug 2000 14:28:14 +0000 (14:28 +0000)]
* i386.c (legitimate_address_p): Accept other bases than
pic_offset_table_rtx for GOTOFF constructs.

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

23 years ago * i386.md (shift to lea splitter): Use const_int_operand.
hubicka [Wed, 2 Aug 2000 14:02:16 +0000 (14:02 +0000)]
* i386.md (shift to lea splitter): Use const_int_operand.

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

23 years agoDaily bump.
law [Wed, 2 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
zack [Wed, 2 Aug 2000 07:08:49 +0000 (07:08 +0000)]
* cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
cppspec.c: Do not use 'legal' or 'illegal' in error messages
and comments.

* cppmain.c (cb_define, cb_undef): Don't generate any output
if not done_initializing.
* cpplex.c (maybe_paste_with_next): When the token after a ##
is an omitted rest argument, only delete the token before it
if that token is a comma.  Do not warn about bogus token
pastes for , ## rest_arg.

* cpp.texi: Update.
* cpp.1: Regenerate.

* gcc.dg/cpp/macsyntx.c: Fix error regexp.

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

23 years ago * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
jason [Wed, 2 Aug 2000 07:04:33 +0000 (07:04 +0000)]
    * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
        when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
        and later.

        * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
        Be directories to search path.

        Remove support for __declspec(dllimport) and __declspec(dllexport).
        This is leftover cruft from the earlier BeOS gcc port when BeOS
        used Microsoft's PE object file format.
        * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
        * config/i386/t-beos (winnt.o): Remove Makefile frag.
        * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
        (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
        (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
        (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
        (REDO_SECTION_INFO_P): Remove.
        (ASM_EXPORT_DECL): Remove.
        (ASM_DECLARE_FUNCTION_NAME): Remove.
        (ASM_DECLARE_OBJECT_NAME): Remove.
        (ASM_OUTPUT_ALIGNED_COMMON): Remove.
        (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
        (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
        (STRIP_NAME_ENCODING): Remove.

        Remove support for obsolete version of BeOS that is no longer
        supported by Be.
        * configure.in (i*86-*-beospe*): Remove.
        * config/i386/beos-pe.h: Remove.

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

23 years ago * Makefile.in (OBJS): Added dce.o.
mmitchel [Wed, 2 Aug 2000 04:21:27 +0000 (04:21 +0000)]
* Makefile.in (OBJS): Added dce.o.
(ssa.o): Updated target to include ssa.h.
(flow.o): Likewise.
(toplev.o): Likewise.
(dce.o): Created target.
* basic-block.h: Added comments.
(INVALID_BLOCK): Added definition.
(connect_infinite_loops_to_exit): Added declaration.
Moved SSA declarations to ssa.h.
* flow.c: Added inclusion of ssa.h.
(struct depth_first_search_dsS, depth_first_search_ds):
Added definitions.
(compute_immediate_postdominators): Added definition.
(connect_infinite_loops_to_exit): Likewise.
(flow_dfs_compute_reverse_init): Likewise.
(flow_dfs_compute_reverse_add_bb): Likewise.
(flow_dfs_compute_reverse_execute): Likewise.
(flow_dfs_compute_reverse_finish): Likewise.
* rtl.h (rtx/in_struct): Added use to determine insn necessity.
(LABEL_P): Added definition.
(JUMP_P): Likewise.
(NOTE_P): Likewise.
(BARRIER_P): Likewise.
(JUMP_TABLE_DATA_P): Likewise.
(INSN_DEAD_CODE_P): Likewise.
* ssa.c: Replaced inclusions with ssa.h inclusion.
(CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
(rename_registers): Removed unnecessary variables.
* ssa.h: Created by moving declarations from ssa.c and
basic-block.h.
* timevar.def: Defined TV_DEAD_CODE_ELIM.
* toplev.c: Added ssa.h inclusion.
(dump_file_index): Added DFI_dce.
(dump_file): Added "dce" entry.
Defined flag_ssa.
(f_options): Added dce entry.
* invoke.texi: Document -fdce.  Emphasize experimental status of
-fssa.

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

23 years ago2000-08-02 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 2 Aug 2000 03:25:13 +0000 (03:25 +0000)]
2000-08-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * interpret.cc (_Jv_InterpMethod::continue1): Type of `fun' changed
to match C declaration in ffi.h.
* Makefile.am: Add java/awt/Button.java.
* Makefile.in: Rebuilt.

2000-07-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Type of the
        cast of the second argument to `ffi_raw_call' changed to match
        prototype.

2000-07-26  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jni.cc (_Jv_JNIMethod::call): Type of the cast of the second
        argument to `ffi_raw_call' changed to match prototype.

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

23 years agoResurrect - accidentally deleted in previous commit
zack [Wed, 2 Aug 2000 01:19:30 +0000 (01:19 +0000)]
Resurrect - accidentally deleted in previous commit

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

23 years agoargh, forgot to save file
zack [Wed, 2 Aug 2000 01:14:37 +0000 (01:14 +0000)]
argh, forgot to save file

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