platform/upstream/gcc.git
24 years agoia64.c (ia64_encode_section_info): Handle the case where this function is called...
Andrew Haley [Tue, 2 May 2000 13:50:25 +0000 (13:50 +0000)]
ia64.c (ia64_encode_section_info): Handle the case where this function is called for the second time on a decl...

2000-05-02  Andrew Haley  <aph@cygnus.com>

        * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
        where this function is called for the second time on a decl that
        has had its section info changed in such a way as to move it out
        of small data/bss.
        * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.

From-SVN: r33609

24 years agoDaily bump.
Jeff Law [Tue, 2 May 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33608

24 years ago2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
Vadim Egorov [Tue, 2 May 2000 07:11:03 +0000 (07:11 +0000)]
2000-05-01  Vadim Egorov  <egorovv@@mailandnews.com>

        * bits/char_traits.h: Fix parameter types.
        * bits/string.tcc: Avoid traits_type::move.

From-SVN: r33607

24 years agoatomicity.h (__exchange_and_add): More fixes.
Benjamin Kosnik [Tue, 2 May 2000 06:45:21 +0000 (06:45 +0000)]
atomicity.h (__exchange_and_add): More fixes.

2000-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
fixes.

From-SVN: r33606

24 years agoifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before the sequence we...
Richard Henderson [Tue, 2 May 2000 06:35:22 +0000 (23:35 -0700)]
ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before the sequence we're moving...

        * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
        the sequence we're moving, not to merge_bb->head.

From-SVN: r33605

24 years ago* tree.c (walk_tree): Set lineno.
Jason Merrill [Tue, 2 May 2000 05:25:27 +0000 (01:25 -0400)]
* tree.c (walk_tree): Set lineno.

From-SVN: r33604

24 years ago2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
Vadim Egorov [Tue, 2 May 2000 04:50:23 +0000 (04:50 +0000)]
2000-05-01  Vadim Egorov  <egorovv@@mailandnews.com>

        * bits/char_traits.h: Fix parameter types.
        * bits/string.tcc: Avoid traits_type::move.

From-SVN: r33603

24 years agore GNATS gcj/195: (gcj fail on code to implement an inner interface.)
Alexandre Petit-Bianco [Tue, 2 May 2000 04:49:51 +0000 (21:49 -0700)]
re GNATS gcj/195: (gcj fail on code to implement an inner interface.)

(This trying to counter the effect of the PR 195 check in -- this should
 be right now.)

From-SVN: r33602

24 years agoexception.cc: Update license notice.
Mark Mitchell [Tue, 2 May 2000 01:25:15 +0000 (01:25 +0000)]
exception.cc: Update license notice.

* exception.cc: Update license notice.
* new.cc: Likewise.
* new1.cc: Likewise.
* new2.cc: Likewise.
* tinfo.cc: Likewise.
* tinfo2.cc: Likewise.
* vec.cc: Likewise.
* inc/cxxabi.h: Likewise.
* inc/exception: Likewise.
* inc/new: Likewise.
* inc/new.h: Likewise.
* inc/typeinfo: Likewise.

From-SVN: r33601

24 years agoconfig.if: Tweak.
Benjamin Kosnik [Tue, 2 May 2000 00:51:59 +0000 (00:51 +0000)]
config.if: Tweak.

2000-05-01  Benjamin Kosnik  <bkoz@cygnus.com>

* config.if: Tweak.

From-SVN: r33600

24 years agolocale_facets.h: Fix syntax error.
Steven King [Tue, 2 May 2000 00:27:21 +0000 (00:27 +0000)]
locale_facets.h: Fix syntax error.

2000-04-30  Steven King <sxking@uswest.net>

        * bits/locale_facets.h: Fix syntax  error.
        * bits/std_fstream.h: ditto

From-SVN: r33599

24 years agoconfigure.in (alpha*-*-linux-gnulibc1*): Remove reference to alpha/t-linux.
Richard Henderson [Tue, 2 May 2000 00:15:28 +0000 (17:15 -0700)]
configure.in (alpha*-*-linux-gnulibc1*): Remove reference to alpha/t-linux.

        * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
        reference to alpha/t-linux.
        (alpha*-*-linux-gnu*): Likewise.
        * configure: Rebuild.

From-SVN: r33598

24 years agoflow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in SSA form.
Richard Henderson [Tue, 2 May 2000 00:02:24 +0000 (17:02 -0700)]
flow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in SSA form.

        * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
        if not in SSA form.

From-SVN: r33597

24 years ago* calls.c (expand_call): Don't emit reg notes for a sibcall.
Richard Henderson [Mon, 1 May 2000 23:59:00 +0000 (16:59 -0700)]
* calls.c (expand_call): Don't emit reg notes for a sibcall.

From-SVN: r33596

24 years agotree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just return it.
Jason Merrill [Mon, 1 May 2000 23:51:37 +0000 (23:51 +0000)]
tree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just return it.

        * tree.c (build_target_expr_with_type): If we already have a
        TARGET_EXPR, just return it.

        * optimize.c (initialize_inlined_parameters): Don't generate an
        EXPR_STMT if we can just use DECL_INITIAL.
        * decl.c (emit_local_var): Only make the initialization a
        full-expression if stmts_are_full_exprs_p.

From-SVN: r33595

24 years agoMakefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
Benjamin Kosnik [Mon, 1 May 2000 23:47:31 +0000 (23:47 +0000)]
Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.

2000-05-01  Benjamin Kosnik  <bkoz@haight.constant.com>

* src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.

From-SVN: r33593

24 years ago(The patch contained impurities -- this should fix the situation.)
Alexandre Petit-Bianco [Mon, 1 May 2000 22:32:20 +0000 (15:32 -0700)]
(The patch contained impurities -- this should fix the situation.)

From-SVN: r33591

24 years ago* ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
Richard Henderson [Mon, 1 May 2000 22:25:54 +0000 (15:25 -0700)]
* ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.

From-SVN: r33590

24 years agointegrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE.
Jason Merrill [Mon, 1 May 2000 21:49:37 +0000 (21:49 +0000)]
integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE.

        * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
        TREE_THIS_VOLATILE.

From-SVN: r33589

24 years agore GNATS gcj/195: (gcj fail on code to implement an inner interface.)
Alexandre Petit-Bianco [Mon, 1 May 2000 21:46:29 +0000 (14:46 -0700)]
re GNATS gcj/195: (gcj fail on code to implement an inner interface.)

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

        * parse.y (register_incomplete_type): Handle JDEP_ANONYMOUS.

(This is a fix for the Java PR #195:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00009.html)

From-SVN: r33588

24 years agoMakefile.am (GCJCOMPILE, [...]): Move -L option out of FLAGS.
Jakub Jelinek [Mon, 1 May 2000 21:36:39 +0000 (23:36 +0200)]
Makefile.am (GCJCOMPILE, [...]): Move -L option out of FLAGS.

2000-04-28  Jakub Jelinek  <jakub@redhat.com>

* Makefile.am (GCJCOMPILE, JCFLAGS, JF1CLAGS, jv_convert_LINK,
gij_LINK, libgcj.zip, .java=.class): Move -L option out of FLAGS.
(libgcj_la_LDFLAGS): Add -L../libstdc++ for in-gcc builds.
(jv_convert_LDFLAGS, gij_LDFLAGS): Add `pwd`/../libstdc++ to
-rpath for in-gcc builds.
* Makefile.in: Rebuilt.

From-SVN: r33587

24 years agoMakefile.am (SUBDIRS): Define.
Jakub Jelinek [Mon, 1 May 2000 21:35:35 +0000 (23:35 +0200)]
Makefile.am (SUBDIRS): Define.

2000-04-28  Jakub Jelinek  <jakub@redhat.com>

* Makefile.am (SUBDIRS): Define.
(AM_MAKEFLAGS): Likewise.
(Multilib support.): Add section.
* Makefile.in: Rebuilt.
* ltconfig (extra_compiler_flags, extra_compiler_flags_value):
        New variables. Set for gcc using -print-multi-lib. Export them
        to libtool.
        (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
        * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
        for -shared links.
        (extra_compiler_flags_value, extra_compiler_flags): Check these
        for extra compiler options which need to be passed down in
        compiler_flags.

From-SVN: r33586

24 years agoifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.
Richard Henderson [Mon, 1 May 2000 21:21:44 +0000 (14:21 -0700)]
ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.

        * ifcvt.c (noce_emit_cmove): Conditionally compile call to
        emit_conditional_move.

From-SVN: r33585

24 years agoChange dynamic linker name to conform to current glibc. From Jakub Jelinek.
Jakub Jelinek [Mon, 1 May 2000 20:23:37 +0000 (22:23 +0200)]
Change dynamic linker name to conform to current glibc.  From Jakub Jelinek.

* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
as the dynamic linker.

From-SVN: r33584

24 years agocppfiles.c (open_include_file): Open file in blocking mode.
Zack Weinberg [Mon, 1 May 2000 20:05:11 +0000 (20:05 +0000)]
cppfiles.c (open_include_file): Open file in blocking mode.

* cppfiles.c (open_include_file): Open file in blocking mode.
(read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
Only exclude block devices and directories.

From-SVN: r33583

24 years agoOops, forgot to commit this with the last change
Zack Weinberg [Mon, 1 May 2000 18:23:07 +0000 (18:23 +0000)]
Oops, forgot to commit this with the last change

From-SVN: r33582

24 years agocpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static.
Zack Weinberg [Mon, 1 May 2000 18:20:10 +0000 (18:20 +0000)]
cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static.

* cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
static.  Allocate the hashnode and its string in the same
block of memory.
(del_HASHNODE): Don't free h->name.
(_cpp_lookup): If there is no entry for this string, create
one, of type T_VOID.
(_cpp_lookup_slot): Delete.
* cpphash.h: Update prototypes.

* cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
not hp == NULL.
* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
node here, just fill in the value field properly.  "Delete"
entries by setting the value field to T_VOID.  Check for
hp->type == T_VOID, not hp == NULL.

* Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
* cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
hashtab.h.

From-SVN: r33581

24 years agoatomicity.h: Fix typo.
Benjamin Kosnik [Mon, 1 May 2000 18:14:03 +0000 (18:14 +0000)]
atomicity.h: Fix typo.

2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

* config/cpu/powerpc/bits/atomicity.h: Fix typo.
* mknumeric_limits (trait_name): Fix copyright notice.
* src/gen-num-limits.cc: Explicitly instantiate epsilon and
round_error data members of struct value. This works around
weak-linking issues on AIX, HPUX.

From-SVN: r33580

24 years agoUpdate copyrights.
Jeff Law [Mon, 1 May 2000 17:32:22 +0000 (11:32 -0600)]
Update copyrights.

From-SVN: r33579

24 years agoUpdate copyright.
Jeff Law [Mon, 1 May 2000 17:31:40 +0000 (11:31 -0600)]
Update copyright.

From-SVN: r33578

24 years agomn10300.c (print_operand_address): Do not add zero to SP.
Alexandre Oliva [Mon, 1 May 2000 17:28:26 +0000 (17:28 +0000)]
mn10300.c (print_operand_address): Do not add zero to SP.

* config/mn10300/mn10300.c (print_operand_address): Do not add
zero to SP.

From-SVN: r33577

24 years agoUpdate copyrights.
Jeff Law [Mon, 1 May 2000 17:24:23 +0000 (11:24 -0600)]
Update copyrights.

From-SVN: r33576

24 years agoUpdate copyright
Jeff Law [Mon, 1 May 2000 17:18:52 +0000 (11:18 -0600)]
Update copyright

From-SVN: r33575

24 years agoUpdate copyright.
Jeff Law [Mon, 1 May 2000 17:17:55 +0000 (11:17 -0600)]
Update copyright.

From-SVN: r33574

24 years agomn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes...
Alexandre Oliva [Mon, 1 May 2000 17:09:05 +0000 (17:09 +0000)]
mn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes...

* config/mn10300/mn10300.c (expand_epilogue): If SP is to be
adjusted by less than 256 bytes, use ret regardless of having any
callee-saved register to restore.

From-SVN: r33573

24 years ago* tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
Laurynas Biveinis [Mon, 1 May 2000 16:53:03 +0000 (16:53 +0000)]
* tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.

From-SVN: r33572

24 years agocp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro.
Mark Mitchell [Mon, 1 May 2000 16:51:17 +0000 (16:51 +0000)]
cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro.

* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New
macro.
* call.c (standard_conversion): Use it.
(direct_reference_binding): Likewise.
(build_over_call): Likewise.
(is_properly_derived_from): Likewise.
(compare_ics): Likewise.
* class.c (resolves_to_fixed_type_p): Likewise.
* optimize.c (declare_return_variable): Likewise.
* pt.c (is_specialization_of): Likewise.
(unify): Likewise.
* typeck.c (comp_target_parms): Likeiwse.
(build_static_cast): Likewise.
(build_reinterpret_cast): Likewise.
(build_const_cast): Likewise.
(comp_ptr_ttypes_real): Likewise.
(comp_ptr_ttypes_const): Likewise.
* typeck2.c (process_init_constructor): Likewise.

From-SVN: r33571

24 years agodjgpp.h (INT_ASM_OP): Define.
Mark Elbrecht [Mon, 1 May 2000 16:50:49 +0000 (16:50 +0000)]
djgpp.h (INT_ASM_OP): Define.

        * config/i386/djgpp.h (INT_ASM_OP): Define.
        (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
        (ASM_WEAKEN_LABEL): Define.
        (MASK_BNU210): Define.
        (SUBTARGET_SWITCHES): Define.
        (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
        (MAKE_DECL_ONE_ONLY): Define.
        (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.

From-SVN: r33570

24 years ago* i386/cygwin.h (INT_ASM_OP): Define.
Mumit Khan [Mon, 1 May 2000 16:47:22 +0000 (16:47 +0000)]
* i386/cygwin.h (INT_ASM_OP): Define.

From-SVN: r33569

24 years agoavr.c (address_cost): renamed to avr_address_cost.
Denis Chertykov [Mon, 1 May 2000 14:37:11 +0000 (14:37 +0000)]
avr.c (address_cost): renamed to avr_address_cost.

* config/avr/avr.c (address_cost): renamed to avr_address_cost.
* config/avr/avr.h (ADDRESS_COST): use avr_address_cost.

From-SVN: r33568

24 years agoavr.c (asm_file_start): output 0 as r0 and 1 as r1 in __tmp_reg__ and __zero_reg__...
Denis Chertykov [Mon, 1 May 2000 14:11:51 +0000 (14:11 +0000)]
avr.c (asm_file_start): output 0 as r0 and 1 as r1 in __tmp_reg__ and __zero_reg__ initialization.

* config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
__tmp_reg__ and __zero_reg__ initialization.

From-SVN: r33567

24 years agoNew file
Martin v. Löwis [Mon, 1 May 2000 11:15:22 +0000 (11:15 +0000)]
New file

From-SVN: r33566

24 years agoDaily bump.
Jeff Law [Mon, 1 May 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33565

24 years ago* flow.c (propagate_one_insn): Mark sets even when the insn is dead.
Richard Henderson [Mon, 1 May 2000 07:21:29 +0000 (00:21 -0700)]
* flow.c (propagate_one_insn): Mark sets even when the insn is dead.

From-SVN: r33564

24 years agoifcvt.c (noce_process_if_block): Fail the conversion if X is referenced bewteen the...
Richard Henderson [Mon, 1 May 2000 06:55:44 +0000 (23:55 -0700)]
ifcvt.c (noce_process_if_block): Fail the conversion if X is referenced bewteen the condition and the jump.

        * ifcvt.c (noce_process_if_block): Fail the conversion if X is
        referenced bewteen the condition and the jump.  Don't delete
        anything but the jump.

From-SVN: r33563

24 years agodecl.c (finish_destructor_body): Use the base destructor when destroying virtual...
Scott Snyder [Mon, 1 May 2000 06:01:33 +0000 (06:01 +0000)]
decl.c (finish_destructor_body): Use the base destructor when destroying virtual bases.

* decl.c (finish_destructor_body): Use the base destructor when
destroying virtual bases.

From-SVN: r33562

24 years agoexpr.c (cplus_expand_expr): Preserve temporaries when expanding STMT_EXPRs.
Mark Mitchell [Mon, 1 May 2000 05:50:40 +0000 (05:50 +0000)]
expr.c (cplus_expand_expr): Preserve temporaries when expanding STMT_EXPRs.

* expr.c (cplus_expand_expr): Preserve temporaries when expanding
STMT_EXPRs.
* optimize.c (struct inline_data): Add target_exprs field.
(declare_return_variable): When a function returns an aggregate,
use the variable declared in the TARGET_EXPR as the remapped
DECL_RESULT.
(expand_call_inline): Update the pending target_exprs stack.
(optimize_function): Initialize the stack.

From-SVN: r33561

24 years agobb-reorder.c (scope_def): New struct.
Jason Eckhardt [Mon, 1 May 2000 03:46:21 +0000 (03:46 +0000)]
bb-reorder.c (scope_def): New struct.

Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>

* bb-reorder.c (scope_def): New struct.
(scope_forest_info): New struct.
(struct reorder_block_def): New member "scope".
(REORDER_BLOCK_SCOPE): New macro.
(relate_bbs_with_scopes): New function and prototype.
(make_new_scope): Likewise.
(build_scope_forest): Likewise.
(remove_scope_notes): Likewise.
(insert_intra_1): Likewise.
(insert_intra_bb_scope_notes): Likewise.
(insert_inter_bb_scope_notes): Likewise.
(rebuild_scope_notes): Likewise.
(free_scope_forest_1): Likewise.
(free_scope_forest): Likewise.
(dump_scope_forest): Likewise.
(dump_scope_forest_1): Likewise.
(chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
block.
(reorder_basic_blocks): Added calls to build_scope_scope_forest
and remove_scope_notes before reordering is done. Added calls to
rebuild_scope_notes, free_scope_forest, and reorder_blocks after
after reordering is done.

From-SVN: r33560

24 years ago* decl2.c (finish_file): Fix typo in comment.
Mark Mitchell [Mon, 1 May 2000 01:43:24 +0000 (01:43 +0000)]
* decl2.c (finish_file): Fix typo in comment.

From-SVN: r33559

24 years agomknumeric_limits (trait_name): Fix copyright notice.
Benjamin Kosnik [Mon, 1 May 2000 00:14:10 +0000 (00:14 +0000)]
mknumeric_limits (trait_name): Fix copyright notice.

2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

* mknumeric_limits (trait_name): Fix copyright notice.
* src/gen-num-limits.cc: Explicitly instantiate epsilon and
round_error data members of struct value. This works around
weak-linking issues on AIX, HPUX.

From-SVN: r33558

24 years agoremoved two stale entries
Bruce Korb [Sun, 30 Apr 2000 23:59:45 +0000 (23:59 +0000)]
removed two stale entries

From-SVN: r33557

24 years agoAdded definitions needed by OSR5
Bruce Korb [Sun, 30 Apr 2000 23:30:15 +0000 (23:30 +0000)]
Added definitions needed by OSR5

From-SVN: r33556

24 years agoifcvt.c (dead_or_predicable): Manually squeeze non-movable notes from the last insn...
Richard Henderson [Sun, 30 Apr 2000 18:41:37 +0000 (11:41 -0700)]
ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes from the last insn in the sequence.

        * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
        from the last insn in the sequence.

From-SVN: r33555

24 years ago* method.c (emit_thunk): Don't try to return a `void' value.
Mark Mitchell [Sun, 30 Apr 2000 18:03:36 +0000 (18:03 +0000)]
* method.c (emit_thunk): Don't try to return a `void' value.

From-SVN: r33554

24 years agooptimize.c (initialize_inlined_parameters): If the parameter is addressable...
Mark Mitchell [Sun, 30 Apr 2000 18:02:10 +0000 (18:02 +0000)]
optimize.c (initialize_inlined_parameters): If the parameter is addressable...

* optimize.c (initialize_inlined_parameters): If the parameter is
addressable, we need to make a new VAR_DECL, even if the
initializer is constant.

From-SVN: r33553

24 years agocpplex.c (cpp_idcmp): New function.
Zack Weinberg [Sun, 30 Apr 2000 17:30:25 +0000 (17:30 +0000)]
cpplex.c (cpp_idcmp): New function.

* cpplex.c (cpp_idcmp): New function.
* cpplib.h: Prototype it.
* scan_decls.c (scan_decls): Use it to inspect token names.
* fix-header.c (read_scan_file): Likewise.  Set system_header_p on
the file being run through the preprocessor.
(check_macro_names): Provide length of token to cpp_defined.

* Makefile.in: Remove stale warning message.

From-SVN: r33552

24 years agocppfiles.c (redundant_include_p): Provide length of token to cpp_defined.
Zack Weinberg [Sun, 30 Apr 2000 17:11:25 +0000 (17:11 +0000)]
cppfiles.c (redundant_include_p): Provide length of token to cpp_defined.

* cppfiles.c (redundant_include_p): Provide length of token to
cpp_defined.
* cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
values are unsigned int.
(_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
(_cpp_lookup_slot): Do not calculate the hash, either.
* cpphash.h: Update prototypes.
* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
Hashes are unsigned int.  Calculate hash here, pass by value
to _cpp_lookup_slot.

From-SVN: r33551

24 years agomkcheck.in: Rely on exit status instead of the presence of a core file.
Benjamin Kosnik [Sun, 30 Apr 2000 16:12:56 +0000 (16:12 +0000)]
mkcheck.in: Rely on exit status instead of the presence of a core file.

2000-04-28  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Rely on exit status instead of the presence of a
        core file.  Added comments on how/where to save core and exe
        files.  Move shell wildcards outside quotes and fix core path.

From-SVN: r33550

24 years agoFix memory corruption bug
Bernd Schmidt [Sun, 30 Apr 2000 13:37:15 +0000 (13:37 +0000)]
Fix memory corruption bug

From-SVN: r33549

24 years agod30v: New port.
Richard Henderson [Sun, 30 Apr 2000 11:17:13 +0000 (04:17 -0700)]
d30v: New port.

        * config/d30v: New port.

        * configure.in (d30v-*): Set fp format.
        * configure: Rebuild.

From-SVN: r33548

24 years agoifcvt.c: New file.
Richard Henderson [Sun, 30 Apr 2000 11:01:53 +0000 (04:01 -0700)]
ifcvt.c: New file.

        * ifcvt.c: New file.
        * Makefile.in (OBJS): Add it.
        (ifcvt.o): New target.
        * jump.c (jump_optimize_1): Remove all code related to if-conversion,
        and conditional arithmetic.
        (find_insert_position): Remove.
        * timevar.def (TV_IFCVT, TV_IFCVT2): New.
        * toplev.c (DFI_ce, DFI_ce2): New.
        (dump_file): Add ce and ce2 dumps.
        (rest_of_compilation): Run if_convert a couple o times.  Set
        cse_not_expected after cse2.  Don't set no_new_pseudos until
        after sched1 or recompute_reg_usage.

From-SVN: r33547

24 years agot-crtbe (crtbegin.o): Add "-I.".
Richard Henderson [Sun, 30 Apr 2000 10:56:21 +0000 (03:56 -0700)]
t-crtbe (crtbegin.o): Add "-I.".

        * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
        (crtend.o, crtbeginS.o, crtendS.o): Likewise.

From-SVN: r33546

24 years agoRemove ifnottex block confusing makeinfo 3.12.
Richard Henderson [Sun, 30 Apr 2000 10:50:57 +0000 (03:50 -0700)]
Remove ifnottex block confusing makeinfo 3.12.

From-SVN: r33545

24 years agoflow.c (struct reg_cond_life_info): New.
Richard Henderson [Sun, 30 Apr 2000 10:37:57 +0000 (03:37 -0700)]
flow.c (struct reg_cond_life_info): New.

        * flow.c (struct reg_cond_life_info): New.
        (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
        (init_propagate_block_info): Initialize them.
        (free_propagate_block_info): Destruct them.
        (mark_set_1): Consider conditional life before killing a register.
        (mark_regno_cond_dead): New.
        (free_reg_cond_life_info): New.
        (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
        (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
        (mark_used_reg): Record conditional life.

        * haifa-sched.c (schedule_insns): Disable death counting
        sanity check for HAVE_conditional_execution.

From-SVN: r33544

24 years agoMakefile.in (TIMEVAR_H): New.
Richard Henderson [Sun, 30 Apr 2000 10:31:01 +0000 (03:31 -0700)]
Makefile.in (TIMEVAR_H): New.

        * Makefile.in (TIMEVAR_H): New.
        (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
        (timevar.h): Remove rule.

From-SVN: r33543

24 years agoMissed last config/alpha update.
Richard Henderson [Sun, 30 Apr 2000 10:15:05 +0000 (03:15 -0700)]
Missed last config/alpha update.

From-SVN: r33540

24 years agoDaily bump.
Jeff Law [Sun, 30 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33539

24 years agocpphash.h (enum node_type): Take out T_MCONST.
Zack Weinberg [Sun, 30 Apr 2000 01:34:00 +0000 (01:34 +0000)]
cpphash.h (enum node_type): Take out T_MCONST.

* cpphash.h (enum node_type: Take out T_MCONST.
(union hashval): Move into struct hashnode.
(struct hashnode): Pack tighter.  Remove file, line, col
members.
* cpphash.c: Constify most of the macro-definition structures.
(struct definition): Replace by struct object_defn
and struct funct_defn.  Put file, line, column information
here.  All users updated to match.
(_cpp_create_definition, _cpp_macroexpand): Remove special
case for #define WORD OTHERWORD.
* cpplib.c (do_undef): Remove T_MCONST case.

From-SVN: r33538

24 years agocrtend.asm: Use C comments instead of #.
Richard Henderson [Sat, 29 Apr 2000 21:12:45 +0000 (14:12 -0700)]
crtend.asm: Use C comments instead of #.

        * config/alpha/crtend.asm: Use C comments instead of #.
        * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.

        * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.

From-SVN: r33537

24 years agocpphash.h: Move struct reflist, struct definition, and the DEFINITION typedef to...
Zack Weinberg [Sat, 29 Apr 2000 20:58:12 +0000 (20:58 +0000)]
cpphash.h: Move struct reflist, struct definition, and the DEFINITION typedef to cpphash.c.

* cpphash.h: Move struct reflist, struct definition, and the
DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
union hashval.  _cpp_free_definition takes a HASHNODE pointer.
* cpphash.c (_cpp_free_definition): Free data pointed to by
MCONST, XCONST, MACRO, and FMACRO nodes properly.
(_cpp_create_definition, del_HASHNODE): Just call
_cpp_free_definition to clear out a hashnode.
* cpplib.c (do_pragma_poison): Likewise.

From-SVN: r33536

24 years agodownload.html: Add link to list of mirror sites.
Phil Edwards [Sat, 29 Apr 2000 20:41:19 +0000 (20:41 +0000)]
download.html: Add link to list of mirror sites.

2000-04-29  Phil Edwards  <pme@sourceware.cygnus.com>

* docs/download.html:  Add link to list of mirror sites.

From-SVN: r33535

24 years agomn10300.h (FIRST_DATA_REGNUM, [...]): New macros.
Alexandre Oliva [Sat, 29 Apr 2000 15:28:42 +0000 (15:28 +0000)]
mn10300.h (FIRST_DATA_REGNUM, [...]): New macros.

* config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
(REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
(REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
REGNO_AM33_P): Redefine in terms of the new macros.
(CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
(FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
STRUCT_VALUE): Likewise.
(STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.

From-SVN: r33534

24 years agoMakefile.in (maintainer-clean-subdir): Fix handling of empty SUBDIRS.
Alexandre Oliva [Sat, 29 Apr 2000 14:25:12 +0000 (14:25 +0000)]
Makefile.in (maintainer-clean-subdir): Fix handling of empty SUBDIRS.

* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.

From-SVN: r33533

24 years agoDaily bump.
Jeff Law [Sat, 29 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33532

24 years agorevert
Jason Merrill [Sat, 29 Apr 2000 00:17:06 +0000 (20:17 -0400)]
revert

From-SVN: r33531

24 years agoregmove.c (struct record_stack_memrefs_data): New.
Jan Hubicka [Fri, 28 Apr 2000 23:27:40 +0000 (23:27 +0000)]
regmove.c (struct record_stack_memrefs_data): New.

* regmove.c (struct record_stack_memrefs_data): New.
(record_stack_memrefs): New function.
(combine_stack_adjustments_for_block): Use it.

From-SVN: r33529

24 years agocalls.c (calls_function_1): Propertly handle TREE_LIST expressions; use special_funct...
Jan Hubicka [Fri, 28 Apr 2000 23:17:41 +0000 (23:17 +0000)]
calls.c (calls_function_1): Propertly handle TREE_LIST expressions; use special_function_p to detect alloca.

* calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
use special_function_p to detect alloca.

From-SVN: r33528

24 years ago* gcc.texi: Fixes for makeinfo 4.0 --html.
Marc Espie [Fri, 28 Apr 2000 22:31:40 +0000 (22:31 +0000)]
* gcc.texi: Fixes for makeinfo 4.0 --html.

From-SVN: r33526

24 years ago* libiberty/cplus-dem.c
Kenneth Block [Fri, 28 Apr 2000 22:22:22 +0000 (22:22 +0000)]
* libiberty/cplus-dem.c
        (libiberty_demanglers): new table for demangle styles
        (cplus_demangle_set_style): New function for setting style
        (cplus_demangle_name_to_style): New function to translate name
        * include/demangle.h
        (libiberty_demanglers): new table for different styles
        (cplus_demangle_set_style): New function for setting style
        (cplus_demangle_name_to_style): New function to translate name

Co-Authored-By: Jason Merrill <jason@casey.cygnus.com>
From-SVN: r33525

24 years ago* decl.c (grok_op_properties): Add an extra check of argtypes.
Cosmin Truta [Fri, 28 Apr 2000 22:10:24 +0000 (01:10 +0300)]
* decl.c (grok_op_properties): Add an extra check of argtypes.

From-SVN: r33524

24 years agoindex-prop: Use a single pattern.
Jason Merrill [Fri, 28 Apr 2000 22:06:30 +0000 (18:06 -0400)]
index-prop: Use a single pattern.

        * index-prop: Use a single pattern.  Also support *** cdiffs.

        * index-prop: Don't change /dev/null.

From-SVN: r33523

24 years agopcp.h: Delete file.
Zack Weinberg [Fri, 28 Apr 2000 22:03:48 +0000 (22:03 +0000)]
pcp.h: Delete file.

* pcp.h: Delete file.
* po/POTFILES.in: Update.

From-SVN: r33522

24 years agoh8300.c (function_epilogue): Clean up flags when the last insn in a function is a...
Kazu Hirata [Fri, 28 Apr 2000 21:51:42 +0000 (21:51 +0000)]
h8300.c (function_epilogue): Clean up flags when the last insn in a function is a barrier.

        * h8300.c (function_epilogue): Clean up flags when the last insn
        in a function is a barrier.

From-SVN: r33521

24 years agoconfigure.in (sparc-hal-solaris2*): protect [] glob from my expansion.
Chris Demetriou [Fri, 28 Apr 2000 21:46:33 +0000 (21:46 +0000)]
configure.in (sparc-hal-solaris2*): protect [] glob from my expansion.

        * configure.in (sparc-hal-solaris2*): protect [] glob from
        my expansion.
        (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
        rather than hard-coded constants in target_cpu_default2.
        * configure: Regenerate.

From-SVN: r33520

24 years agotree.c (get_callee_fndecl): Extract the initial value from a readonly decl.
Jason Merrill [Fri, 28 Apr 2000 20:52:31 +0000 (20:52 +0000)]
tree.c (get_callee_fndecl): Extract the initial value from a readonly decl.

        * tree.c (get_callee_fndecl): Extract the initial value from
        a readonly decl.

        * cp/optimize.c (initialize_inlined_parameters): Call
        c_apply_type_quals_to_decl.  Set DECL_INITIAL.

From-SVN: r33518

24 years agovarasm.c (record_constant_1): Record the CODE_LABEL when taking the address of a...
Richard Henderson [Fri, 28 Apr 2000 20:25:38 +0000 (13:25 -0700)]
varasm.c (record_constant_1): Record the CODE_LABEL when taking the address of a LABEL_REF.

        * varasm.c (record_constant_1): Record the CODE_LABEL when
        taking the address of a LABEL_REF.

From-SVN: r33517

24 years agocalls.c (combine_pending_stack_adjustment_and_call): Return the adjustment; don't...
Richard Henderson [Fri, 28 Apr 2000 18:25:23 +0000 (11:25 -0700)]
calls.c (combine_pending_stack_adjustment_and_call): Return the adjustment; don't do the stack adjust.

        * calls.c (combine_pending_stack_adjustment_and_call): Return the
        adjustment; don't do the stack adjust.
        (expand_call): Call compute_argument_block_size right before
        allocating the block; update comment; don't do alignment sanity
        checking for sibling call; use args_size instead of
        unadjusted_args_size before args_size is adjusted.  Use
        combine_pending_stack_adjustment_and_call to compute stack adjust
        for must_preallocate case.

        * expr.c (push_block): Remove shadow `temp' in inner scope.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r33516

24 years agotoplev.c (rest_of_compilation): Call note_deferral_of_defined_inline_function even...
Jason Merrill [Fri, 28 Apr 2000 18:22:33 +0000 (14:22 -0400)]
toplev.c (rest_of_compilation): Call note_deferral_of_defined_inline_function even if the function can't be inlined.

        * toplev.c (rest_of_compilation): Call
        note_deferral_of_defined_inline_function even if the function
        can't be inlined.

From-SVN: r33515

24 years agocpplex.c (_cpp_scan_line): Fix buffer overwrite.
Scott Bambrough [Fri, 28 Apr 2000 18:17:54 +0000 (18:17 +0000)]
cpplex.c (_cpp_scan_line): Fix buffer overwrite.

2000-04-28  Scott Bambrough  <scottb@netwinder.org>

* cpplex.c (_cpp_scan_line): Fix buffer overwrite.

From-SVN: r33514

24 years ago* toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
Richard Henderson [Fri, 28 Apr 2000 18:05:39 +0000 (11:05 -0700)]
* toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.

From-SVN: r33513

24 years agoRemoved mistakenly-committed ChangeLog entry
Tom Tromey [Fri, 28 Apr 2000 16:29:30 +0000 (16:29 +0000)]
Removed mistakenly-committed ChangeLog entry

From-SVN: r33512

24 years agore GNATS gcj/218 (Java executables can abort trying to access a null pointer in a...
Tom Tromey [Fri, 28 Apr 2000 16:11:56 +0000 (16:11 +0000)]
re GNATS gcj/218 (Java executables can abort trying to access a null pointer in a leaf function)

* libgcj.spec.in (*jc1): Added -fasynchronous-exceptions.
Fix for PR gcj/218.

From-SVN: r33511

24 years ago* timevar.c (init_timevar): DeANSIfy function definition.
Kaveh R. Ghazi [Fri, 28 Apr 2000 13:51:55 +0000 (13:51 +0000)]
* timevar.c (init_timevar): DeANSIfy function definition.

From-SVN: r33509

24 years agoString.java (toString): Remove `final' hack.
Bryce McKinlay [Fri, 28 Apr 2000 07:56:34 +0000 (07:56 +0000)]
String.java (toString): Remove `final' hack.

2000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>

* libjava/java/lang/String.java (toString): Remove `final' hack.

From-SVN: r33508

24 years agoDaily bump.
Jeff Law [Fri, 28 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33507

24 years agoTest for PR gcj/218:
Bryce McKinlay [Fri, 28 Apr 2000 07:42:27 +0000 (07:42 +0000)]
Test for PR gcj/218:

2000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>

Test for PR gcj/218:
* libjava.lang/PR218.java: New file.
* libjava.lang/PR218.out: New file.

From-SVN: r33506

24 years agooptimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying variables.
Mark Mitchell [Fri, 28 Apr 2000 06:40:28 +0000 (06:40 +0000)]
optimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying variables.

* optimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying
variables.
(initialize_inlined_parameters): Try to avoid creating new
VAR_DECLs.

From-SVN: r33505

24 years agoMakefile.in (timevar.o): Depend on flags.h.
Alex Samuel [Fri, 28 Apr 2000 06:18:14 +0000 (06:18 +0000)]
Makefile.in (timevar.o): Depend on flags.h.

* Makefile.in (timevar.o): Depend on flags.h.
* timevar.c (unused_stack_instances): New variable.
(timevar_push): Take a timevar_stack_def from
unused_stack_instances if available.
(timevar_pop): Push the popped timevar_stack_def onto
unused_stack_instances.
(TIMEVAR_ENABLE): New macro.
(timevar_def): Make standalone a 1-bit field.  Add field used.
(get_time): Rename parameter to now.  Return after clearing it if
not TIMEVAR_ENABLE.
(init_timevar): Do nothing if not TIMEVAR_ENABLE.
(timevar_pop): Likewise.
(timevar_stop): Likewise.
(timevar_push): Likewise.  Mark the timing variable as used.
(timevar_start): Likewise.
(timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
timevars that were never used.

From-SVN: r33504

24 years agobasic_string.h: include <bits/atomicity.h> instead of <atomicity.h>, and use the...
Nathan C. Myers [Fri, 28 Apr 2000 03:00:58 +0000 (03:00 +0000)]
basic_string.h: include <bits/atomicity.h> instead of <atomicity.h>, and use the uglified names.

2000-04-26  Nathan C. Myers  <ncm@cantrip.org>

* bits/basic_string.h: include <bits/atomicity.h> instead
        of <atomicity.h>, and use the uglified names.
        * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
        uglify names, eliminate dependence on <inttypes.h>.
        * src/Makefile.in, src/Makefile.am: refer to correct place
        for atomicity.h header.

From-SVN: r33503

24 years agomisc-inst.cc: Explicitly instantiate ifstream and ofstream classes.
Scott Snyder [Fri, 28 Apr 2000 02:53:12 +0000 (02:53 +0000)]
misc-inst.cc: Explicitly instantiate ifstream and ofstream classes.

2000-04-27  scott snyder  <snyder@fnal.gov>

        * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
        classes.

From-SVN: r33502