OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years agoCorrect previous botched commit.
geoffk [Tue, 27 Jun 2000 07:12:20 +0000 (07:12 +0000)]
Correct previous botched commit.

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

23 years ago2000-06-09 Bryce McKinlay <bryce@albatross.co.nz>
apbianco [Tue, 27 Jun 2000 05:18:56 +0000 (05:18 +0000)]
2000-06-09  Bryce McKinlay  <bryce@albatross.co.nz>

* parse.y (find_applicable_accessible_methods_list): Use a hashtable
to track searched classes, and do not search the same class more than
once. Call find_applicable_accessible_methods_list on immediate
superclass, instead of search_applicable_method_list on all ancestors.
Fix for PR gcj/238.

(Fix to the Java PR #238:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00206.html)

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

23 years ago * java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.
warrenl [Tue, 27 Jun 2000 05:10:03 +0000 (05:10 +0000)]
* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.
(newVal): Renamed to newValue.
* java/beans/PropertyVetoException.java (changeEvent): Renamed to evt.
* java/beans/beancontext/BeanContextServiceRevokedEvent.java
(revokeNow): Renamed to invalidateRefs.
* java/io/OptionalDataException.java: Updated FIXME.
(eof): New placeholder field.
(length); Ditto.
* java/io/WriteAbortedException.java (message): Made transient.
* java/lang/ClassNotFoundException.java: Updated comments for JDK 1.2.
* java/lang/Throwable.java (stackTrace): Made transient.
* java/net/InetAddress.java: Made Serializable.
* java/security/KeyPair.java: Made Serializable.
* java/security/Provider.java: Replaced with Classpath version that
implements serialization and proper methods.
* java/text/ChoiceFormat.java (strings): Renamed to choiceFormats.
(limits): Renamed to choiceLimits.

Serialization changes per:
http://java.sun.com/products/jdk/1.2/docs/api/serialized-form.html

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

23 years ago2000-06-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Tue, 27 Jun 2000 04:30:18 +0000 (04:30 +0000)]
2000-06-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (set_super_info): Handle ACC_PRIVATE for (inner)
classes.
* java-tree.h (TYPE_PRIVATE_INNER_CLASS): New macro.
(struct lang_type): New field `pic.'
(CLASS_PRIVATE): New macro.
* parse.y (check_inner_class_access): New function.
(jdep_resolve_class): Call it.

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

        * parse.y (register_fields): Permit static fields in inner classes
        if they are final. Fix for PR gcj/255.

(These patches are fixes to the PR #224 and #255:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00158.html
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00287.html)

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

23 years ago2000-06-27 Philipp Thomas <pthomas@suse.de>
pthomas [Tue, 27 Jun 2000 02:26:23 +0000 (02:26 +0000)]
2000-06-27  Philipp Thomas  <pthomas@suse.de>

* 1750a.h: Mark help strings for options/switches for translation.
* a29k.h: Likewise.
* alpha.h: Likewise.
* arm.h: Likewise.
* pe.h: Likewise.
* riscix.h: Likewise.
* c4x.h: Likewise.
* clipper.h: Likewise.
* convex.h: Likewise.
* elxsi.h: Likewise.
* fr30.h: Likewise.
* fx80.h: Likewise.
* h8300.h: Likewise.
* i370.h: Likewise.
* cygwin.h: Likewise.
* dgux.h: Likewise.
* djgpp.h: Likewise.
* i386.h: Likewise.
* osf1elf.h: Likewise.
* osfrose.h: Likewise.
* sco5.h: Likewise.
* win32.h: Likewise.
* i860.h: Likewise.
* paragon.h: Likewise.
* i960.h: Likewise.
* ia64.h: Likewise.
* m32r.h: Likewise.
* mcore.h: Likewise.
* mips.h: Likewise.
* mn10300.h: Likewise.
* ns32k.h: Likewise.
* pdp11.h: Likewise.
* pj.h: Likewise.
* aix.h: Likewise.
* aix41.h: Likewise.
* aix43.h: Likewise.
* beos.h: Likewise.
* rs6000.h: Likewise.
* sysv4.h: Likewise.
* linux.h: Likewise.
* linux64.h: Likewise.
* sp64-elf.h: Likewise.
* sparc.h: Likewise.
* splet.h: Likewise.
* v850.h: Likewise.
* convex.h (TARGET_SWITCHES): Provide descriptions and mark them
for translation.
* sp86x-aout.h: Remove bogus first definition of SUBTARGET_SWITCHES.
Properly document option and mark for translation.
* sp86x-elf.h: Likewise.

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

23 years ago 2000-06-26 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 26 Jun 2000 23:11:54 +0000 (23:11 +0000)]
2000-06-26  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/980523-1.c: Add prototype for exit().
* gcc.dg/980827-1.c: Add prototype for exit() and abort().

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

23 years agoAdd MMX and SSE registers to i386 machine description
crux [Mon, 26 Jun 2000 22:47:37 +0000 (22:47 +0000)]
Add MMX and SSE registers to i386 machine description

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

23 years ago* ssa.c (struct rename_set_data): Change the name of field
geoffk [Mon, 26 Jun 2000 21:36:58 +0000 (21:36 +0000)]
* ssa.c (struct rename_set_data): Change the name of field
'set_dest' to 'old_reg'.  Add comments.
(struct rename_context): Change the name of 'set_data' to
'new_renames'.  Add new field 'done_renames'.
(create_delayed_rename): New function.
(apply_delayed_renames): New function.
(rename_insn_1): Use the new functions.  Handle CLOBBERS.  Handle
SUBREGs and similar by emitting a move.
(new_registers_for_updates): Delete, functionality moved to
apply_delayed_renames.
(rename_block): Handle moves emitted by rename_insn_1 by putting
them into a SEQUENCE with the original insn.  Add sanity checks
and comments.
(rename_equivalent_regs_in_insn): Don't handle SUBREGs specially.
(rename_equivalent_regs): Expand SEQUENCEs out to individual insns.

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

23 years ago2000-06-13 Brent Verner <brent@rcfile.org>
bkoz [Mon, 26 Jun 2000 20:22:01 +0000 (20:22 +0000)]
2000-06-13  Brent Verner <brent@rcfile.org>

* bits/string.tcc (string::rfind): Fix.
* testsuite/21_strings/rfind.cc: New file.

2000-06-26  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.

2000-06-26  Branko Cibej  <branko.cibej@hermes.si>

        * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.

        * mkcheck.in: Make the *.txt and *.tst files writable after
  copying them to $TEST_DIR.

        * testsuite/27_io/ostream_inserter_arith.cc: Renamed
          __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE.
        Define TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.

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

23 years ago2000-06-13 Brent Verner <brent@rcfile.org>
bkoz [Mon, 26 Jun 2000 20:21:34 +0000 (20:21 +0000)]
2000-06-13  Brent Verner <brent@rcfile.org>

* bits/string.tcc (string::rfind): Fix.
* testsuite/21_strings/rfind.cc: New file.

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

23 years ago * dwarf2.h (enum dwarf_call_frame_info): Add
jason [Mon, 26 Jun 2000 20:15:07 +0000 (20:15 +0000)]
    * dwarf2.h (enum dwarf_call_frame_info): Add
        DW_CFA_def_cfa_expression.
        * dwarf2out.c (union dw_cfi_oprnd_struct): Add a pointer to a
        dw_loc_descr_struct entry.
        (struct cfa_loc): New structure to track a CFA location.
        (lookup_cfa): Take a cfa_loc parameter instead of a reg and an offset.
        (lookup_cfa_1): Take a cfa_loc parameter instead of a reg and an
        offset, plus handle DW_CFA_def_cfa_expression.
        (def_cfa_1): Use to be dwarf2out_def_cfa, only now it uses a
        cfa_loc record.
        (dwarf2out_def_cfa): Entry point maintained for compatability.
        (dwarf_cfi_name): Add DW_CFA_def_cfa_expression.
        (cfa_reg, cfa_offset): Replace with cfa_loc record 'cfa'.
        (cfa_store_reg, cfa_store_offset): Replace with cfa_loc 'cfa_store'.
        (initial_return_save, dwarf2out_stack_adjust): Use cfa.reg, not
        cfa_reg.
        (dwarf2out_frame_debug_expr): Use new cfa_loc records. Recognize rtl
        sequences for the new DW_CFA_def_cfa_expression record.
        (dwarf2out_frame_debug): Use new variables/fields.A
        (output_cfi): Handle DW_CFA_def_cfa_expression.
        (output_cfa_loc): New function to generate a CFI record for
        DW_CFA_def_cfa_expression.
        (get_cfa_from_loc_descr): New function to get a cfa_loc record from
        a dw_loc_descr sequeunce.
        (build_loc_descr): Build a dw_loc_descr from a cfa_loc record.
        (dwarf_stack_op_name, new_loc_descr, add_loc_descr, size_of_loc_descr,
        size_of_locs, output_loc_operands, output_loc_sequence): Move into
        unwind info section.
        * frame.h (frame_state): Add base_offset and indirect fields.
        * frame-dwarf2.c (decode_stack_op): New function to interpret a
        dw_loc_descr operation.
        (execute_cfa_insn): Add support for DW_CFA_def_cfa_expression.
        (struct frame_state): Add base offset and indirect fields.
        * libgcc2.c (next_stack_level): Support indirect loading for CFA.

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

23 years ago * gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c,
zack [Mon, 26 Jun 2000 19:12:53 +0000 (19:12 +0000)]
* gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Use "target *-*-*", not "target native", in
case we are cross-compiling.

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

23 years ago2000-06-26 Branko Cibej <branko.cibej@hermes.si>
pme [Mon, 26 Jun 2000 18:58:19 +0000 (18:58 +0000)]
2000-06-26  Branko Cibej  <branko.cibej@hermes.si>

* mkcheck.in:  Make the *.txt and *.tst files writable
  after copying them to $TEST_DIR.

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

23 years ago * g++.old-deja/Makefile.in, g++.old-deja/configure.in,
zack [Mon, 26 Jun 2000 18:56:21 +0000 (18:56 +0000)]
* g++.old-deja/Makefile.in, g++.old-deja/configure.in,
g++.old-deja/g++.niklas/Makefile.in,
g++.old-deja/g++.niklas/configure.in,
g++.old-deja/g++.other/Makefile.in,
g++.old-deja/g++.other/configure.in,
gcc.c-torture/code_quality/Makefile.in,
gcc.c-torture/code_quality/configure.in,
gcc.c-torture/compat/Makefile.in, gcc.c-torture/compat/configure.in,
gcc.c-torture/compile/Makefile.in, gcc.c-torture/compile/configure.in,
gcc.c-torture/execute/Makefile.in, gcc.c-torture/execute/configure.in,
gcc.c-torture/execute/ieee/Makefile.in,
gcc.c-torture/execute/ieee/configure.in,
gcc.c-torture/noncompile/Makefile.in,
gcc.c-torture/noncompile/configure.in,
gcc.c-torture/special/Makefile.in, gcc.c-torture/special/configure.in,
gcc.c-torture/unsorted/Makefile.in, gcc.c-torture/unsorted/configure.in,
gcc.misc-tests/Makefile.in, gcc.misc-tests/configure.in: Delete.

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

23 years ago2000-06-26 Joseph S. Myers <jsm28@cam.ac.uk>
rth [Mon, 26 Jun 2000 16:42:23 +0000 (16:42 +0000)]
2000-06-26  Joseph S. Myers  <jsm28@cam.ac.uk>

        * c-decl.c (grokdeclarator): Don't warn about `long long' in C99.
        Make warnings about implicit int be pedwarns in C99.  Don't warn
        about duplicate type qualifiers in C99.
        (start_function): Make warning about implict int return type be a
        pedwarn in C99.
        * c-lex.c (yylex): Don't warn about `long long' in C99.
        * c-typeck.c (c_expand_return): In C99, always pedwarn about
        `return' with no value in function returning non-void.

2000-06-26  Richard Henderson  <rth@cygnus.com>

        * c-typeck.c (pedwarn_c99): New.
        * diagnostic.c (verror, vwarning, vpedwarn): Export.
        * toplev.h: Prototype them.

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

23 years ago * parse.y (for_statement): Wrap expression in a WFL if it is a
tromey [Mon, 26 Jun 2000 16:39:28 +0000 (16:39 +0000)]
* parse.y (for_statement): Wrap expression in a WFL if it is a
constant.  For PR gcj/268.

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

23 years ago2000-06-26 J. David Anglin <dave@hiauly1.hia.nrc.ca>
gavin [Mon, 26 Jun 2000 13:43:22 +0000 (13:43 +0000)]
2000-06-26  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

* c-typeck.c (digest_init): Return error_mark_node node when
TREE_TYPE (init)  == error_mark_node.

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

23 years ago * g++.old-deja/g++.other/ambig3.C: New test.
nathan [Mon, 26 Jun 2000 13:18:05 +0000 (13:18 +0000)]
* g++.old-deja/g++.other/ambig3.C: New test.

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

23 years ago * search.c (hides): Remove.
nathan [Mon, 26 Jun 2000 13:16:42 +0000 (13:16 +0000)]
* search.c (hides): Remove.
(is_subobject_of_p): Add most_derived parameter. Use
CANONICAL_BINFO.
(lookup_field_queue_p): Adjust.
(lookup_field_r): Adjust.

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

23 years ago * g++.old-deja/g++.pt/syntax1.C: New test.
nathan [Mon, 26 Jun 2000 11:07:20 +0000 (11:07 +0000)]
* g++.old-deja/g++.pt/syntax1.C: New test.
* g++.old-deja/g++.pt/syntax2.C: New test.
* g++.old-deja/g++.other/syntax3.C: New test.
* g++.old-deja/g++.other/syntax4.C: New test.

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

23 years ago * decl2.c (handle_class_head): Bash typedefs to the type's main
nathan [Mon, 26 Jun 2000 11:06:39 +0000 (11:06 +0000)]
* decl2.c (handle_class_head): Bash typedefs to the type's main
decl.

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

23 years agoDaily bump.
law [Mon, 26 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-06-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 26 Jun 2000 07:26:08 +0000 (07:26 +0000)]
2000-06-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (do_resolve_class): Minor optimiztion in the package
list search. Removed unecessary test and return statement.
(valid_ref_assignconv_cast_p): Order of arguments to
enclosing_context_p fixed.

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

23 years ago2000-06-26 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 26 Jun 2000 04:47:41 +0000 (04:47 +0000)]
2000-06-26  Philipp Thomas  <pthomas@suse.de>

* aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no,
test for msgfmt without path instead.
* configure: Rebuilt.

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

23 years ago * gcc.dg/20000623-1.c: Prototype exit and abort.
zack [Mon, 26 Jun 2000 03:53:34 +0000 (03:53 +0000)]
* gcc.dg/20000623-1.c: Prototype exit and abort.

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

23 years ago * cp-tree.h (genrtl_begin_stmt_expr): Rename to ...
mmitchel [Mon, 26 Jun 2000 02:18:14 +0000 (02:18 +0000)]
* cp-tree.h (genrtl_begin_stmt_expr): Rename to ...
(begin_global_stmt_expr): ... this.
(genrtl_finish_stmt_expr): Rename to ...
(finish_global_stmt_expr): ... this.
* init.c (begin_init_stmts): Adjust calls.
(finish_init_stmts): Likewise.
* semantics.c (genrtl_begin_stmt_expr): Rename to ...
(begin_global_stmt_expr): ... this.
(genrtl_finish_stmt_expr): Rename to ...
(finish_global_stmt_expr): ... this.

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

23 years ago * gcc.dg/20000625-1.c, gcc.dg/20000625-2.c, gcc.dg/cpp-mi3.c:
zack [Sun, 25 Jun 2000 23:31:02 +0000 (23:31 +0000)]
* gcc.dg/20000625-1.c, gcc.dg/20000625-2.c, gcc.dg/cpp-mi3.c:
        New tests.
* gcc.dg/cpp-mi3.def: New file.

* gcc.dg/cpp-as1.c: Also test that macro expansion does not occur
inside assertions.
* gcc.dg/cpp-as2.c: Make error regexps match either old or new
lexer's error messages.
* gcc.dg/cpp-mi.c: Use -H and examine the output, don't try to
divine anything from the linemarkers.
* gcc.dg/cpp-micc.h: Fix typo (declare int b, not int a);
* gcc.dg/poison-1.c: Preprocess only; apply -fno-show-column.

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

23 years ago * gengenrtl.c (special_rtx): Fix typo in comment.
mmitchel [Sun, 25 Jun 2000 23:20:30 +0000 (23:20 +0000)]
* gengenrtl.c (special_rtx): Fix typo in comment.

    * search.c (lookup_member): Fix typo in comment.

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

23 years ago * mklibgcc.in (LIB2FUNCS): Add missing space.
m.hayes [Sun, 25 Jun 2000 22:26:33 +0000 (22:26 +0000)]
* mklibgcc.in (LIB2FUNCS): Add missing space.

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

23 years ago * expr.c (lookup_field): Print error and return error_mark_node if
tromey [Sun, 25 Jun 2000 17:30:38 +0000 (17:30 +0000)]
* expr.c (lookup_field): Print error and return error_mark_node if
field reference is ambiguous.

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

23 years ago * parse.y (check_abstract_method_definitions): Also check if
tromey [Sun, 25 Jun 2000 17:28:35 +0000 (17:28 +0000)]
* parse.y (check_abstract_method_definitions): Also check if
`other_method' is abstract.

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

23 years agoVector support: type node creation & debugging support
crux [Sun, 25 Jun 2000 17:27:28 +0000 (17:27 +0000)]
Vector support: type node creation & debugging support

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

23 years ago * parse.y (patch_incomplete_class_ref): Initialize the returned
tromey [Sun, 25 Jun 2000 17:25:31 +0000 (17:25 +0000)]
* parse.y (patch_incomplete_class_ref): Initialize the returned
class.  For PR gcj/260.

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

23 years agoFix typos in comments.
nickc [Sun, 25 Jun 2000 16:21:08 +0000 (16:21 +0000)]
Fix typos in comments.

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

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

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

23 years ago * aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
pthomas [Sun, 25 Jun 2000 02:45:23 +0000 (02:45 +0000)]
* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
compiler found.
AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
* configure: Rebuilt.

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

23 years ago2000-06-25 John David Anglin <dave.anglin@nrc.ca>
pthomas [Sat, 24 Jun 2000 23:52:22 +0000 (23:52 +0000)]
2000-06-25  John David Anglin  <dave.anglin@nrc.ca>

        * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions.

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

23 years ago * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
m.hayes [Sat, 24 Jun 2000 23:34:25 +0000 (23:34 +0000)]
* mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
libgcc.a.

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

23 years agoadd XFAIL
jason [Sat, 24 Jun 2000 22:28:07 +0000 (22:28 +0000)]
add XFAIL

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

23 years agofixed
jason [Sat, 24 Jun 2000 22:27:43 +0000 (22:27 +0000)]
fixed

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

23 years ago * collect2.c (resolve_lib_name): Move '/' check to more rational place.
jason [Sat, 24 Jun 2000 22:19:46 +0000 (22:19 +0000)]
    * collect2.c (resolve_lib_name): Move '/' check to more rational place.

        * ginclude/stddef.h (NULL): define for non-gnu C++ parsers as 0.

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

23 years ago * decl.c (pushdecl): Don't set DECL_CONTEXT from current_namespace.
jason [Sat, 24 Jun 2000 22:17:18 +0000 (22:17 +0000)]
    * decl.c (pushdecl): Don't set DECL_CONTEXT from current_namespace.
        (push_namespace): Set DECL_CONTEXT for a new NAMESPACE_DECL.

        * parse.y (complex_direct_notype_declarator): Support global_scope.
        * Makefile.in: Adjust conflict count.

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

23 years agonew
jason [Sat, 24 Jun 2000 22:12:16 +0000 (22:12 +0000)]
new

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

23 years agoupdate stuff rule
jason [Sat, 24 Jun 2000 20:27:18 +0000 (20:27 +0000)]
update stuff rule

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

23 years agoremove XFAIL
jason [Sat, 24 Jun 2000 20:26:21 +0000 (20:26 +0000)]
remove XFAIL

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

23 years agoadd missed CL entry:
jason [Sat, 24 Jun 2000 20:24:29 +0000 (20:24 +0000)]
add missed CL entry:
        * toplev.c (compile_file): Always call timevar_print.
        * Makefile.in (calls.o): Depend on TIMEVAR_H.

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

23 years ago * stmt.c (expand_decl_cleanup): Emit a dummy insn after
jakub [Sat, 24 Jun 2000 19:42:58 +0000 (19:42 +0000)]
* stmt.c (expand_decl_cleanup): Emit a dummy insn after
last_unconditional_cleanup.

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

23 years agoVector conversions support
crux [Sat, 24 Jun 2000 19:26:42 +0000 (19:26 +0000)]
Vector conversions support

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

23 years ago * java/lang/natDouble.cc (parseDouble): Renamed from
tromey [Sat, 24 Jun 2000 18:11:01 +0000 (18:11 +0000)]
* java/lang/natDouble.cc (parseDouble): Renamed from
doubleValueOf.
* java/lang/Double.java (parseDouble): Renamed from
doubleValueOf.  Now public.

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

23 years ago * config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype.
denisc [Sat, 24 Jun 2000 18:01:26 +0000 (18:01 +0000)]
* config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype.
* config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr):
New functions, common code moved from function_{prologue,epilogue}
and extended to support the -mtiny-stack option.
(function_prologue, function_epilogue): Use them.
Use lo8/hi8 consistently for asm output readability.
(avr_hard_regno_mode_ok): New function.
* config/avr/avr.h (TARGET_SWITCHES): Fix typo.  Add -mtiny-stack.
(UNITS_PER_WORD): Define as 4 (not 1) when compiling libgcc2.c.
(HARD_REGNO_MODE_OK): Call the avr_hard_regno_mode_ok function.
* config/avr/avr.md (*mov_sp_r): Add support for -mtiny-stack.
Write SPH before SPL.
(*movqi): No need to disable interrupts for just one "out"
in alternative 5.  Change length attribute from 4 to 1.
* config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
Write SPH before SPL.

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

23 years agoVector support: rtx and mode definitions
crux [Sat, 24 Jun 2000 11:12:58 +0000 (11:12 +0000)]
Vector support: rtx and mode definitions

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

23 years ago * cpp.texi: Clarify #pragma GCC namespace.
nathan [Sat, 24 Jun 2000 09:21:22 +0000 (09:21 +0000)]
* cpp.texi: Clarify #pragma GCC namespace.

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

23 years agoDaily bump.
law [Sat, 24 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-06-24 Philipp Thomas <pthomas@suse.de>
pthomas [Sat, 24 Jun 2000 06:48:43 +0000 (06:48 +0000)]
2000-06-24  Philipp Thomas  <pthomas@suse.de>

* aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
all catalogs specified in ALL_LINGUAS.
* configure: Rebuilt.

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

23 years ago2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 24 Jun 2000 00:56:05 +0000 (00:56 +0000)]
2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
(basic_filebuf::close): Use it.
* bits/std_fstream.h (basic_filebuf): Remove default arguments for
filebuf ctor.
(basic_filebuf): Add _M_fileno_based data member.
        As reported by brent verner <brent@rcfile.org>
* testsuite/27_io/filebuf_members.cc: New file.
* testsuite/27_io/filebuf_members-1.tst: New file.

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

23 years ago2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 24 Jun 2000 00:53:06 +0000 (00:53 +0000)]
2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* testsuite/27_io/filebuf_members.cc: New file.
* testsuite/27_io/filebuf_members-1.tst: New file.
* bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
(basic_filebuf::close): Use it.
* bits/std_fstream.h (basic_filebuf): Remove default arguments for
filebuf ctor.
(basic_filebuf): Add _M_fileno_based data member.

* bits/std_fstream.h: Formatting tweaks.
* testsuite/27_io/ofstream_members.cc: New file.
* testsuite/27_io/ofstream_members-1.tst: New file.
* testsuite/27_io/ifstream_members.cc: New file.
* testsuite/27_io/ifstream_members-1.tst: New file.

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

23 years ago2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Fri, 23 Jun 2000 22:21:47 +0000 (22:21 +0000)]
2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/std_fstream.h: Formatting tweaks.
* testsuite/27_io/ofstream_members.cc: New file.
* testsuite/27_io/ofstream_members-1.tst: New file.
* testsuite/27_io/ifstream_members.cc: New file.
* testsuite/27_io/ifstream_members-1.tst: New file.

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

23 years ago For PR gcj/260:
tromey [Fri, 23 Jun 2000 21:53:52 +0000 (21:53 +0000)]
For PR gcj/260:
* libjava.lang/PR260.out: New file.
* libjava.lang/PR260.java: New file.

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

23 years ago * config/sparc/sparc.md (reload_outdi+1): Handle
jakub [Fri, 23 Jun 2000 20:34:41 +0000 (20:34 +0000)]
* config/sparc/sparc.md (reload_outdi+1): Handle
HOST_BITS_PER_WIDE_INT == 64 case correctly.
(adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.

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

23 years ago* alias.c (fixed_scalar_and_varying_struct_p): Don't examine
geoffk [Fri, 23 Jun 2000 20:05:55 +0000 (20:05 +0000)]
* alias.c (fixed_scalar_and_varying_struct_p): Don't examine
struct vs. scalar-ness when -fno-strict-aliasing.

and a test case to test it, gcc.dg/20000623-1.c.

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

23 years ago * java/lang/ieeefp.h: Handle ia64, fr30, mcore.
tromey [Fri, 23 Jun 2000 19:53:33 +0000 (19:53 +0000)]
* java/lang/ieeefp.h: Handle ia64, fr30, mcore.
* java/lang/natThrowable.cc: On IA-64, use __ia64_backtrace.

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

23 years ago2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Fri, 23 Jun 2000 17:57:04 +0000 (17:57 +0000)]
2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
            Ulrich Drepper  <drepper@cygnus.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
that all the freaky stuff like sincos will be around...

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

23 years ago * java/lang/reflect/natMethod.cc: Include <alloca.h>.
tromey [Fri, 23 Jun 2000 17:39:00 +0000 (17:39 +0000)]
* java/lang/reflect/natMethod.cc: Include <alloca.h>.
* java/lang/natDouble.cc: Always include <alloca.h>.
Fix for PR libgcj/267.

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

23 years ago2000-06-22 Branko Cibej <branko.cibej@hermes.si>
bkoz [Fri, 23 Jun 2000 16:18:53 +0000 (16:18 +0000)]
2000-06-22  Branko Cibej  <branko.cibej@hermes.si>

        * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.

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

23 years ago * cpplib.c (struct pragma_entry): New structure.
nathan [Fri, 23 Jun 2000 10:56:09 +0000 (10:56 +0000)]
* cpplib.c (struct pragma_entry): New structure.
(pragma_dispatch): Pragma dispatcher.
(top_pragmas, gcc_pragmas): New static variables.
(do_pragma): Use pragma_dispatch.
(do_pragma_gcc): New pragma handler.
* cpp.texi: Update.

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

23 years ago * calls.c (compute_argument_addresses): Force stack slots into
jakub [Fri, 23 Jun 2000 10:03:42 +0000 (10:03 +0000)]
* calls.c (compute_argument_addresses): Force stack slots into
alias set 0.
* expr.c (emit_push_insn): Force pushes into alias set 0.

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

23 years ago * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
rth [Fri, 23 Jun 2000 08:35:58 +0000 (08:35 +0000)]
    * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
        * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.

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

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

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

23 years ago * parse.y (template_arg): Convert TEMPLATE_DECL
jason [Fri, 23 Jun 2000 06:49:45 +0000 (06:49 +0000)]
    * parse.y (template_arg): Convert TEMPLATE_DECL
        that is a template template paramter to
        TEMPLATE_TEMPLATE_PARM here.

        * cp-tree.def (TEMPLATE_TEMPLATE_PARM): Adjust comment.
        * cp-tree.h (TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL): New macro.
        (copy_template_template_parm): Adjust prototype.
        * decl.c (grokdeclarator): Remove dead code.
        * pt.c (process_template_parm): Tidy.
        (lookup_template_class): Construct nodes in
        copy_template_template_parm.
        (tsubst): Pass TEMPLATE_DECL rather than IDENTIFIER_NODE to
        lookup_template_class.  Use TYPE_TI_TEMPLATE.
        * tree.c (copy_template_template_parm): Add NEWARGS
        parameter.
        (mapcar): Adjust call to copy_template_template_parm.
        * typeck.c (comptypes): Use TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL.
        * method.c (build_template_template_parm_names): Change error
        code to avoid compilation warning.

        * gxxint.texi: Document template template parameter
        name mangling.

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

23 years agonew
jason [Fri, 23 Jun 2000 06:45:58 +0000 (06:45 +0000)]
new

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

23 years agoin include/ChangeLog:
samuel [Fri, 23 Jun 2000 03:58:44 +0000 (03:58 +0000)]
in include/ChangeLog:

* dyn-string.h (dyn_string_init, dyn_string_new,
dyn_string_delete, dyn_string_release, dyn_string_resize,
dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
dyn_string_append_char, dyn_string_substring_dyn_string_eq):
Define as same name with __cxa_ prepended, if IN_LIBGCC2.
(dyn_string_init, dyn_string_copy, dyn_string_copy_cstr,
dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
dyn_string_append_char, dyn_string_substring): Change return type
to int.

in libiberty/ChangeLog:

* cp-demangle.c: Don't include ctype.h.
(IS_DIGIT): New macro.
(IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
instead of isdigit and isalpanum.
(demangling_def): Make name and next const pointers.
(STATUS_ALLOCATION_FAILED): New status code.
(dyn_string_append_space): Handle failure in
dyn_string_append_char.
(int_to_dyn_string): Likewise.  Change return value to status_t.
(string_list_new): Handle failure of dyn_string_init.
(result_close_template_list): Change return type to status_t.
Handle failure in dyn_string_append.
(result_push): Change return value to status_t.  Handle failure in
string_list_new.  Handle failure of result_push throughout.
(substitution_add): Change return value to status_t.  Handle
dyn_string failures.  Handle failure of substitution_add
throughout.
(template_arg_list_new): Return NULL on allocation failure.
(result_append_string): Return STATUS_ALLOCATION_FAILED on error.
Handle error result throughout.
(result_append): Likewise.
(result_append_char): Likewise.
(result_append_space): Likewise.
(demangling_new): Make argument a const pointer.  Handle
allocation failures.
(demangle_template_args): Handle failure in template_arg_list_new
and result_close_template_list.
(demangle_discriminator): Return if int_to_dyn_string fails.
(cp_demangle): Likewise.
(cp_demangle_type): New function.
(cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
memory allocation failure.
(main): Likewise.
* dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
IN_LIBGCC2.
(dyn_string_init): Change return value to int.  Handle
RETURN_ON_ALLOCATION_FAILURE case.
(dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
(dyn_string_release): Delete the dyn_string.
(dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
(dyn_string_copy): Change return type to int.
(dyn_string_copy_cstr): Likewise.
(dyn_string_prepend): Likewise.
(dyn_string_prepend_cstr): Likewise.
(dyn_string_insert): Likewise.
(dyn_string_insert_cstr): Likewise.
(dyn_string_append): Likewise.
(dyn_string_append_cstr): Likewise.
(dyn_string_append_char): Likewise.
(dyn_string_substring): Likewise.

in gcc/cp/ChangeLog:

* Make-lang.in (CXX_LIB2FUNCS): Add cp-demangle.o and dyn-string.o.
(CXX_LIB2SRCS): Add cp-demangle.c and dyn-string.c.
(cp-demangle.o): New rule.
(dyn-string.o): Likewise.
* inc/cxxabi.h (__cxa_demangle): New declaration.

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

23 years ago * cp-tree.h (BV_USE_VCALL_INDEX_P): New macro.
mmitchel [Fri, 23 Jun 2000 01:14:40 +0000 (01:14 +0000)]
* cp-tree.h (BV_USE_VCALL_INDEX_P): New macro.
(BV_GENERATE_THUNK_WITH_VTABLE_P): Likewise.
(lang_decl_flags): Add generate_with_vtable_p.  Make vcall_offset
a tree, not an int.
(THUNK_GENERATE_WITH_VTABLE_P): New macro.
(make_thunk): Change prototype.
(emit_thunk): Rename to use_thunk.
(mangle_thunk): Change prototype.
* class.c (get_derived_offset): Simplify.
(copy_virtuals): Clear BV_USE_VCALL_INDEX_P and
BV_GENERATE_THUNK_WITH_VTABLE_P.
(build_primary_vtable): Simplify.
(add_virtual_function): Use BV_FN, rather than TREE_VALUE.
(dfs_find_base): Remove.
(update_vtable_entry_for_fn): Correct bug in finding the base
where a virtual function was first declared.  Figure out whether
or not to emit a vcall-thunk with the vtables in which it appears.
Correct logic for deciding whether to use an ordinary thunk, or a
vcall thunk.
(finish_struct_1): Remove unnecssary code.
(build_vtbl_initializer): Use ssize_int for the running counter of
negative indices.
(build_vtbl_initializer): Only use vcall thunks where necessary.
Mark thunks as needing to be emitted with their vtables, or not.
(build_vbase_offset_vtbl_entries): Adjust for use of ssize_int in
indices.  Use size_binop.
(dfs_build_vcall_offset_vtbl_entries): Don't rely on
BINFO_PRIMARY_MARKED_P here.  Use BV_FN consistently.  Use
size_binop.
(build_rtti_vtbl_entries): Adjust call to build_vtable_entry.
(build_vtable_entry): Mark thunks as needing to be emitted with
their vtables, or not.
* decl.c (lang_mark_tree): Mark the vcall_offset in a thunk.
* decl2.c (mark_vtable_entries): Use use_thunk instead of
emit_thunk.
* dump.c (dequeue_and_dump): Remove dead code.  Dump new thunk
information.
* error.c (dump_expr): Use BV_FN.
* mangle.c (mangle_thunk): Adjust now that vcall_offset is a tree,
not an int.
* method.c (make_thunk): Likewise.
(emit_thunk): Rename to use_thunk.  Allow callers to decide
whether or not to actually emit the thunk.  Adjust for changes in
representation of vcall offsets.
* search.c (dfs_get_pure_virtuals): Use BV_FN.
* semantics.c (emit_associated_thunks): New function.
(expand_body): Use it.
* ir.texi: Adjust decriptions of thunks.

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

23 years ago2000-06-22 Steven King <sxking@uswest.net>
bkoz [Thu, 22 Jun 2000 23:59:04 +0000 (23:59 +0000)]
2000-06-22 Steven King <sxking@uswest.net>

        * acinclude.m4: Check for sinl, _sinl using 1 parameter.

2000-06-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
link against libm and don't use -fno-builtins...
* math/mathconf.h: Change up builtin macros to new schema.
* bits/std_cmath.h: And here. Wheee!
* shadow/bits/std_cmath.h: And here.
* acconfig.h: Change up builtin macros here.
* math/cosf.c:  Remove.
* math/fabsf.c:  Likewise.
* math/sinf.c:  Likewise.
* math/sqrtf.c:  Likewise.
* math/Makefile.am (EXTRA_DIST):  Remove those four files.
* math/Makefile.in:  Regenerate.

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

23 years ago2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Thu, 22 Jun 2000 23:17:58 +0000 (23:17 +0000)]
2000-06-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acconfig.h: Change up builtin macros here.
* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
link against libm and don't use -fno-builtins...

* math/cosf.c:  Remove.
* math/fabsf.c:  Likewise.
* math/sinf.c:  Likewise.
* math/sqrtf.c:  Likewise.
* math/Makefile.am (EXTRA_DIST):  Remove those four files.
* math/Makefile.in:  Regenerate.

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

23 years ago * toplev.c (compile_file): Always call timevar_print.
jason [Thu, 22 Jun 2000 21:01:04 +0000 (21:01 +0000)]
    * toplev.c (compile_file): Always call timevar_print.
        * Makefile.in (calls.o): Depend on TIMEVAR_H.

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

23 years ago * pt.c (tsubst_decl, case FUNCTION_DECL): Clear DECL_SAVED_TREE.
jason [Thu, 22 Jun 2000 20:54:48 +0000 (20:54 +0000)]
    * pt.c (tsubst_decl, case FUNCTION_DECL): Clear DECL_SAVED_TREE.
        (tsubst_friend_function): Copy it here.

        * decl.c (grok_op_properties): Fix typo.

        * decl2.c (delete_sanity): Clarify warning, avoid failure on
        deleting void*.

        * pt.c (check_explicit_specialization): Clarify error.

        * decl.c (pushdecl): Also pull out one of the FUNCTION_DECLs from
        an old OVERLOAD when we're declaring a non-function.
        (pushdecl, destroy_local_var): Check for error_mark_node.
        (warn_extern_redeclared_static): Also bail early if
        we're a CONST_DECL.
        (push_overloaded_decl): Ignore an old error_mark_node.

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

23 years agonew
jason [Thu, 22 Jun 2000 20:51:42 +0000 (20:51 +0000)]
new

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

23 years ago * gcc.c-torture/execute/20000622-1.c: New test.
jakub [Thu, 22 Jun 2000 20:40:52 +0000 (20:40 +0000)]
* gcc.c-torture/execute/20000622-1.c: New test.

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

23 years ago2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Thu, 22 Jun 2000 17:27:57 +0000 (17:27 +0000)]
2000-06-22  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/find.cc: Patch.

2000-06-22  Benjamin Kosnik  <bkoz@soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
an easy way to get at g++ without having to link in libstdc++.

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

23 years ago * g++.old-deja/g++.other/init15.C: New test.
nathan [Thu, 22 Jun 2000 09:42:31 +0000 (09:42 +0000)]
* g++.old-deja/g++.other/init15.C: New test.

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

23 years ago * varasm.c (constant_descriptor): Make contents unsigned char.
nathan [Thu, 22 Jun 2000 09:42:10 +0000 (09:42 +0000)]
* varasm.c (constant_descriptor): Make contents unsigned char.
(mark_const_hash_entry): Adjust.
(const_hash): Just hash the code of unknown nodes.
(compare_constant_1): Adjust for unsigned char.
Use language specific expander on unknown nodes.
(record_constant_1): Likewise.

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

23 years ago * g++.old-deja/g++.pt/vaarg2.C: New test.
nathan [Thu, 22 Jun 2000 09:29:00 +0000 (09:29 +0000)]
* g++.old-deja/g++.pt/vaarg2.C: New test.
* g++.old-deja/g++.pt/vaarg3.C: New test.

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

23 years ago * call.c (build_x_va_arg): Check if in a template decl.
nathan [Thu, 22 Jun 2000 09:27:15 +0000 (09:27 +0000)]
* call.c (build_x_va_arg): Check if in a template decl.
* pt.c (tsubst_copy, case VA_ARG_EXPR): Use build_x_va_arg.

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

23 years agoDaily bump.
law [Thu, 22 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Thu, 22 Jun 2000 06:19:44 +0000 (06:19 +0000)]
2000-06-21  Benjamin Kosnik  <bkoz@soma.redhat.com>

Fix alpha, powerpc build failures.
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
re-write. Need to check for both proper declaration when using a
c++ compiler, and "C" linkage when linking. Do both, and if both
exist, then define the HAVE_* bits in config.h.
(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_n): New, uber-macros. Does all.
(GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
program, doh.

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

23 years ago2000-06-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 22 Jun 2000 05:17:35 +0000 (05:17 +0000)]
2000-06-21  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* except.c (prepare_eh_table_type): Use `CATCH_ALL_TYPE'.

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

* check-init.c (ENABLE_JC1_CHECKING): Replaces ENABLE_CHECKING for
Java specific checks.
* expr.c (build_instanceof): CLASS_INTERFACE and CLASS_FINAL usage
screened by DECL_P.
* java-tree.def (CASE_EXPR): Marked 'e'.
(DEFAULT_EXPR): Likewise.
* jcf-parse.c (set_source_filename): CLASS_COMPLETE_P usage
screened by DECL_P.
* jcf-write.c (ENABLE_JC1_CHECKING): Replaces ENABLE_CHECKING for
Java specific checks.
(generate_bytecode_insns): Test try_block for BLOCK before using
BLOCK_EXPR_BODY.
* parse.y (build_wfl_wrap): Added `location' argument. Set
EXPR_WFL_LINECOL accordingly.
(dim_expr:): Wrap constants with WFLs.
(method_declarator): Use TREE_TYPE not TYPE_NAME on GET_CPC.
(resolve_package): Check for `stmt' not being a BLOCK before
building a debuggable statement with it.
(make_qualified_primary): Added extra parameter to build_wfl_wrap
invocation.
(resolve_field_access): Make sure `decl' is a DECL before treating
it as such.
(maybe_build_primttype_type_ref): Make sure `wfl''s node is an
IDENTIFIER_NODE before treating it as such.
(patch_new_array_init): Make sure `elt' is a TREE_LIST before
treating it as such.
(find_applicable_accessible_methods_list): CLASS_INTERFACE macro
to be applied only on non array types.

2000-06-16  Per Bothner  <per@bothner.com>

* java-tree.h (LABEL_RETURN_LABELS, LABEL_PENDING_CHAIN):  Don't
define in terms of DECL_RESULT, as that fails when --enable-checking.

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

* parse.h (REGISTER_IMPORT): Use `chainon' to link new entries.
* parse.y (find_in_imports): Returned type changed to void,
leading comment fixed.
(register_package): New function.
(qualify_and_find): Likewise.
(package_declaration:): Use `register_package'.
(single_type_import_declaration:): Removed local variable
`node'. Added missing `;' for consistency.
(type_import_on_demand_declaration:): Use `chainon' to link new
entries.
(lookup_field_wrapper): Lookup local variables defined in outer
contexts first.
(java_complete_class): Don't reverse the list of imported on demand.
(do_resolve_class): Reorganized. Removed local variable
`original_name'. Call `qualify_and_find' with the current package
name, invoke `find_in_imports_on_demand' right after. Call
`qualify_and_find' with the packages we've seen so far. Fixed
operations numbering in comments.
(java_expand_class): Don't reverse `package_list'.
(find_most_specific_methods_list): New local variables `abstract'
and `candidates'. Use them to pick the right method.

(Fixes for the ENABLE_TREE_CHECKING Java run-time build problem:
 http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00551.html)

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

23 years ago * cppfiles.c (cpp_make_system_header): New function.
zack [Wed, 21 Jun 2000 23:08:17 +0000 (23:08 +0000)]
* cppfiles.c (cpp_make_system_header): New function.
* cpplib.h: Prototype it.
* cpplib.c (do_line, do_pragma_system_header): Use it.
* fix-header.c (read_scan_file): Use it.

* fix-header.c (check_macro_names): Cast second arg of
cpp_defined to const unsigned char *.
(read_scan_file): Make getchar_call const unsigned char.

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

23 years ago2000-06-21 Branko Cibej <branko.cibej@hermes.si>
law [Wed, 21 Jun 2000 22:22:41 +0000 (22:22 +0000)]
2000-06-21  Branko Cibej  <branko.cibej@hermes.si>

        * mh-sparcpic: Use single instead of double quotes.
        * mt-sparcpic: Likewise.

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

23 years ago * libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
zack [Wed, 21 Jun 2000 20:13:23 +0000 (20:13 +0000)]
* libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
HAVE_STDLIB_H is defined.

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

23 years ago * Make-lang.in (F77_SRCS): Remove all .j files.
zack [Wed, 21 Jun 2000 20:11:14 +0000 (20:11 +0000)]
* Make-lang.in (F77_SRCS): Remove all .j files.
* Makefile.in (ASSERT_H, CONFIG_H, CONVERT_H, FLAGS_H, GGC_H,
GLIMITS_H, HCONFIG_H, INPUT_H, OUTPUT_H, RTL_H, SYSTEM_H,
TOPLEV_H, TREE_H): Remove references to .j files.
(TCONFIG_H, TM_H): Remove entirely.
(deps-kinda): Delete rule.
Correct commentary.

* assert.j, config.j, convert.j. flags.j, ggc.j, glimits.j,
hconfig.j, input.j, output.j, rtl.j, system.j, toplev.j,
tree.j, tconfig.j, tree.j: Delete.

* ansify.c, bad.c, bit.c, com.c, com.h, intdoc.c, lex.c,
parse.c, proj.c, proj.h, ste.c, target.c, target.h, top.c,
where.c, where.h: Include parent-directory headers directly.
* lex.c: Don't include tree.h twice.

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

23 years ago * Makefile.in (SPLAY_TREE_H): New macro.
zack [Wed, 21 Jun 2000 18:41:38 +0000 (18:41 +0000)]
* Makefile.in (SPLAY_TREE_H): New macro.
(cppfiles.o, cppinit.o): Update dependencies.

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

23 years ago * cppfiles.c: Include splay-tree.h, not hashtab.h.
zack [Wed, 21 Jun 2000 18:33:51 +0000 (18:33 +0000)]
* cppfiles.c: Include splay-tree.h, not hashtab.h.
(redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete.
(destroy_include_file_node): New.
(_cpp_init_include_hash): Rename _cpp_init_include_table.
Create a splay tree, not a hash table.
(open_include_file): Look up the path in the include table,
do the multiple include optimization here, etc.
(cpp_included): Walk the path.
(find_include_file): Just walk the path calling
open_include_file, or call it directly for an absolute path.
(_cpp_fake_ihash): Rename _cpp_fake_include and update for new
scheme.
(read_include_file): Update for new scheme.  Don't close the
file unless reading fails.
(_cpp_execute_include, cpp_read_file): Tweak for new scheme.

* cpphash.h (struct ihash, NEVER_REINCLUDE): Delete.
(struct include_file): New.
(NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New
macros.
(CPP_PEDANTIC, CPP_WTRADITIONAL): Update.
Update prototypes.

* cppinit.c: Include splay-tree.h.
(cpp_reader_init, cpp_cleanup): Update.

* cpplib.h (struct cpp_buffer): Change ihash field to
'struct include_file *inc'.  Remove system_header_p.
(struct cpp_reader): Change all_include_files to a
struct splay_tree_s *.

* cpplex.c: Update all references to cpp_buffer->ihash and/or
cpp_buffer->system_header_p.
(cpp_pop_buffer): Close file here, only if DO_NOT_REREAD.

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

23 years ago2000-06-20 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 21 Jun 2000 18:18:11 +0000 (18:18 +0000)]
2000-06-20  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (push_lang_context): TYPE_NAME gets you to the Java
types DECLs.
* decl.c (check_goto): Computed gotos assumed OK.

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

23 years ago * invoke.texi (g++): "g++" is not a script anymore.
law [Wed, 21 Jun 2000 17:10:00 +0000 (17:10 +0000)]
    * invoke.texi (g++): "g++" is not a script anymore.

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

23 years ago * pt.c (tsubst_decl, case TYPE_DECL): Fix test for TYPE_DECLs
jason [Wed, 21 Jun 2000 16:37:06 +0000 (16:37 +0000)]
    * pt.c (tsubst_decl, case TYPE_DECL): Fix test for TYPE_DECLs
        for which we don't need to look for instantiations.

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

23 years agonew
jason [Wed, 21 Jun 2000 16:29:39 +0000 (16:29 +0000)]
new

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

23 years ago * function.c (round_down): Delete obsolete prototype.
law [Wed, 21 Jun 2000 16:19:22 +0000 (16:19 +0000)]
* function.c (round_down): Delete obsolete prototype.

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

23 years ago * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.
law [Wed, 21 Jun 2000 16:11:39 +0000 (16:11 +0000)]
    * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.

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

23 years ago * parse.y (program): Always call finish_translation_unit.
nathan [Wed, 21 Jun 2000 12:19:17 +0000 (12:19 +0000)]
* parse.y (program): Always call finish_translation_unit.
* parse.c, parse.h: Rebuilt.

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

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

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