platform/upstream/gcc.git
23 years agoMoved the Objective-C specific options from toplev.c.
Ovidiu Predescu [Sun, 6 Aug 2000 07:51:15 +0000 (07:51 +0000)]
Moved the Objective-C specific options from toplev.c.

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.

From-SVN: r35516

23 years agolang-options.h...
Ovidiu Predescu [Sun, 6 Aug 2000 07:49:11 +0000 (07:49 +0000)]
lang-options.h...

lang-options.h: Added a comma after the last element to avoid syntax
errors when other languages define additional options.

From-SVN: r35515

23 years agoAdded a comma after the last element to avoid syntax errors when other
Ovidiu Predescu [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.

From-SVN: r35514

23 years agoDaily bump.
Jeff Law [Sun, 6 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35513

23 years agoPrintWriter.java: Merged comments from Classpath.
Tom Tromey [Sun, 6 Aug 2000 01:54:07 +0000 (01:54 +0000)]
PrintWriter.java: Merged comments from Classpath.

* 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.

From-SVN: r35512

23 years agoStreamTokenizer.java (TT_NONE): Now private.
Tom Tromey [Sun, 6 Aug 2000 00:49:29 +0000 (00:49 +0000)]
StreamTokenizer.java (TT_NONE): Now private.

* java/io/StreamTokenizer.java (TT_NONE): Now private.
(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
For PR java.io/301.

From-SVN: r35511

23 years agoelf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array...
Chris Demetriou [Sun, 6 Aug 2000 00:07:22 +0000 (00:07 +0000)]
elf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array to just func_ptr...

        * 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.

From-SVN: r35510

23 years agomips.h: Clean up comments and spacing near MASKs.
Chris Demetriou [Sun, 6 Aug 2000 00:02:49 +0000 (00:02 +0000)]
mips.h: Clean up comments and spacing near MASKs.

        * 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.

From-SVN: r35509

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

From-SVN: r35508

23 years agoc-common.c (print_char_table): Add entries for the X/Open ' format flag (print decima...
Joseph Myers [Sat, 5 Aug 2000 18:31:15 +0000 (19:31 +0100)]
c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's...

* 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.

From-SVN: r35507

23 years agoi386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode...
Zack Weinberg [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...

* 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.

From-SVN: r35506

23 years agotweak
Jason Merrill [Sat, 5 Aug 2000 17:48:27 +0000 (13:48 -0400)]
tweak

From-SVN: r35505

23 years agoDaily bump.
Jeff Law [Sat, 5 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35504

23 years agocxxabi.h (__pbase_type_info): Changed member names to match specifications.
Jeffrey Oldham [Sat, 5 Aug 2000 04:17:23 +0000 (04:17 +0000)]
cxxabi.h (__pbase_type_info): Changed member names to match specifications.

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.

From-SVN: r35503

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

* aclocal.m4: Replace copy of ../libtool.m4 with
sinclude(../libtool.m4).

From-SVN: r35502

23 years ago[multiple changes]
Zack Weinberg [Sat, 5 Aug 2000 00:50:02 +0000 (00:50 +0000)]
[multiple changes]

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).

From-SVN: r35501

23 years agogcc-dg.exp: Set up TORTURE_OPTIONS...
Zack Weinberg [Sat, 5 Aug 2000 00:46:17 +0000 (00:46 +0000)]
gcc-dg.exp: Set up TORTURE_OPTIONS...

* 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.

From-SVN: r35500

23 years agonew
Jason Merrill [Sat, 5 Aug 2000 00:38:31 +0000 (20:38 -0400)]
new

From-SVN: r35499

23 years agopt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
Jason Merrill [Sat, 5 Aug 2000 00:38:24 +0000 (20:38 -0400)]
pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.

        * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35498

23 years agoc4x.md (return_indirect_internal): New.
Herman A.J. ten Brugge [Fri, 4 Aug 2000 23:43:22 +0000 (01:43 +0200)]
c4x.md (return_indirect_internal): New.

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.

From-SVN: r35497

23 years agoc-common.c (time_char_table): Mark up formats added in C99 and make other corrections.
Joseph Myers [Fri, 4 Aug 2000 23:03:21 +0000 (00:03 +0100)]
c-common.c (time_char_table): Mark up formats added in C99 and make other corrections.

* 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.

From-SVN: r35496

23 years agofunction.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack.
J"orn Rennecke [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.

* 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.

From-SVN: r35495

23 years agoalias.c (mark_constant_function): Use INSN_P.
Rodney Brown [Fri, 4 Aug 2000 20:28:08 +0000 (20:28 +0000)]
alias.c (mark_constant_function): Use INSN_P.

* 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.

From-SVN: r35494

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

From-SVN: r35493

23 years agocombine.c (recog_for_combine): Remove the old notes prior to attempting to recognize...
John Wehle [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.

        * combine.c (recog_for_combine): Remove the old notes
        prior to attempting to recognize the new pattern.
        (distribute_notes): Ignore REG_NONNEG notes.

From-SVN: r35492

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

From-SVN: r35491

23 years agocp-tree.h (add_method): Change prototype.
Mark Mitchell [Fri, 4 Aug 2000 18:41:00 +0000 (18:41 +0000)]
cp-tree.h (add_method): Change prototype.

* 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.

From-SVN: r35490

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

From-SVN: r35489

23 years agoconfigure.in: Use default thread_file even when enable_threads is yes or dce because...
J. David Anglin [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...

        * configure.in: Use default thread_file even when enable_threads is
        yes or dce because hpux10.20 pa port uses MULTILIB implementation.
        * configure: Rebuilt.

From-SVN: r35488

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

From-SVN: r35487

23 years agomask_array.h (mask_array): Rename template type parameter to avoid conflicts with...
David E O'Brien [Fri, 4 Aug 2000 17:22:03 +0000 (11:22 -0600)]
mask_array.h (mask_array): Rename template type parameter to avoid conflicts with ctype.h on BSD systems.

        * 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.

From-SVN: r35486

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

From-SVN: r35485

23 years agox-djgpp: Delete code that conditionally modifies target_alias.
Mark Elbrecht [Fri, 4 Aug 2000 16:19:19 +0000 (16:19 +0000)]
x-djgpp: Delete code that conditionally modifies target_alias.

        * 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.

From-SVN: r35484

23 years agomh-djgpp: Conditionally set 'target_alias' to djgpp.
Mark Elbrecht [Fri, 4 Aug 2000 16:17:37 +0000 (16:17 +0000)]
mh-djgpp: Conditionally set 'target_alias' to djgpp.

        * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
        modify 'gcc_version'.

From-SVN: r35483

23 years agoc-common.h (flag_isoc94): Declare.
Joseph Myers [Fri, 4 Aug 2000 16:10:14 +0000 (17:10 +0100)]
c-common.h (flag_isoc94): Declare.

* 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.

From-SVN: r35482

23 years agostddef.h: Don't declare wint_t unless __need_wint_t.
Joseph Myers [Fri, 4 Aug 2000 16:00:48 +0000 (17:00 +0100)]
stddef.h: Don't declare wint_t unless __need_wint_t.

* 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.

From-SVN: r35481

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

From-SVN: r35480

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

From-SVN: r35479

23 years agocppdefault.h (WINT_TYPE): Define.
Joseph Myers [Fri, 4 Aug 2000 12:45:57 +0000 (13:45 +0100)]
cppdefault.h (WINT_TYPE): Define.

* 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.

From-SVN: r35478

23 years ago(mips_legitimate_address_p): Don't allow register+offset if the offset is large and...
Clinton Popetz [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...

* (mips_legitimate_address_p): Don't allow register+offset
if the offset is large and negative, and we are compiling
for 64 bit registers.

From-SVN: r35477

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

From-SVN: r35476

23 years agoDaily bump.
Jeff Law [Fri, 4 Aug 2000 07:45:12 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35475

23 years agoh8300.c (function_prologue): Rearrange code for conciseness.
Kazu Hirata [Fri, 4 Aug 2000 07:07:55 +0000 (07:07 +0000)]
h8300.c (function_prologue): Rearrange code for conciseness.

        * h8300.c (function_prologue): Rearrange code for conciseness.
        (function_epilogue): Likewise.
        * hh8300.h (OK_FOR_U): Fix formatting.

From-SVN: r35474

23 years agogencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number...
Herman A.J. ten Brugge [Fri, 4 Aug 2000 07:01:30 +0000 (09:01 +0200)]
gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number + 1.

        * gencodes.c (main): Define CODE_FOR_nothing as the last possible
        insn_code_number + 1.

From-SVN: r35473

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

From-SVN: r35472

23 years agoi386.md (return_indirect_internal): New.
Richard Henderson [Fri, 4 Aug 2000 04:14:52 +0000 (21:14 -0700)]
i386.md (return_indirect_internal): New.

        * i386.md (return_indirect_internal): New.
        * i386.c (ix86_expand_epilogue): Use it.

From-SVN: r35471

23 years agocpplex.c (parse_name): Might have to glue a CPP_OTHER token before the name.
Zack Weinberg [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.

* 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.

From-SVN: r35470

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

From-SVN: r35469

23 years agoObjectInputStream.java (readFields): Turn off readDataFromBlock while reading via...
Warren Levy [Fri, 4 Aug 2000 00:42:20 +0000 (00:42 +0000)]
ObjectInputStream.java (readFields): Turn off readDataFromBlock while reading via GetField.

* 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.

From-SVN: r35468

23 years agopt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
Jason Merrill [Fri, 4 Aug 2000 00:02:19 +0000 (20:02 -0400)]
pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.

        * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35467

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

From-SVN: r35466

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

From-SVN: r35465

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

* extend.texi: Add commentary on statement-expressions and their
interactions with C++.

From-SVN: r35464

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

From-SVN: r35463

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

From-SVN: r35462

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

From-SVN: r35461

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

From-SVN: r35460

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

* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

From-SVN: r35459

23 years agoreg-stack.c (subst_stack_regs_pat): Use replace_reg to swap operands.
Jan 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.

* 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.

From-SVN: r35458

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 3 Aug 2000 17:56:02 +0000 (17:56 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.

From-SVN: r35457

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

From-SVN: r35456

23 years agoh8300.c: Fix a comment typo.
Kazu Hirata [Thu, 3 Aug 2000 15:20:43 +0000 (15:20 +0000)]
h8300.c: Fix a comment typo.

        * h8300.c: Fix a comment typo.
        * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.

From-SVN: r35455

23 years agotm.texi (Register Classes): Clarify order of sub-initializers in REG_CLASS_CONTENTS.
Michael Poole [Thu, 3 Aug 2000 15:05:25 +0000 (09:05 -0600)]
tm.texi (Register Classes): Clarify order of sub-initializers in REG_CLASS_CONTENTS.

        * tm.texi (Register Classes): Clarify order of sub-initializers
        in REG_CLASS_CONTENTS.

From-SVN: r35454

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

From-SVN: r35453

23 years agoFrom SAITOH Masanobu:
J"orn Rennecke [Thu, 3 Aug 2000 14:55:05 +0000 (14:55 +0000)]
From SAITOH Masanobu:

* sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.

From-SVN: r35452

23 years agocygwin.h: Remove -remap from CPP_SPEC since this option is not supported by tradcpp...
David Billinghurst [Thu, 3 Aug 2000 13:30:18 +0000 (13:30 +0000)]
cygwin.h: Remove -remap from CPP_SPEC since this option is not supported by tradcpp and...

* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
supported by tradcpp and isn't actually needed for cygwin.

From-SVN: r35451

23 years agoMakefile.am: Add new AWT stubs.
Bryce McKinlay [Thu, 3 Aug 2000 12:09:41 +0000 (13:09 +0100)]
Makefile.am: Add new AWT stubs.

* 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.

From-SVN: r35450

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

* decl2.c: Silently ignore -Wstrict-prototypes; warn about
-Wno-strict-prototypes.

From-SVN: r35449

23 years agolocale_facets.h (ctype::ctype): Don't name unused parameters.
Mark Mitchell [Thu, 3 Aug 2000 07:56:17 +0000 (07:56 +0000)]
locale_facets.h (ctype::ctype): Don't name unused parameters.

* bits/locale_facets.h (ctype::ctype): Don't name unused
parameters.

From-SVN: r35448

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

From-SVN: r35447

23 years agoDaily bump.
Jeff Law [Thu, 3 Aug 2000 07:45:10 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35446

23 years ago20000801-3.c, [...]: New tests.
Joseph Myers [Thu, 3 Aug 2000 07:36:13 +0000 (01:36 -0600)]
20000801-3.c, [...]: New tests.

* 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.

From-SVN: r35445

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

From-SVN: r35444

23 years agoflow.c (find_auto_inc): Verify that we've got a REG before peeking at its regno.
Jeffrey A 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.

        * 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.

From-SVN: r35443

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

From-SVN: r35442

23 years agoMakefile.am: Make inner class CNI headers depend on libgcj.zip only.
Bryce McKinlay [Thu, 3 Aug 2000 06:48:34 +0000 (06:48 +0000)]
Makefile.am: Make inner class CNI headers depend on libgcj.zip only.

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.

From-SVN: r35441

23 years agoconfigure.in (CHILL_FOR_TARGET, [...]): Convert blanks to commas in $LANGUAGES.
Alexandre Oliva [Thu, 3 Aug 2000 01:56:16 +0000 (01:56 +0000)]
configure.in (CHILL_FOR_TARGET, [...]): Convert blanks to commas in $LANGUAGES.

* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

From-SVN: r35440

23 years agoWorkaround for -fssa testsuite failures.
Jim 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.

From-SVN: r35439

23 years agodce.c: Remove all uses of assert.
Mark Mitchell [Thu, 3 Aug 2000 00:17:11 +0000 (00:17 +0000)]
dce.c: Remove all uses of assert.

* dce.c: Remove all uses of assert.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* ssa.c: Likewise.

From-SVN: r35438

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

* lib/objc.exp (objc_target_compile): Look for libobjc.a in
libobjc/.libs to allow for libtool.

From-SVN: r35437

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

From-SVN: r35436

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 2 Aug 2000 21:54:04 +0000 (21:54 +0000)]
Makefile.in: Rebuilt.

* 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.

From-SVN: r35435

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

From-SVN: r35434

23 years agogcc.h (lang_specific_driver): Constify second argument.
Zack Weinberg [Wed, 2 Aug 2000 20:21:27 +0000 (20:21 +0000)]
gcc.h (lang_specific_driver): Constify second argument.

* 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.

From-SVN: r35433

23 years agoencodings.pl: New file.
Tom Tromey [Wed, 2 Aug 2000 19:56:53 +0000 (19:56 +0000)]
encodings.pl: New file.

* 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.

From-SVN: r35432

23 years agogc_priv.h (GC_generic_malloc_inner): Prototype.
Tom Tromey [Wed, 2 Aug 2000 19:46:07 +0000 (19:46 +0000)]
gc_priv.h (GC_generic_malloc_inner): Prototype.

* 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.

From-SVN: r35431

23 years agoconfigure.in: Re-enable all references to libg++ and librx.
Manfred Hollstein [Wed, 2 Aug 2000 18:44:04 +0000 (18:44 +0000)]
configure.in: Re-enable all references to libg++ and librx.

2000-08-02  Manfred Hollstein  <manfredh@redhat.com>

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

From-SVN: r35429

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

* loop.c (scan_loop): Ensure update_end label does not
go away until reg_scan_update is run.

From-SVN: r35428

23 years agoc-common.h: Prototype min_precision and c_build_qualified_type here...
Zack Weinberg [Wed, 2 Aug 2000 17:01:13 +0000 (17:01 +0000)]
c-common.h: Prototype min_precision and c_build_qualified_type here...

* 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 *.

From-SVN: r35427

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

From-SVN: r35426

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

From-SVN: r35425

23 years agoi386.c (legitimate_address_p): Accept other bases than pic_offset_table_rtx for GOTOF...
Jan 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.

* i386.c (legitimate_address_p): Accept other bases than
pic_offset_table_rtx for GOTOFF constructs.

From-SVN: r35424

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

From-SVN: r35423

23 years agoDaily bump.
Jeff Law [Wed, 2 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35422

23 years agocppexp.c, [...]: Do not use 'legal' or 'illegal' in error messages and comments.
Zack Weinberg [Wed, 2 Aug 2000 07:08:49 +0000 (07:08 +0000)]
cppexp.c, [...]: Do not use 'legal' or 'illegal' in error messages and comments.

* 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.

From-SVN: r35421

23 years agobeos-elf.h (STARTFILE_SPEC): Add i386-mcount.o when user gives -p option.
Fred Fish [Wed, 2 Aug 2000 07:04:33 +0000 (07:04 +0000)]
beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o when user gives -p option.

        * 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.

From-SVN: r35420

23 years agoMakefile.in (OBJS): Added dce.o.
Jeffrey Oldham [Wed, 2 Aug 2000 04:21:27 +0000 (04:21 +0000)]
Makefile.in (OBJS): Added dce.o.

* 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.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r35419

23 years ago[multiple changes]
Bryce McKinlay [Wed, 2 Aug 2000 03:25:13 +0000 (04:25 +0100)]
[multiple changes]

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.

From-SVN: r35418

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

From-SVN: r35417

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

From-SVN: r35416