1. 27 Jun, 2000 4 commits
    • re GNATS gcj/238 (Can't call methods from Object on an inner class) · ad69b5b6
      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)
      
      From-SVN: r34727
      Bryce McKinlay committed
    • PropertyChangeEvent.java (oldVal): Renamed to oldValue. · 7b245d24
      	* 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
      
      From-SVN: r34726
      Warren Levy committed
    • [multiple changes] · cf1748bf
      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)
      
      From-SVN: r34725
      Alexandre Petit-Bianco committed
    • 1750a.h: Mark help strings for options/switches for translation. · 047142d3
      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.
      
      From-SVN: r34724
      Philipp Thomas committed
  2. 26 Jun, 2000 21 commits
    • 980523-1.c: Add prototype for exit(). · ec611c17
      	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().
      
      From-SVN: r34722
      Franz Sirl committed
    • Add MMX and SSE registers to i386 machine description · a7180f70
      From-SVN: r34721
      Bernd Schmidt committed
    • ssa.c (struct rename_set_data): Change the name of field 'set_dest' to 'old_reg'. · 5397b155
      * 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.
      
      From-SVN: r34720
      Geoff Keating committed
    • [multiple changes] · 644638bc
      
      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.
      
      From-SVN: r34719
      Benjamin Kosnik committed
    • string.tcc (string::rfind): Fix. · 913c27bf
      
      2000-06-13  Brent Verner <brent@rcfile.org>
      
      	* bits/string.tcc (string::rfind): Fix.
      	* testsuite/21_strings/rfind.cc: New file.
      
      From-SVN: r34718
      Brent Verner committed
    • dwarf2.h (enum dwarf_call_frame_info): Add DW_CFA_def_cfa_expression. · 7d9d8943
              * 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.
      
      From-SVN: r34717
      Andrew Macleod committed
    • 20000419-1.c, [...]: Use "target *-*-*", not "target native", in case we are cross-compiling. · 4540727a
      	* 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.
      
      From-SVN: r34716
      Zack Weinberg committed
    • mkcheck.in: Make the *.txt and *.tst files writable after copying them to $TEST_DIR. · 44b1b18c
      2000-06-26  Branko Cibej  <branko.cibej@hermes.si>
      
      	* mkcheck.in:  Make the *.txt and *.tst files writable
      	  after copying them to $TEST_DIR.
      
      From-SVN: r34715
      Branko Cibej committed
    • Makefile.in, [...]: Delete. · 754773e2
      	* 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.
      
      From-SVN: r34714
      Zack Weinberg committed
    • [multiple changes] · 903f51d9
      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.
      
      From-SVN: r34713
      Richard Henderson committed
    • re GNATS gcj/268 (Internal compiler error in for-loop test condition) · 774d2baf
      	* parse.y (for_statement): Wrap expression in a WFL if it is a
      	constant.  For PR gcj/268.
      
      From-SVN: r34712
      Tom Tromey committed
    • c-typeck.c (digest_init): Return error_mark_node node when TREE_TYPE (init) == error_mark_node. · de9a3171
      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.
      
      From-SVN: r34711
      J. David Anglin committed
    • * g++.old-deja/g++.other/ambig3.C: New test. · ed18e47e
      From-SVN: r34710
      Nathan Sidwell committed
    • search.c (hides): Remove. · 0e997e76
      	* search.c (hides): Remove.
      	(is_subobject_of_p): Add most_derived parameter. Use
      	CANONICAL_BINFO.
      	(lookup_field_queue_p): Adjust.
      	(lookup_field_r): Adjust.
      
      From-SVN: r34709
      Nathan Sidwell committed
    • syntax1.C: New test. · 51a5a5e0
      	* 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.
      
      From-SVN: r34708
      Nathan Sidwell committed
    • decl2.c (handle_class_head): Bash typedefs to the type's main decl. · 0404d86f
      	* decl2.c (handle_class_head): Bash typedefs to the type's main
      	decl.
      
      From-SVN: r34707
      Nathan Sidwell committed
    • Daily bump. · 24b55e3a
      From-SVN: r34706
      Jeff Law committed
    • parse.y (do_resolve_class): Minor optimiztion in the package list search. · d6baf6f5
      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.
      
      From-SVN: r34705
      Alexandre Petit-Bianco committed
    • aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without path instead. · cab10d56
      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.
      
      From-SVN: r34704
      Philipp Thomas committed
    • * gcc.dg/20000623-1.c: Prototype exit and abort. · 41035013
      From-SVN: r34703
      Zack Weinberg committed
    • cp-tree.h (genrtl_begin_stmt_expr): Rename to ... · 596fd31c
      	* 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.
      
      From-SVN: r34702
      Mark Mitchell committed
  3. 25 Jun, 2000 10 commits
  4. 24 Jun, 2000 5 commits