platform/upstream/gcc.git
24 years agoAdd strncmp.c to list of CFILES and strncmp to the NEEDED list
Nick Clifton [Tue, 9 May 2000 01:23:33 +0000 (01:23 +0000)]
Add strncmp.c to list of CFILES and strncmp to the NEEDED list

From-SVN: r33785

24 years agochar_traits.h: use wchar_t utility functions for char_traits<wchar_t> methods.
Benjamin Kosnik [Tue, 9 May 2000 01:16:34 +0000 (01:16 +0000)]
char_traits.h: use wchar_t utility functions for char_traits<wchar_t> methods.

2000-05-08  Steven King  <sxking@uswest.net>

        * bits/char_traits.h: use wchar_t utility functions for
        char_traits<wchar_t> methods.
        * testsuite/21_string/char_traits.cc: New (test02): test
        char_traits<wchar_t>

From-SVN: r33784

24 years ago2000-0508 Steven King <sxking@uswest.net>
Steven King [Tue, 9 May 2000 01:15:14 +0000 (01:15 +0000)]
2000-0508  Steven King  <sxking@uswest.net>

        * bits/char_traits.h: use wchar_t utility functions for
        char_traits<wchar_t> methods.
        * testsuite/21_string/char_traits.cc: New (test02): test
        char_traits<wchar_t>

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

* acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.

From-SVN: r33783

24 years agoFix typo spotted by grahams.
Jim Wilson [Tue, 9 May 2000 00:17:57 +0000 (00:17 +0000)]
Fix typo spotted by grahams.

* config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.

From-SVN: r33782

24 years agogensupport.c (process_rtx): Copy and post-process each member of the define_insn...
Richard Henderson [Mon, 8 May 2000 23:33:23 +0000 (16:33 -0700)]
gensupport.c (process_rtx): Copy and post-process each member of the define_insn rtvec individually.

        * gensupport.c (process_rtx): Copy and post-process each member
        of the define_insn rtvec individually.

From-SVN: r33780

24 years agoia64.md (extendsfdf2): Split the nop case out of existance.
Richard Henderson [Mon, 8 May 2000 23:30:40 +0000 (16:30 -0700)]
ia64.md (extendsfdf2): Split the nop case out of existance.

        * config/ia64/ia64.md (extendsfdf2): Split the nop case out
        of existance.

From-SVN: r33779

24 years ago* config/ia64/ia64.h (predicate_operator): Declare.
Richard Henderson [Mon, 8 May 2000 23:30:25 +0000 (16:30 -0700)]
* config/ia64/ia64.h (predicate_operator): Declare.

From-SVN: r33778

24 years agocpplex.c (spell_token): New function.
Neil Booth [Mon, 8 May 2000 22:22:49 +0000 (22:22 +0000)]
cpplex.c (spell_token): New function.

* cpplex.c (spell_token): New function.
  (TOKEN_LEN): Add 1 for whitespace.
  (_cpp_lex_file): Update to use spell_token.
* cpplib.h (E): Remove.
(TTYPE_TABLE): Update CPP_VSPACE entry.

From-SVN: r33777

24 years agoia64.c (ia64_encode_section_info): Exit early for global register variables...
Richard Henderson [Mon, 8 May 2000 22:08:25 +0000 (15:08 -0700)]
ia64.c (ia64_encode_section_info): Exit early for global register variables...

        * config/ia64/ia64.c (ia64_encode_section_info): Exit early
        for global register variables; don't special case __[CD]TOR_LIST__;
        mind ggc_p for string allocation.

From-SVN: r33776

24 years agoflow.c (init_propagate_block_info): Watch out for conditional branch to next instruct...
Richard Henderson [Mon, 8 May 2000 22:04:39 +0000 (15:04 -0700)]
flow.c (init_propagate_block_info): Watch out for conditional branch to next instruction, and thus one outgoing edge.

        * flow.c (init_propagate_block_info): Watch out for conditional
        branch to next instruction, and thus one outgoing edge.

From-SVN: r33775

24 years ago* gcc_update: Remove references to inclhack.tpl.
Richard Henderson [Mon, 8 May 2000 22:03:13 +0000 (15:03 -0700)]
* gcc_update: Remove references to inclhack.tpl.

From-SVN: r33774

24 years agotinfo.cc (__dynamic_cast): Use a reinterpret_cast.
Nathan Sidwell [Mon, 8 May 2000 20:52:32 +0000 (20:52 +0000)]
tinfo.cc (__dynamic_cast): Use a reinterpret_cast.

* tinfo.cc (__dynamic_cast): Use a reinterpret_cast. Fix
offsetof expansion.

* inc/cxxabi.h:  Fix typos in comment.
(__base_class_info::__offset): Use a static_cast.

From-SVN: r33773

24 years agoRemove dependencies on dead files
Bruce Korb [Mon, 8 May 2000 18:49:24 +0000 (18:49 +0000)]
Remove dependencies on dead files

From-SVN: r33772

24 years agodisable fixincludes for -*-msdosdjgpp* |
Bruce Korb [Mon, 8 May 2000 18:39:55 +0000 (18:39 +0000)]
disable fixincludes for -*-msdosdjgpp* |

From-SVN: r33771

24 years agocomplex_io.cc: Don't instantiate inserters and extractors for wide-character streams...
Branko Cibej [Mon, 8 May 2000 18:32:58 +0000 (20:32 +0200)]
complex_io.cc: Don't instantiate inserters and extractors for wide-character streams unless...

2000-05-04  Branko Cibej  <branko.cibej@hermes.si>

        * src/complex_io.cc: Don't instantiate inserters and extractors
        for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.

From-SVN: r33770

24 years agoFix comment describing ELIMINABLE_REGS
Nick Clifton [Mon, 8 May 2000 17:46:10 +0000 (17:46 +0000)]
Fix comment describing ELIMINABLE_REGS

From-SVN: r33769

24 years agofstream.tcc (filebuf::_M_init_filebuf): Don't set _M_buf_size based on macro, instead...
Benjamin Kosnik [Mon, 8 May 2000 17:23:37 +0000 (17:23 +0000)]
fstream.tcc (filebuf::_M_init_filebuf): Don't set _M_buf_size based on macro, instead use _M_buf_size_opt.

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

* bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
_M_buf_size based on macro, instead use _M_buf_size_opt.
* bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
(basic_streambuf()): Set _M_buf_size_opt.
* testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
instead of _M_buf_size.

From-SVN: r33768

24 years agoNew test.
Catherine Moore [Mon, 8 May 2000 14:55:42 +0000 (14:55 +0000)]
New test.

From-SVN: r33767

24 years agocode generation reduction & sco script removal
Bruce Korb [Mon, 8 May 2000 13:06:47 +0000 (13:06 +0000)]
code generation reduction & sco script removal

From-SVN: r33766

24 years agono longer needed
Bruce Korb [Mon, 8 May 2000 13:05:16 +0000 (13:05 +0000)]
no longer needed

From-SVN: r33765

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

From-SVN: r33764

24 years agolinux.h: Remove undefines which disabled .ctor/.dtor support.
Andreas Jaeger [Mon, 8 May 2000 07:18:04 +0000 (09:18 +0200)]
linux.h: Remove undefines which disabled .ctor/.dtor support.

2000-05-08  Andreas Jaeger  <aj@suse.de>

* config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
support.

From-SVN: r33763

24 years agoTest for PR gcj/224:
Bryce McKinlay [Mon, 8 May 2000 06:37:54 +0000 (06:37 +0000)]
Test for PR gcj/224:

2000-05-08  Bryce McKinlay  <bryce@albatross.co.nz>

Test for PR gcj/224:
* libjava.compile/PR224.java: New file.
* libjava.compile/PR224.xfail: New file.

From-SVN: r33762

24 years agoMakefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed substitutions.
Zack Weinberg [Mon, 8 May 2000 00:09:09 +0000 (00:09 +0000)]
Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed substitutions.

* Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
substitutions.

From-SVN: r33761

24 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 7 May 2000 16:02:00 +0000 (16:02 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (LIBLINK): New macro.
(libgcj_la_LINK): Use it.
(libgcjawt_la_LINK): Likewise.

From-SVN: r33760

24 years agocxxabi.h: Use __SIZE_TYPE_ and __PTRDIFF_TYPE__ in place of std::size_t and...
Nathan Sidwell [Sun, 7 May 2000 09:40:34 +0000 (09:40 +0000)]
cxxabi.h: Use __SIZE_TYPE_ and __PTRDIFF_TYPE__ in place of std::size_t and...

* inc/cxxabi.h: Use __SIZE_TYPE_ and __PTRDIFF_TYPE__ in place
of std::size_t and std::ptrdiff_t respectively.
* tinfo.cc: Likewise.
* vec.cc: Likewise.

From-SVN: r33759

24 years agocpplex.c: Move new lexer definitions and prototypes to top.
Neil Booth [Sun, 7 May 2000 08:49:08 +0000 (08:49 +0000)]
cpplex.c: Move new lexer definitions and prototypes to top.

* cpplex.c: Move new lexer definitions and prototypes
to top.  Conditional include these and the code if
NEW_LEXER is defined.  Rename functions whose names
clash if this code included.

From-SVN: r33758

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

From-SVN: r33757

24 years agortl.def (COND_EXEC): Clarify.
John Wehle [Sun, 7 May 2000 05:09:46 +0000 (05:09 +0000)]
rtl.def (COND_EXEC): Clarify.

* rtl.def (COND_EXEC): Clarify.

* i386.md (extendsidi2): Clobber (reg:CC 17) in the
same fashion as zero_extendsidi2.

From-SVN: r33756

24 years agoMAINTAINERS: Add self as bb-reorder maintainer.
Jason Eckhardt [Sun, 7 May 2000 02:09:42 +0000 (02:09 +0000)]
MAINTAINERS: Add self as bb-reorder maintainer.

Sat May  6 21:12:55 CDT 2000  Jason Eckhardt  <jle@cygnus.com>

* MAINTAINERS: Add self as bb-reorder maintainer.

From-SVN: r33755

24 years agoia64.c (predicate_operator): New.
Richard Henderson [Sun, 7 May 2000 01:56:25 +0000 (18:56 -0700)]
ia64.c (predicate_operator): New.

        * config/ia64/ia64.c (predicate_operator): New.
        (ia64_print_operand): Handle 'J'.
        (rtx_needs_barrier): Handle COND_EXEC.
        * config/ia64/ia64.h (BRANCH_COST): Define.
        (PREDICATE_CODES): Update.
        * config/ia64/ia64.md: Docuement used unspec values.
        (attr predicable): New.
        (movxf, movxf_internal): New.
        (extendsfdf2): Don't comment out nop.
        (floatdidf2): Remove.
        (truncxfsf2, truncxfdf2, floatdixf2): New.
        (abssi2, absdi2): Put the neg in the "true" slot.
        (conditional branch instructions): Mark not predicable.
        (cmov*_internal): Use predicate_operator.  Split to cond_exec.
        (abs*_internal): Likewise.
        (alloc, set_bsp): Mark not predicable.
        (barrier, insn_group_barrier, flush_cache): Likewise.
        (define_cond_exec): New.

From-SVN: r33754

24 years agoia64.c (sdata_symbolic_operand): Mark unused args.
Richard Henderson [Sun, 7 May 2000 01:46:22 +0000 (18:46 -0700)]
ia64.c (sdata_symbolic_operand): Mark unused args.

        * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
        (symbolic_operand, function_operand, setjmp_operand): Likewise.
        (shift_count_operand, shift_32bit_count_operand): Likewise.
        (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
        (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
        (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
        (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
        (ia64_expand_builtin): Likewise.
        (call_multiple_values_operation): Make dest_regno unsigned.

From-SVN: r33753

24 years agoc-decl.c: Include "tm_p.h".
Richard Henderson [Sun, 7 May 2000 01:37:07 +0000 (18:37 -0700)]
c-decl.c: Include "tm_p.h".

        * c-decl.c: Include "tm_p.h".

        * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
        (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
        (ia64_expand_op_and_fetch): Declare.
        * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
        (setjmp_operand): Constify variables for XSTR.
        (ia64_encode_section_info): Likewise.
        (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
        values to int.
        (ia64_asm_output_external): Constify name.
        (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
        (process_for_unwind_directive): Provide switch default.
        (ia64_expand_compare_and_swap): Remove unused variables.
        (ia64_expand_builtin): Likewise.
        * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
        for printing.

From-SVN: r33752

24 years agortl.def (DEFINE_COND_EXEC): New.
Richard Henderson [Sun, 7 May 2000 00:48:53 +0000 (17:48 -0700)]
rtl.def (DEFINE_COND_EXEC): New.

* rtl.def (DEFINE_COND_EXEC): New.
* md.texi: Document it.

* gensupport.c (input_file): Remove.
(struct queue_elem): Add lineno.
(rtx_ready_queue): Remove.
(errors): New.
(predicable_default): New.
(predicable_true, predicable_false): New.
(define_attr_queue, define_attr_tail): New.
(define_insn_queue, define_insn_tail): New.
(define_cond_exec_queue, define_cond_exec_tail): New.
(other_queue, other_tail): New.
(queue_pattern): New.
(process_rtx): Add patterns to the appropriate queues.
(is_predicable, identify_predicable_attribute): New.
(n_alternatives, collect_insn_data): New.
(alter_predicate_for_insn, alter_test_for_insn): New.
(shift_output_template, alter_output_for_insn): New.
(process_one_cond_exec, process_define_cond_exec): New.
(init_md_reader): Read the entire file.  Process define_cond_exec.
(read_md_rtx): Return elements from the queues.

From-SVN: r33751

24 years agoImported version 5.0alpha7.
Bryce McKinlay [Sun, 7 May 2000 00:43:49 +0000 (00:43 +0000)]
Imported version 5.0alpha7.

2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>

Imported version 5.0alpha7.
        * acinclude.m4: Update version to 5.0a7.

From-SVN: r33750

24 years agoflow.c (mark_set_1): Don't update conditional life info if the register is not_dead.
Richard Henderson [Sun, 7 May 2000 00:38:26 +0000 (17:38 -0700)]
flow.c (mark_set_1): Don't update conditional life info if the register is not_dead.

        * flow.c (mark_set_1): Don't update conditional life info
        if the register is not_dead.

From-SVN: r33749

24 years agoThis commit was generated by cvs2svn to compensate for changes in r33746,
Bryce McKinlay [Sat, 6 May 2000 23:59:01 +0000 (00:59 +0100)]
This commit was generated by cvs2svn to compensate for changes in r33746,

which included commits to RCS files with non-trunk default branches.

From-SVN: r33747

24 years agoForgot this file when checking in my last change.
Bryce McKinlay [Sat, 6 May 2000 23:32:52 +0000 (00:32 +0100)]
Forgot this file when checking in my last change.

From-SVN: r33745

24 years agoAdd imssing blank line
Richard Kenner [Sat, 6 May 2000 22:59:08 +0000 (18:59 -0400)]
Add imssing blank line

From-SVN: r33744

24 years agoMakefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
Zack Weinberg [Sat, 6 May 2000 22:34:14 +0000 (22:34 +0000)]
Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.

2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>

* Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
(mostlyclean): Also delete fixincl, fixinc.sh, and
specs.ready, and make clean in the fixinc subdir.

From-SVN: r33743

24 years agoMakefile.in (gensupport.o): Compile for the host.
Richard Henderson [Sat, 6 May 2000 22:30:13 +0000 (15:30 -0700)]
Makefile.in (gensupport.o): Compile for the host.

* Makefile.in (gensupport.o): Compile for the host.
(host-prefix gensuuprt.o): Remove.
(genflags.o): Depend on gensupport.h and OBSTACK_H.
(genattrtab.o): Likewise.
(gencodes.o): Depend on gensupport.h.
(genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
(genpeep.o, genattr.o, genoutput.o): Likewise.

* gensupport.c (obstack, rtl_obstack): New.
(init_md_reader): Initialize rtl_obstack.
* gensupport.h (rtl_obstack): Declare.
(message_with_line): Declare.

* genattr.c: Remove all traces of obstack manipulation.
* gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
* genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.

* genattrtab.c (obstack, rtl_obstack): Remove.
(main): Don't init rtl_obstack.
* genflags.c: Likewise.

* genrecog.c (message_with_line): Move ...
* gensupport.c: ... here.

From-SVN: r33742

24 years agocode-gen2.C: Cast to size_t, not int.
Richard Henderson [Sat, 6 May 2000 21:55:28 +0000 (14:55 -0700)]
code-gen2.C: Cast to size_t, not int.

          * g++.old-deja/g++.brendan/code-gen2.C: Cast to size_t, not int.
          * g++.old-deja/g++.mike/warn1.C: Likewise.
          * g++.old-deja/g++.pt/local1.C: Likewise.
          * g++.old-deja/g++.pt/local7.C: Likewise.
          * g++.old-deja/g++.pt/spec16.C: Likewise.

From-SVN: r33741

24 years agotypeck.c (build_c_cast): Don't warn integer->pointer size mismatch for constants.
Richard Henderson [Sat, 6 May 2000 21:55:07 +0000 (14:55 -0700)]
typeck.c (build_c_cast): Don't warn integer->pointer size mismatch for constants.

        * typeck.c (build_c_cast): Don't warn integer->pointer size
        mismatch for constants.

From-SVN: r33740

24 years ago* c-typeck.c (build_c_cast): Remove dead code.
Richard Henderson [Sat, 6 May 2000 21:54:51 +0000 (14:54 -0700)]
* c-typeck.c (build_c_cast): Remove dead code.

From-SVN: r33739

24 years agoifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if a or b uses x.
Richard Henderson [Sat, 6 May 2000 21:50:03 +0000 (14:50 -0700)]
ifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if a or b uses x.

        * ifcvt.c (noce_process_if_block): Don't use an insn_b from
        test_bb if a or b uses x.

From-SVN: r33738

24 years agoifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if insn_a uses x.
Richard Henderson [Sat, 6 May 2000 21:41:10 +0000 (14:41 -0700)]
ifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if insn_a uses x.

        * ifcvt.c (noce_process_if_block): Don't use an insn_b from
        test_bb if insn_a uses x.

From-SVN: r33737

24 years ago* flow.c (mark_set_1): Respect not_dead when updating reg_live.
Richard Henderson [Sat, 6 May 2000 21:36:35 +0000 (14:36 -0700)]
* flow.c (mark_set_1): Respect not_dead when updating reg_live.

From-SVN: r33736

24 years agoflow.c (split_edge): Don't allocate global_live_at_start for the new block unless...
Richard Henderson [Sat, 6 May 2000 21:35:35 +0000 (14:35 -0700)]
flow.c (split_edge): Don't allocate global_live_at_start for the new block unless...

        * flow.c (split_edge): Don't allocate global_live_at_start for
        the new block unless the old blocks had them as well.

From-SVN: r33735

24 years agodecl.c (predef_filenames_size): Now 7.
Alexandre Petit-Bianco [Sat, 6 May 2000 20:32:55 +0000 (20:32 +0000)]
decl.c (predef_filenames_size): Now 7.

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

        * decl.c (predef_filenames_size): Now 7.
        (predef_filenames): New seventh entry.

(Tom's last patch was missing this bit.)

From-SVN: r33734

24 years agocpphash.h: Remove conditional #define of __extension__.
Zack Weinberg [Sat, 6 May 2000 20:00:03 +0000 (20:00 +0000)]
cpphash.h: Remove conditional #define of __extension__.

gcc:
* cpphash.h: Remove conditional #define of __extension__.
* rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
(ENABLE_RTL_CHECKING only).
* tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
(ENABLE_TREE_CHECKING only).
* varray.h: Add __extension__ to VARRAY_CHECK macro
(ENABLE_CHECKING only).

include:
* ansidecl.h: #define __extension__ to nothing if
GCC_VERSION < 2008.

From-SVN: r33733

24 years agonew test - traditional token paste
Zack Weinberg [Sat, 6 May 2000 19:07:34 +0000 (19:07 +0000)]
new test - traditional token paste

From-SVN: r33732

24 years agoUse new tail-calling mechanism on ARM.
Richard Earnshaw [Sat, 6 May 2000 18:13:35 +0000 (18:13 +0000)]
Use new tail-calling mechanism on ARM.

* arm.md (sibcall, sibcall_value): New expands.
(sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
(tailcalling peepholes): Delete.
(push_multi): Simplify.
* arm.c (lr_save_eliminated): Delete definition.
(pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
(output_return_instruction): Remove checks on lr_save_eliminated.
(output_arm_prologue): Remove old tail-calling code.
(arm_output_epilogue): New parameter, really_return.  All callers
changed.  Handle tail-calling epilogues.
* arm.h (lr_save_eliminated): Delete declaration.
(frame_pointer_needed): Delete declaration.
* arm-protos.h (arm_output_epilogue): Adjust prototype.

* arm.md (is_thumb): Examine symbol thumb_code, not expression
TARGET_ARM.
* arm.c (thumb_code): Define it.
(arm_override_options): Set it.
* arm.h (thumb_code): Declare it.

From-SVN: r33731

24 years agocom.c (ffecom_overlap_): Set source_offset to bitsize_zero_node.
Zack Weinberg [Sat, 6 May 2000 17:29:59 +0000 (17:29 +0000)]
com.c (ffecom_overlap_): Set source_offset to bitsize_zero_node.

* com.c (ffecom_overlap_): Set source_offset to
bitsize_zero_node.
(ffecom_tree_canonize_ptr_): Use size_binop.  Convert to
bitsizetype before multiplying by TYPE_SIZE.
(ffecom_tree_canonize_ref_) [case ARRAY_REF]: Break up offset
calculation.  Convert to bitsizetype before multiplying by
TYPE_SIZE.

From-SVN: r33730

24 years ago* arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
Richard Earnshaw [Sat, 6 May 2000 16:55:17 +0000 (16:55 +0000)]
* arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.

From-SVN: r33729

24 years agoMakefile.in: Rebuilt.
Tom Tromey [Sat, 6 May 2000 16:25:13 +0000 (16:25 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (libgcj.zip): Don't pass -L to javac.

From-SVN: r33728

24 years ago* g++.old-deja/g++.abi/ptrflags.C: Correct and extend.
Nathan Sidwell [Sat, 6 May 2000 15:53:16 +0000 (15:53 +0000)]
* g++.old-deja/g++.abi/ptrflags.C: Correct and extend.

From-SVN: r33727

24 years agortti.c (ptmd_initializer): Set non-public, if class is incomplete.
Nathan Sidwell [Sat, 6 May 2000 15:52:11 +0000 (15:52 +0000)]
rtti.c (ptmd_initializer): Set non-public, if class is incomplete.

* rtti.c (ptmd_initializer): Set non-public, if class is
incomplete.

* inc/cxxabi.h (__dynamic_cast): Explicitly say extern "C++".
(__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Likewise.
* tinfo.cc (__dynamic_cast): Likewise.
* vec.cc (__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Likewise.

From-SVN: r33726

24 years agoFix error in previous change
Richard Kenner [Sat, 6 May 2000 11:30:43 +0000 (07:30 -0400)]
Fix error in previous change

From-SVN: r33725

24 years ago* arm.h (SPECIAL_MODE_PREDICATES): Define.
Richard Earnshaw [Sat, 6 May 2000 11:14:18 +0000 (11:14 +0000)]
* arm.h (SPECIAL_MODE_PREDICATES): Define.

From-SVN: r33724

24 years agoarm.c (arm_gen_load_multiple, [...]): Don't add bogus clobber to insns.
Richard Earnshaw [Sat, 6 May 2000 11:10:44 +0000 (11:10 +0000)]
arm.c (arm_gen_load_multiple, [...]): Don't add bogus clobber to insns.

* arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
bogus clobber to insns.
(load_multiple_operation, store_mulitple_operation): Don't check
for it.
* arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.

* arm.md (and_scc, ior_scc): Add missing mode.

* arm.md (call_value_symbol): Remove predicate from op2.

From-SVN: r33723

24 years agoexpr.c (get_subtarget): New function.
Richard Kenner [Sat, 6 May 2000 10:17:11 +0000 (10:17 +0000)]
expr.c (get_subtarget): New function.

* expr.c (get_subtarget): New function.
(force_operand, expand_expr, do_store_flag): Use it.

* toplev.c (compile_file): Don't take strlen of NAME if null.

From-SVN: r33722

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

From-SVN: r33721

24 years agoxcoffout.c (xcoff_current_include_file, [...]): Constify char *.
David Edelsohn [Sat, 6 May 2000 04:31:16 +0000 (04:31 +0000)]
xcoffout.c (xcoff_current_include_file, [...]): Constify char *.

        * xcoffout.c (xcoff_current_include_file,
        xcoff_current_function_file, xcoff_lastfile): Constify char *.
        (xcoffout_source_file, xcoffout_source_line): Make filename 'const
        char *'.
        (xcoffout_declare_function): Make name 'const char *'.
        (xcoffout_end_epilogue): Make fname 'const char *'
        * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
        xcoffout_declare_function, xcoffout_source_line): Match above.

        * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
        -maix64 is error.
        * rs6000.c (print_operand): Fix lossage typo.
        (output_cbranch): Remove "cr" decoration for now.
        * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.

From-SVN: r33720

24 years agoavr.c (out_shift_with_cnt): Bugfix for shift by constant count.
Denis Chertykov [Sat, 6 May 2000 03:06:46 +0000 (03:06 +0000)]
avr.c (out_shift_with_cnt): Bugfix for shift by constant count.

* config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
constant count.

From-SVN: r33719

24 years agoImprove the matching for make target names
Bruce Korb [Fri, 5 May 2000 20:34:12 +0000 (20:34 +0000)]
Improve the matching for make target names

From-SVN: r33718

24 years ago* gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
Mark Elbrecht [Fri, 5 May 2000 19:03:45 +0000 (19:03 +0000)]
* gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.

From-SVN: r33717

24 years agoc-common.c (decl_attributes): For TYPE_DECLs attach the attribute to the decl.
Catherine Moore [Fri, 5 May 2000 18:16:49 +0000 (18:16 +0000)]
c-common.c (decl_attributes): For TYPE_DECLs attach the attribute to the decl.

* c-common.c (decl_attributes):  For TYPE_DECLs attach the
        attribute to the decl.
        * c-decl.c (pushdecl): Propagate the USED attribute to the
        type copy.

From-SVN: r33716

24 years agortlanal.c (reg_overlap_mentioned_p): Treat parallels in the same way emit_group_load...
Richard Henderson [Fri, 5 May 2000 16:48:24 +0000 (09:48 -0700)]
rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the same way emit_group_load does.

* rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
same way emit_group_load does.

From-SVN: r33715

24 years agotoplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
Jeff Law [Fri, 5 May 2000 16:37:01 +0000 (10:37 -0600)]
toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.

        * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
        (main): Likewise.

From-SVN: r33714

24 years ago* pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
Rodney Brown [Fri, 5 May 2000 16:34:06 +0000 (16:34 +0000)]
* pa.h (FUNCTION_ARG_ADVANCE): Warning removal.

From-SVN: r33713

24 years ago* g77.f-torture/execute/20000503-1.f: New test.
David Billinghurst [Fri, 5 May 2000 16:31:25 +0000 (10:31 -0600)]
* g77.f-torture/execute/20000503-1.f:  New test.

From-SVN: r33712

24 years agoopenbsd.h (LINK_SPEC): pass correct flags to ld to support -shared, on platforms...
Marc Espie [Fri, 5 May 2000 16:30:23 +0000 (16:30 +0000)]
openbsd.h (LINK_SPEC): pass correct flags to ld to support -shared, on platforms with dynamic libraries.

        * config/openbsd.h (LINK_SPEC): pass correct flags to ld
        to support -shared, on platforms with dynamic libraries.

From-SVN: r33711

24 years ago* system.h (S_ISBLK): Provide fallback definition.
Philippe De Muyter [Fri, 5 May 2000 16:27:45 +0000 (18:27 +0200)]
* system.h (S_ISBLK): Provide fallback definition.

From-SVN: r33710

24 years agoextend.texi (Extended Asm): Document inability to give asm statements access to condi...
Geoff Berry [Fri, 5 May 2000 16:26:12 +0000 (16:26 +0000)]
extend.texi (Extended Asm): Document inability to give asm statements access to condition codes.

        * extend.texi (Extended Asm): Document inability to give asm
        statements access to condition codes.

From-SVN: r33709

24 years agovarasm.c (asm_emit_uninitialised): Use 0, not NULL as arg 2 of UNIQUE_SECTION.
Marek Michalkiewicz [Fri, 5 May 2000 16:16:57 +0000 (18:16 +0200)]
varasm.c (asm_emit_uninitialised): Use 0, not NULL as arg 2 of UNIQUE_SECTION.

        * varasm.c (asm_emit_uninitialised): Use 0, not NULL
        as arg 2 of UNIQUE_SECTION.

From-SVN: r33708

24 years agopredict.c: Remove May 4 change.
Jeffrey A Law [Fri, 5 May 2000 16:13:46 +0000 (16:13 +0000)]
predict.c: Remove May 4 change.

        * predict.c: Remove May 4 change.
        * bb-reorder.c (make_reorder_chain): Do not perform block movement
        if we have predicted the branch at 50-50 probability.

From-SVN: r33707

24 years agore GNATS libgcj/220 (build fails with "only absolute run-paths are allowed" error...
Tom Tromey [Fri, 5 May 2000 16:11:36 +0000 (16:11 +0000)]
re GNATS libgcj/220 (build fails with "only absolute run-paths are allowed" error during linking)

Fix for PR libgcj/220:
* Makefile.in: Rebuilt.
* Makefile.am (gij_LDFLAGS): Don't use libstdc++.
(jv_convert_LDFLAGS): Likewise.
(libgcj_la_LDFLAGS): Likewise.
(GCJLINK): New macro.
(jv_convert_LINK): Use it.
(gij_LINK): Likewise.
(libgcj_la_LINK): New macro.
(libgcjawt_la_LINK): Likewise.

From-SVN: r33706

24 years agoflow.c (init_propagate_block_info): Fix merge error in HAVE_conditional_execution...
Richard Henderson [Fri, 5 May 2000 10:53:47 +0000 (03:53 -0700)]
flow.c (init_propagate_block_info): Fix merge error in HAVE_conditional_execution code.

        * flow.c (init_propagate_block_info): Fix merge error
        in HAVE_conditional_execution code.

From-SVN: r33705

24 years agonoreturn-2.c: New test.
Andreas Jaeger [Fri, 5 May 2000 08:44:09 +0000 (10:44 +0200)]
noreturn-2.c: New test.

2000-05-04  Andreas Jaeger  <aj@suse.de>

* gcc.dg/noreturn-2.c: New test.

From-SVN: r33704

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

From-SVN: r33703

24 years agofield.h (JvFieldIsRef): Return false for gnu.gcj.RawData field.
Tom Tromey [Fri, 5 May 2000 04:46:26 +0000 (04:46 +0000)]
field.h (JvFieldIsRef): Return false for gnu.gcj.RawData field.

* gcj/field.h (JvFieldIsRef): Return false for gnu.gcj.RawData
field.
* boehm.cc (_Jv_MarkObj): Removed dead code.  Use `STATIC', not
`0x0008'.
Include Modifier.h.

From-SVN: r33702

24 years agoboehm.c (mark_reference_fields): Don't mark RawData fields.
Tom Tromey [Fri, 5 May 2000 04:23:23 +0000 (04:23 +0000)]
boehm.c (mark_reference_fields): Don't mark RawData fields.

* boehm.c (mark_reference_fields): Don't mark RawData fields.
Keep track of when we've seen a reference field after a
non-reference field.
(get_boehm_type_descriptor): Handle case where we see
non-reference fields but no trailing reference field.
* decl.c (rawdata_ptr_type_node): Define.
(init_decl_processing): Initialize rawdata_ptr_type_node.
* java-tree.h (rawdata_ptr_type_node): Declare.

From-SVN: r33701

24 years agoavr.c (out_shift_with_cnt): Genetare a more optimal shift cycle for unknown shift...
Denis Chertykov [Fri, 5 May 2000 04:00:51 +0000 (08:00 +0400)]
avr.c (out_shift_with_cnt): Genetare a more optimal shift cycle for unknown shift count.

* config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
shift cycle for unknown shift count. Also generates dec + brpl.
(ashlqi3_out): Don't generate dec + brpl which now generates by
`out_shift_with_cnt'.
(ashlhi3_out): Likewise.
(ashlsi3_out): Likewise.
(ashrqi3_out): Likewise.
(ashrhi3_out): Likewise.
(ashrsi3_out): Likewise.
(lshrqi3_out): Likewise.
(lshrhi3_out): Likewise.
(lshrsi3_out): Likewise.

From-SVN: r33700

24 years agocp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.
Mark Mitchell [Fri, 5 May 2000 03:10:42 +0000 (03:10 +0000)]
cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.

* cp-tree.h (DELTA_FROM_VTABLE_ENTRY): Remove.
(SET_FNADDR_FROM_VTABLE_ENTRY): Likewise.
(lang_decl_flags): Add vcall_offset.
(THUNK_VCALL_OFFSET): Use it.
* decl.c (lang_mark_tree): Don't mark DECL_ACCESS for a thunk.
* method.c (make_thunk): Create the lang_decl here, not in
emit_thunk.
(emit_thunk): Make generic thunks into ordinary functions once
they have been fed to expand_body.
* semantics.c (expand_body): Set current_function_is_thunk here.

From-SVN: r33699

24 years agonatClass.cc (isInstance): Use __builtin_expect.
Bryce McKinlay [Fri, 5 May 2000 02:56:14 +0000 (02:56 +0000)]
natClass.cc (isInstance): Use __builtin_expect.

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

* java/lang/natClass.cc (isInstance): Use __builtin_expect.
(_Jv_IsAssignableFrom): Ditto.
(_Jv_IsInstanceOf): Ditto.
(_Jv_CheckCast): Ditto.
(_Jv_CheckArrayStore): Ditto.
* java/lang/Class.h (_Jv_InitClass): Ditto.
* java/lang/natObject.cc (_Jv_MonitorEnter): __builtin_expect `false',
not `0'.
(notify): Ditto.
(notifyAll): Ditto.
(wait): Ditto.
(_Jv_MonitorExit): Ditto.
* boehm.cc (_Jv_MarkObj): Ditto.
(_Jv_MarkObj): Ditto.
(_Jv_MarkArray): Ditto.
* prims.cc (_Jv_AllocObject): Ditto.
(_Jv_NewObjectArray): Ditto.
(_Jv_NewPrimArray): Ditto.
(_Jv_Malloc): Ditto.
(_Jv_Realloc): Ditto.
(_Jv_MallocUnchecked): Ditto.
(_Jv_divI): Ditto.
(_Jv_remI): Ditto.
(_Jv_divJ): Ditto.
(_Jv_remJ): Ditto.

From-SVN: r33698

24 years ago*** empty log message ***
Neil Booth [Fri, 5 May 2000 02:50:47 +0000 (02:50 +0000)]
*** empty log message ***

From-SVN: r33697

24 years agoMove old ChangeLog out of the way.
Richard Henderson [Fri, 5 May 2000 02:06:33 +0000 (19:06 -0700)]
Move old ChangeLog out of the way.

From-SVN: r33696

24 years ago* gcc.c-torture/execute/20000503-1.c: Fix typo.
Richard Henderson [Fri, 5 May 2000 02:05:56 +0000 (19:05 -0700)]
* gcc.c-torture/execute/20000503-1.c: Fix typo.

From-SVN: r33695

24 years agoMerge all post c-torture-1.45 entries to the main testsuite ChangeLog.
Richard Henderson [Fri, 5 May 2000 01:56:18 +0000 (18:56 -0700)]
Merge all post c-torture-1.45 entries to the main testsuite ChangeLog.

From-SVN: r33694

24 years agogcc.c (free_split_directories): Correct typo in explanation of make_relative_prefix.
Mark Elbrecht [Fri, 5 May 2000 00:15:02 +0000 (00:15 +0000)]
gcc.c (free_split_directories): Correct typo in explanation of make_relative_prefix.

        * gcc.c (free_split_directories): Correct typo in explanation
        of make_relative_prefix.

From-SVN: r33693

24 years agors6000.h (PREDICATE_CODES): Add floating-point comparison codes to branch_comparison_...
Geoff Keating [Fri, 5 May 2000 00:06:34 +0000 (00:06 +0000)]
rs6000.h (PREDICATE_CODES): Add floating-point comparison codes to branch_comparison_operator.

* config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
comparison codes to branch_comparison_operator.

From-SVN: r33692

24 years ago20000504-1.c: New test.
Richard Henderson [Thu, 4 May 2000 23:27:15 +0000 (16:27 -0700)]
20000504-1.c: New test.

        * gcc.c-torture/compile/20000504-1.c: New test.  Derived from
        OpenSSL by Jason R Thorpe.

From-SVN: r33691

24 years ago* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
Richard Henderson [Thu, 4 May 2000 23:23:45 +0000 (16:23 -0700)]
* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.

From-SVN: r33690

24 years agoifcvt.c (noce_process_if_block): Fail if A or B modified between condition and jump.
Richard Henderson [Thu, 4 May 2000 23:22:26 +0000 (16:22 -0700)]
ifcvt.c (noce_process_if_block): Fail if A or B modified between condition and jump.

        * ifcvt.c (noce_process_if_block): Fail if A or B modified
        between condition and jump.

From-SVN: r33689

24 years agoMakefile.in (FPBIT_FUNCS): Remove _df_to_usi.
Richard Henderson [Thu, 4 May 2000 23:21:48 +0000 (16:21 -0700)]
Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.

        * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
        (DPBIT_FUNCS): Remove _sf_to_usi.
        (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.

From-SVN: r33688

24 years agolibgcc2.c (near eh_context_specific): Comment #endif string.
Richard Henderson [Thu, 4 May 2000 23:21:33 +0000 (16:21 -0700)]
libgcc2.c (near eh_context_specific): Comment #endif string.

        * libgcc2.c (near eh_context_specific): Comment #endif string.
        * longlong.h: Don't use strings with embedded newlines.

From-SVN: r33687

24 years agors6000-protos.h: Add output_cbranch.
Geoff Keating [Thu, 4 May 2000 22:15:23 +0000 (22:15 +0000)]
rs6000-protos.h: Add output_cbranch.

* config/rs6000/rs6000-protos.h: Add output_cbranch.
* config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
(print_operand): Delete %t and %T codes.
(output_cbranch): New function.  Support branch prediction.
* config/rs6000/rs6000.md: Use output_cbranch for
conditional branches and returns.

From-SVN: r33686

24 years agoremove accidental -pipe checkin
Jason Merrill [Thu, 4 May 2000 21:17:57 +0000 (17:17 -0400)]
remove accidental -pipe checkin

From-SVN: r33685

24 years agosimplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
Jason Merrill [Thu, 4 May 2000 21:15:05 +0000 (21:15 +0000)]
simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.

        * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
        * stor-layout.c (place_field): Likewise.
        * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
        * expr.c (store_expr): Make align unsigned.
        * explow.c (plus_constant_wide): Make low words unsigned.
        * expmed.c (choose_multiplier): Likewise.
        * fold-const.c (fold):  Likewise.
        * tree.h (build_int_2): Likewise.
        * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
        * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
        (init_emit): Change cast to unsigned char*.
        * varasm.c (compare_constant_1): Add cast to char*.
        * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
        * reload1.c (reload): Likewise.

        * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).

From-SVN: r33684

24 years agopredict.c (estimate_probability): If no prediction was found...
Jeffrey A Law [Thu, 4 May 2000 20:40:17 +0000 (20:40 +0000)]
predict.c (estimate_probability): If no prediction was found...

        * predict.c (estimate_probability): If no prediction was found, then
        predict the successor that is the next physical block (if such a
        successor exists).

From-SVN: r33683