]> gcc.gnu.org Git - gcc.git/log
gcc.git
20 years ago* libgcov.c (gcov_exit): Fix two pastos.
Jan Hubicka [Mon, 29 Sep 2003 17:09:36 +0000 (19:09 +0200)]
* libgcov.c (gcov_exit): Fix two pastos.

From-SVN: r71906

20 years agoh8300.md (*tst_extzv_1_n): Combine with the define_split immediately below to form...
Kazu Hirata [Mon, 29 Sep 2003 16:34:09 +0000 (16:34 +0000)]
h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below to form define_insn_and_split.

* config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
define_split immediately below to form define_insn_and_split.

From-SVN: r71903

20 years agoh8300.md (*tstsi_variable_bit): New.
Kazu Hirata [Mon, 29 Sep 2003 16:32:28 +0000 (16:32 +0000)]
h8300.md (*tstsi_variable_bit): New.

* config/h8300/h8300.md (*tstsi_variable_bit): New.
(*tstsi_variable_bit_qi): Likewise.

From-SVN: r71902

20 years agoMAINTAINERS: Move myself from "Write After Approval" to CPU platform maintainers...
Paul Koning [Mon, 29 Sep 2003 16:27:40 +0000 (12:27 -0400)]
MAINTAINERS: Move myself from "Write After Approval" to CPU platform maintainers for pdp11...

* MAINTAINERS: Move myself from "Write After Approval"
to CPU platform maintainers for pdp11 platform.

From-SVN: r71901

20 years agoFixed little typo.
Michael Koch [Mon, 29 Sep 2003 12:05:41 +0000 (12:05 +0000)]
Fixed little typo.

From-SVN: r71900

20 years ago2003-09-29 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 29 Sep 2003 11:53:23 +0000 (11:53 +0000)]
2003-09-29  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java:
(isMulticastAddress): Dont use local variable to store address length.
Let the compiler optimize this.
(getHostName): Merged dcoumentation from classpath.
(getAddress): Likewise.
(getHostAddress): Likewise.
(hashCode): Likewise.
(equals): Likewise.
(toString): Likewise.
(getByName): Likewise.
(getAllByName): Likewise.

From-SVN: r71899

20 years agoIndexColorModel.java: Reformated.
Michael Koch [Mon, 29 Sep 2003 11:28:58 +0000 (11:28 +0000)]
IndexColorModel.java: Reformated.

2003-09-29  Michael Koch  <konqueror@gmx.de>

* java/awt/image/IndexColorModel.java: Reformated.

From-SVN: r71898

20 years agoInetAddress.java, URL.java: Reformated.
Michael Koch [Mon, 29 Sep 2003 11:24:28 +0000 (11:24 +0000)]
InetAddress.java, URL.java: Reformated.

2003-09-29  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java,
java/net/URL.java: Reformated.

From-SVN: r71897

20 years ago12352.cc: Use __attribute__((unused)) for test.
Paolo Carlini [Mon, 29 Sep 2003 08:25:17 +0000 (10:25 +0200)]
12352.cc: Use __attribute__((unused)) for test.

2003-09-29  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/locale/cons/12352.cc:
Use __attribute__((unused)) for test.

From-SVN: r71896

20 years agoboehm.cc (_Jv_BuildGCDescr): Put first word of object in most significant bit of...
Bryce McKinlay [Mon, 29 Sep 2003 07:13:40 +0000 (07:13 +0000)]
boehm.cc (_Jv_BuildGCDescr): Put first word of object in most significant bit of descriptor.

* boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
significant bit of descriptor. Include the vtable and sync_info
fields.

From-SVN: r71895

20 years agocppopts.texi: Use 'dashMP' instead of '-MP' as a cross- reference name.
Phil Edwards [Mon, 29 Sep 2003 06:19:39 +0000 (06:19 +0000)]
cppopts.texi: Use 'dashMP' instead of '-MP' as a cross- reference name.

2003-09-28  Phil Edwards  <phil@codesourcery.com>

* doc/cppopts.texi:  Use 'dashMP' instead of '-MP' as a cross-
reference name.

From-SVN: r71894

20 years ago* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.
Eric Botcazou [Mon, 29 Sep 2003 06:14:59 +0000 (08:14 +0200)]
* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.

From-SVN: r71891

20 years agoDaily bump.
GCC Administrator [Mon, 29 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71888

20 years agoc-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately.
Richard Henderson [Sun, 28 Sep 2003 22:18:33 +0000 (15:18 -0700)]
c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately.

        * c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
        file and line separately.

f/
        * com.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
        file and line separately.
java/
        * check-init.c (check_init): Save and restore input_location
        instead of file and line separately.
        * decl.c (java_expand_body): Likewise.
        * jcf-write.c (generate_bytecode_insns): Likewise.
        * parse.y (safe_layout_class): Likewise.
        * jcf-parse.c (read_class, parse_class_file): Likewise.
        (java_parse_file): Use %H for warning locator.

From-SVN: r71886

20 years agos390.md ("*adddi3_carry1_cc", [...]): New insns.
Ulrich Weigand [Sun, 28 Sep 2003 19:17:49 +0000 (19:17 +0000)]
s390.md ("*adddi3_carry1_cc", [...]): New insns.

* config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly",
"*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc",
"*subdi3_borrow_cconly"): New insns.
("*addsi3_sub", "*subsi3_sub"): Remove.
("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT.
("*subsi3_cc"): Fix op_type attribute.

From-SVN: r71885

20 years agostmt.c (expand_asm_operands): Take a location_t, instead of individual file and line.
Richard Henderson [Sun, 28 Sep 2003 19:09:53 +0000 (12:09 -0700)]
stmt.c (expand_asm_operands): Take a location_t, instead of individual file and line.

        * stmt.c (expand_asm_operands): Take a location_t, instead of
        individual file and line.
        * c-typeck.c (c_expand_asm_operands): Likewise.
        * tree.h (expand_asm_operands): Update decl.
        * c-common.h (c_expand_asm_operands): Likewise.
        * c-semantics (genrtl_asm_stmt): Update call.
cp/
        * typeck.c (c_expand_asm_operands): Take location_t, instead of
        individual file and line.
ada/
        * trans.c (tree_transform): Update call to expand_asm_operands.

From-SVN: r71884

20 years agoexpr.c (java_check_reference): Use the semantics of COND_EXPRs with void-type branche...
Roger Sayle [Sun, 28 Sep 2003 15:07:05 +0000 (15:07 +0000)]
expr.c (java_check_reference): Use the semantics of COND_EXPRs with void-type branches instead of using a...

* expr.c (java_check_reference): Use the semantics of COND_EXPRs
with void-type branches instead of using a COMPOUND_EXPR.

From-SVN: r71883

20 years agodecl.c (java_optimize_inline, [...]): Remove.
Jeff Sturm [Sun, 28 Sep 2003 13:23:12 +0000 (13:23 +0000)]
decl.c (java_optimize_inline, [...]): Remove.

* decl.c (java_optimize_inline, dump_function): Remove.
* java-tree.h (java_optimize_inline): Remove declaration.
* jcf-parse.c (java_parse_file): Assume flag_unit_at_a_time is set.
* parse.y (source_end_java_method, java_expand_classes):
Likewise.  Remove dead code.

From-SVN: r71882

20 years agoarm.c (legitimize_pic_address): Check SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.
Philip Blundell [Sun, 28 Sep 2003 12:33:10 +0000 (12:33 +0000)]
arm.c (legitimize_pic_address): Check SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.

2003-09-28  Philip Blundell  <philb@gnu.org>

* config/arm/arm.c (legitimize_pic_address): Check
SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.
(arm_assemble_integer): Likewise.

From-SVN: r71881

20 years agopdp11-protos.h, [...]: Convert to ISO C90 function declarations and definitions.
Steven Bosscher [Sun, 28 Sep 2003 12:09:07 +0000 (12:09 +0000)]
pdp11-protos.h, [...]: Convert to ISO C90 function declarations and definitions.

* config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
config/c4x/c4x-c.c, config/c4x/c4x-protos.h, config/c4x/c4x.c,
config/c4x/c4x.h:
Convert to ISO C90 function declarations and definitions.

From-SVN: r71880

20 years agofriend19.C: Fix typo.
Kriang Lerdsuwanakij [Sun, 28 Sep 2003 11:42:16 +0000 (11:42 +0000)]
friend19.C: Fix typo.

* g++.dg/template/friend19.C: Fix typo.
* g++.old-deja/g++.other/crash31.C: Adjust expected error.

From-SVN: r71879

20 years agostormy16.c, [...]: Convert to ISO C90 function declarations and definitions.
Steven Bosscher [Sun, 28 Sep 2003 09:51:52 +0000 (09:51 +0000)]
stormy16.c, [...]: Convert to ISO C90 function declarations and definitions.

* config/stormy16/stormy16.c, config/stormy16/stormy16-protos.h:
Convert to ISO C90 function declarations and definitions.

From-SVN: r71878

20 years agomips.c (mips_constant_info): Add reloc field.
Richard Sandiford [Sun, 28 Sep 2003 07:39:30 +0000 (07:39 +0000)]
mips.c (mips_constant_info): Add reloc field.

* config/mips/mips.c (mips_constant_info): Add reloc field.
(mips_classify_constant): Initialize it.  Always set SYMBOL to the
underlying symbol, not to an unspec.
(mips_delegitimize_address, print_operand): Clean up accordingly.

From-SVN: r71877

20 years agomips-protos.h (mips16_gp_pseudo_reg): Remove.
Richard Sandiford [Sun, 28 Sep 2003 07:38:14 +0000 (07:38 +0000)]
mips-protos.h (mips16_gp_pseudo_reg): Remove.

* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment.
* config/mips/mips.c (mips_reloc_offset_ok_p): New function.
(mips_classify_constant): Use it.
(mips_splittable_symbol_p): Add an offset argument.
(mips_classify_address): Adjust call accordingly.
(mips_legitimize_symbol): Handle sdata references with LO_SUM rather
than a relocation unspec.  Update call to mips_splittable_symbol_p.
Generalize the code that copes with symbols + invalid offsets.
(print_operand): Allow '%R' to be applied to small data addresses.
(mips_reloc_string): Remove RELOC_GPREL16.
(mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg.  Return $gp
for TARGET_EXPLICIT_RELOCS.  Return null if we can't use gp-relative
relocation operators.
* config/mips/mips.md (RELOC_GPREL16): Remove.  Shuffle other reloc
constants accordingly.

From-SVN: r71876

20 years agotoplev.c (flag_evaluation_order): New global variable.
Roger Sayle [Sun, 28 Sep 2003 04:56:35 +0000 (04:56 +0000)]
toplev.c (flag_evaluation_order): New global variable.

* toplev.c (flag_evaluation_order): New global variable.
* flags.h (flag_evaluation_order): Prototype here.
* expr.c (expand_operands): If we need to preserve observable
evaluation order, protect exp1 from clobbering exp0's result.

* java/lang.c (java_init_options): Set flag_evaluation_order.
* java/expr.c (force_evaluation_order): Don't attempt to force
evaluation order of binary operations using save_expr.
* java/parse.y (java_complete_lhs): No longer need to call
force_evaluation_order when constructing binary operators.

From-SVN: r71873

20 years agoc-decl.c (finish_function): Convert definition to ISO C90.
Andreas Jaeger [Sun, 28 Sep 2003 04:37:41 +0000 (06:37 +0200)]
c-decl.c (finish_function): Convert definition to ISO C90.

* c-decl.c (finish_function): Convert definition to ISO C90.
* ifcvt.c (mark_loop_exit_edges): Likewise.
* ra-rewrite.c (emit_colors): Likewise.

For cp:

* decl.c (cxx_builtin_type_decls): Convert to ISO C90 function
definition.
* init.c (push_base_cleanups): Likewise.
* decl2.c (finish_file): Likewise.
* mangle.c (init_mangle): Likewise.
(dump_substitution_candidates): Likewise.
* search.c: Likewise.

From-SVN: r71872

20 years agoDateFormat.java (format): Throw IllegalArgumentException if j' is not a Number or...
Bryce McKinlay [Sun, 28 Sep 2003 04:23:29 +0000 (04:23 +0000)]
DateFormat.java (format): Throw IllegalArgumentException if j' is not a Number or Date instance.

* java/text/DateFormat.java (format): Throw IllegalArgumentException
if j' is not a Number or Date instance.
* java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
instead of Vector.

From-SVN: r71871

20 years agoSimpleDateFormat (parse): Revert patch of 2003-09-25.
Bryce McKinlay [Sun, 28 Sep 2003 03:57:05 +0000 (03:57 +0000)]
SimpleDateFormat (parse): Revert patch of 2003-09-25.

* java/text/SimpleDateFormat (parse): Revert patch of 2003-09-25.
Don't call setTimeZone on calendar.

From-SVN: r71870

20 years agoDaily bump.
GCC Administrator [Sun, 28 Sep 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71868

20 years ago* config.gcc (alpha*-dec-osf[45]*): Disable fixproto.
Nathanael Nerode [Sat, 27 Sep 2003 22:27:10 +0000 (22:27 +0000)]
* config.gcc (alpha*-dec-osf[45]*): Disable fixproto.

From-SVN: r71866

20 years ago* config.gcc (arm*-*-uclinux*): Disable fixproto.
Nathanael Nerode [Sat, 27 Sep 2003 21:43:18 +0000 (21:43 +0000)]
* config.gcc (arm*-*-uclinux*): Disable fixproto.

From-SVN: r71865

20 years agoconfig.gcc (powerpc-*-eabispe*, [...]): Disable fixproto.
Nathanael Nerode [Sat, 27 Sep 2003 21:40:40 +0000 (21:40 +0000)]
config.gcc (powerpc-*-eabispe*, [...]): Disable fixproto.

* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
powerpc-*-eabialtivec*): Disable fixproto.

From-SVN: r71864

20 years ago* libjava.jacks/jacks.xfail: Updated for new passes.
Tom Tromey [Sat, 27 Sep 2003 20:22:03 +0000 (20:22 +0000)]
* libjava.jacks/jacks.xfail: Updated for new passes.

From-SVN: r71863

20 years agore PR java/1333 (private field access modifier not implemented correctly)
Alexandre Petit-Bianco [Sat, 27 Sep 2003 20:17:21 +0000 (13:17 -0700)]
re PR java/1333 (private field access modifier not implemented correctly)

2003-09-27  Alexandre Petit-Bianco  <apbianco@redhat.com>
    Bryce McKinlay  <bryce@mckinlay.net.nz>

PR java/1333:
* parse.y (not_accessible_field_error): New function.
(resolve_expression_name): Check field access permissions.
(resolve_qualified_expression_name): Use
not_accessible_field_error.
(resolve_qualified_expression_name): Likewise.

Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz>
From-SVN: r71862

20 years agore PR rtl-optimization/12340 (loop unroller + gcse produces wrong code)
Eric Botcazou [Sat, 27 Sep 2003 17:18:25 +0000 (19:18 +0200)]
re PR rtl-optimization/12340 (loop unroller + gcse produces wrong code)

PR optimization/12340
* loop.h (struct induction): Document the new semantics
of the 'same' field for bivs.
* unroll.c (biv_total_increment): Don't count the same
biv increment several times.
(loop_iterations) [GENERAL_INDUCT]: Likewise.

From-SVN: r71859

20 years agoname-lookup.h (get_global_value_if_present): New function.
Gabriel Dos Reis [Sat, 27 Sep 2003 16:44:05 +0000 (16:44 +0000)]
name-lookup.h (get_global_value_if_present): New function.

* name-lookup.h (get_global_value_if_present): New function.
(is_typename_at_global_scope): Likewise.
* except.c (do_begin_catch): Use get_global_value_if_present.
(do_end_catch): Likewise.
(do_allocate_exception): Likewise.
(do_free_exception): Likewise.
(build_throw): Likewise.
* parser.c (cp_parser_member_declaration): Likewise.
* rtti.c (throw_bad_cast): Likewise.
(throw_bad_typeid): Likewise.
* decl.c (check_tag_decl): Use is_typename_at_global_scope.
(grokdeclarator): Likewise.
* cp-tree.h (global_namespace): Move to name-lookup.h
* call.c (call_builtin_trap): Tidy.

From-SVN: r71858

20 years agoCorrect PR number.
Kriang Lerdsuwanakij [Sat, 27 Sep 2003 16:40:29 +0000 (16:40 +0000)]
Correct PR number.

From-SVN: r71857

20 years agore PR c++/11415 (Error message with ::::)
Kriang Lerdsuwanakij [Sat, 27 Sep 2003 16:34:28 +0000 (16:34 +0000)]
re PR c++/11415 (Error message with ::::)

PR c++/11413
* parser.c (cp_parser_nested_name_specifier_opt): Issue correct
error message when parser->scope is global_namespace.

From-SVN: r71856

20 years ago* unroll.c(loop_interations)[GT]: Add missing break.
Graham Stott [Sat, 27 Sep 2003 15:33:27 +0000 (15:33 +0000)]
* unroll.c(loop_interations)[GT]: Add missing break.

From-SVN: r71854

20 years agoURL.java (getURLStreamHandler): Compile fixes.
Michael Koch [Sat, 27 Sep 2003 13:09:19 +0000 (13:09 +0000)]
URL.java (getURLStreamHandler): Compile fixes.

2003-09-27  Michael Koch  <konqueror@gmx.de>

* java/net/URL.java (getURLStreamHandler): Compile fixes.

From-SVN: r71853

20 years agoURL.java (getURLStreamHandler): Check if we have to use cache before trying to retrie...
Michael Koch [Sat, 27 Sep 2003 12:38:05 +0000 (12:38 +0000)]
URL.java (getURLStreamHandler): Check if we have to use cache before trying to retrieve handler from cache.

2003-09-27  Michael Koch  <konqueror@gmx.de>

* java/net/URL.java (getURLStreamHandler):
Check if we have to use cache before trying to retrieve handler from
cache. Rename facName to clsName to match classpath more. Reformated
some little pieces.

From-SVN: r71852

20 years agoCorrect previous ChangeLog entry.
R. Kelley Cook [Sat, 27 Sep 2003 04:53:13 +0000 (04:53 +0000)]
Correct previous ChangeLog entry.

From-SVN: r71851

20 years agoGNU CC -> GCC
Kelley Cook [Sat, 27 Sep 2003 04:48:30 +0000 (04:48 +0000)]
GNU CC -> GCC

From-SVN: r71850

20 years ago2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE...
Ulrich Weigand [Sat, 27 Sep 2003 03:28:15 +0000 (03:28 +0000)]
2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE locale.

* testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
"Son" or "So" as abbreviated name for Sunday in de_DE locale.
* testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.

From-SVN: r71849

20 years agocp-tree.h, [...]: Remove reference to macros BINDING_SCOPE, BINDING_VALUE and BINDING...
Gabriel Dos Reis [Sat, 27 Sep 2003 01:55:13 +0000 (01:55 +0000)]
cp-tree.h, [...]: Remove reference to macros BINDING_SCOPE, BINDING_VALUE and BINDING_TYPE.

* cp-tree.h, name-lookup.h, decl.c, decl2.c: Remove reference to
macros  BINDING_SCOPE, BINDING_VALUE and BINDING_TYPE.

From-SVN: r71848

20 years agoDaily bump.
GCC Administrator [Sat, 27 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71846

20 years agoobjc-act.c (tm_p.h): Tweak order.
Loren J. Rittle [Fri, 26 Sep 2003 23:28:55 +0000 (23:28 +0000)]
objc-act.c (tm_p.h): Tweak order.

* objc/objc-act.c (tm_p.h): Tweak order.
* objc/Make-lang.in (objc/objc-act.o): Add $(TM_P_H).

From-SVN: r71844

20 years ago* objc/objc-act.c (tm_p.h): Tweak order.
Loren J. Rittle [Fri, 26 Sep 2003 22:45:29 +0000 (22:45 +0000)]
* objc/objc-act.c (tm_p.h): Tweak order.

From-SVN: r71843

20 years agoconfig.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*): Include t-slibgcc-elf-ver and...
Nathanael Nerode [Fri, 26 Sep 2003 22:13:33 +0000 (22:13 +0000)]
config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*): Include t-slibgcc-elf-ver and t-linux in tmake_file.

* config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*):
Include t-slibgcc-elf-ver and t-linux in tmake_file.

From-SVN: r71842

20 years agore PR java/12426 (gcj allows access to private members from superclass)
Michael Koch [Fri, 26 Sep 2003 22:02:05 +0000 (22:02 +0000)]
re PR java/12426 (gcj allows access to private members from superclass)

2003-09-27  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SelectionKeyImpl.java
(ch): Make package-private again. Jikes found this bug.
Jeff Sturm submitted PR12426 for this to bugzilla
to fix this bug in gcj.

From-SVN: r71841

20 years agoconfig.gcc (hppa*64*-*-linux* | parisc*64-*-linux*): Disable fixproto.
Nathanael Nerode [Fri, 26 Sep 2003 21:07:56 +0000 (21:07 +0000)]
config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*): Disable fixproto.

* config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*):
Disable fixproto.

From-SVN: r71838

20 years agoconfig.gcc (i960-*-coff*, [...]): Disable fixproto.
Nathanael Nerode [Fri, 26 Sep 2003 21:01:02 +0000 (21:01 +0000)]
config.gcc (i960-*-coff*, [...]): Disable fixproto.

* config.gcc (i960-*-coff*, m68k-*-aout*, sparclite-*-coff*):
Disable fixproto.

From-SVN: r71837

20 years agoconfig.gcc (i[34567]86-*-solaris2*, [...]): Disable fixproto.
Nathanael Nerode [Fri, 26 Sep 2003 20:57:28 +0000 (20:57 +0000)]
config.gcc (i[34567]86-*-solaris2*, [...]): Disable fixproto.

* config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*,
sparcv9-*-solaris2*, sparc-*-solaris2*): Disable fixproto.

From-SVN: r71836

20 years ago* config/i386/unix.h: Remove (unused) DEFAULT_ASSEMBLER_DIALECT.
Nathanael Nerode [Fri, 26 Sep 2003 20:46:47 +0000 (20:46 +0000)]
* config/i386/unix.h: Remove (unused) DEFAULT_ASSEMBLER_DIALECT.

From-SVN: r71835

20 years agoi386.h (ix86_return_in_memory): Revert my last patch.
Loren J. Rittle [Fri, 26 Sep 2003 20:26:00 +0000 (20:26 +0000)]
i386.h (ix86_return_in_memory): Revert my last patch.

* config/i386/i386.h (ix86_return_in_memory): Revert my last patch.
* objc/objc-act.c (tm_p.h): Include.

From-SVN: r71834

20 years ago10132-1.cc: Explicitly qualify exceptions.
Brad Spencer [Fri, 26 Sep 2003 20:20:55 +0000 (20:20 +0000)]
10132-1.cc: Explicitly qualify exceptions.

2003-09-26  Brad Spencer  <spencer@infointeractive.com>

* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
Explicitly qualify exceptions.
* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
* testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
* testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.

From-SVN: r71832

20 years agoRMIClassLoader.java: Reformatted file, no functional code changes.
Michael Koch [Fri, 26 Sep 2003 20:03:28 +0000 (20:03 +0000)]
RMIClassLoader.java: Reformatted file, no functional code changes.

2003-09-26  Michael Koch  <konqueror@gmx.de>

* java/rmi/server/RMIClassLoader.java:
Reformatted file, no functional code changes.

From-SVN: r71831

20 years ago[multiple changes]
Michael Koch [Fri, 26 Sep 2003 19:59:56 +0000 (19:59 +0000)]
[multiple changes]

2003-09-26  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
Save space for some pixels at the buffer end.  Added Javadoc.

2003-09-26  Tom Tromey  <tromey@redhat.com>

* java/io/ObjectOutputStream.java (writeFields): Fixed
indentation.
(putFields): Likewise.

From-SVN: r71829

20 years agodbxout.c (dbxout_typedefs): Output typedefs in forward order.
Per Bothner [Fri, 26 Sep 2003 19:38:27 +0000 (19:38 +0000)]
dbxout.c (dbxout_typedefs): Output typedefs in forward order.

* dbxout.c (dbxout_typedefs):  Output typedefs in forward order.
No longer any need to reverse by recursion.

From-SVN: r71828

20 years agore PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)
Roger Sayle [Fri, 26 Sep 2003 18:23:33 +0000 (18:23 +0000)]
re PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)

PR optimization/11741
* gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
appropriate set to match that in hash_scan_insn.  Fall back to
the original copy method, if we can't validate changing insn.
(pre_delete): Only delete instructions that have a single_set,
instead of aborting when we encounter an PARALLEL insn with more
then one SET.

* gcc.dg/20030926-1.c: New test case.

From-SVN: r71827

20 years agos390.md ("builtin_setjmp_setup"): Insn deleted.
Andreas Krebbel [Fri, 26 Sep 2003 16:41:58 +0000 (16:41 +0000)]
s390.md ("builtin_setjmp_setup"): Insn deleted.

2003-09-26  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md ("builtin_setjmp_setup"): Insn deleted.
("builtin_longjmp"): Insn deleted.
("save_stack_nonlocal"): Save literal pool base pointer behind
backchain and stack pointer.
("restore_stack_nonlocal"): Restore literal pool base pointer.
* config/s390/s390.h (STACK_SAVEAREA_MODE): Double size of
the stack save area for the nonlocal goto case.

From-SVN: r71826

20 years agoByteBufferHelper.java: Totally reworked with help from Eric Blake.
Michael Koch [Fri, 26 Sep 2003 16:22:09 +0000 (16:22 +0000)]
ByteBufferHelper.java: Totally reworked with help from Eric Blake.

2003-09-26  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBufferHelper.java:
Totally reworked with help from Eric Blake.

From-SVN: r71823

20 years agore PR bootstrap/12358 (Bootstrap comparison failure!)
John David Anglin [Fri, 26 Sep 2003 16:03:12 +0000 (16:03 +0000)]
re PR bootstrap/12358 (Bootstrap comparison failure!)

PR bootstrap/12358
* pa.c (output_bvb): Fix typo.

From-SVN: r71822

20 years agodecl.c (pop_binding_level, [...]): Merge into leave_scope.
Gabriel Dos Reis [Fri, 26 Sep 2003 15:21:30 +0000 (15:21 +0000)]
decl.c (pop_binding_level, [...]): Merge into leave_scope.

        * decl.c (pop_binding_level, suspend_binding_level,
        find_class_binding_level): Merge into leave_scope.  Remove.
        (leave_scope):  New function.
        (poplevel): Update.
        (poplevel_class): Likewise.
        (pop_namespace): Likewise.

From-SVN: r71821

20 years agoRoundRectangle2D.java (getPathIterator): Wrote.
Tom Tromey [Fri, 26 Sep 2003 15:14:21 +0000 (15:14 +0000)]
RoundRectangle2D.java (getPathIterator): Wrote.

* java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
* java/awt/geom/PathIterator.java: Documentation fixes.

From-SVN: r71820

20 years agoexpmed.c (store_bit_field): Don't search for an integer mode unless we need the result.
Richard Sandiford [Fri, 26 Sep 2003 13:28:45 +0000 (13:28 +0000)]
expmed.c (store_bit_field): Don't search for an integer mode unless we need the result.

* expmed.c (store_bit_field): Don't search for an integer mode
unless we need the result.

From-SVN: r71819

20 years agoexpr.c (emit_move_insn_1): If there is no move pattern for the original mode...
Richard Sandiford [Fri, 26 Sep 2003 06:08:48 +0000 (06:08 +0000)]
expr.c (emit_move_insn_1): If there is no move pattern for the original mode...

* expr.c (emit_move_insn_1): If there is no move pattern for the
original mode, try using a pattern for the corresponding integer mode.

From-SVN: r71816

20 years ago* combine.c (if_then_else_cond): Tighten mode check.
Richard Sandiford [Fri, 26 Sep 2003 06:05:48 +0000 (06:05 +0000)]
* combine.c (if_then_else_cond): Tighten mode check.

From-SVN: r71815

20 years agocppcharset.c, cpphash.h: Rename 'struct strbuf' to 'struct _cpp_strbuf'.
Nathanael Nerode [Fri, 26 Sep 2003 05:52:43 +0000 (05:52 +0000)]
cppcharset.c, cpphash.h: Rename 'struct strbuf' to 'struct _cpp_strbuf'.

* cppcharset.c, cpphash.h: Rename 'struct strbuf' to
'struct _cpp_strbuf'.

From-SVN: r71814

20 years agonetbsd-elf.h, [...]: Replace "GNU CC", "GNU compiler", and "GNU C-compiler" with...
Nathanael Nerode [Fri, 26 Sep 2003 04:07:46 +0000 (04:07 +0000)]
netbsd-elf.h, [...]: Replace "GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".

* config/i386/netbsd-elf.h, config/i386/netbsd64.h,
config/i386/netware.h, config/i386/nto.h, config/i386/openbsd.h,
config/i386/pentium.md, config/i386/pmmintrin.h, config/i386/ppro.md,
config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h,
config/i386/sol2.h, config/i386/svr3gas.h, config/i386/sysv3.h,
config/i386/sysv4-cpp.h, config/i386/sysv4.h, config/i386/sysv5.h,
config/i386/unix.h, config/i386/uwin.h, config/i386/vsta.h,
config/i386/xm-cygwin.h, config/i386/xm-djgpp.h,
config/i386/xm-mingw32.h, config/i386/xmmintrin.h: Replace
"GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".

From-SVN: r71813

20 years agoFix build failure.
Jeff Sturm [Fri, 26 Sep 2003 03:50:45 +0000 (03:50 +0000)]
Fix build failure.

* gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
(select): Likewise.
(register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.

From-SVN: r71812

20 years agoi386-aout.h, [...]: GNU CC -> GCC.
Nathanael Nerode [Fri, 26 Sep 2003 03:46:06 +0000 (03:46 +0000)]
i386-aout.h, [...]: GNU CC -> GCC.

* config/i386/i386-aout.h, config/i386/i386-coff.h,
config/i386/i386-interix.h, config/i386/i386-interix3.h,
config/i386/i386-modes.def, config/i386/i386-protos.h,
config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
config/i386/i386elf.h, config/i386/k6.md, config/i386/kaos-i386.h,
config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h,
config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
config/i386/mmintrin.h, config/i386/moss.h: GNU CC -> GCC.
"GNU compiler" -> GCC.

From-SVN: r71811

20 years agoatt.h, [...]: GNU CC -> GCC.
Nathanael Nerode [Fri, 26 Sep 2003 03:28:27 +0000 (03:28 +0000)]
att.h, [...]: GNU CC -> GCC.

* config/i386/att.h, config/i386/beos-elf.h, config/i386/biarch64.h,
config/i386/bsd.h, config/i386/crtdll.h, config/i386/cygming.h,
config/i386/cygwin.h, config/i386/cygwin1.c, config/i386/cygwin2.c,
config/i386/darwin.h, config/i386/djgpp.h, config/i386/emmintrin.h,
config/i386/freebsd-aout.h, config/i386/freebsd.h,
config/i386/freebsd64.h, config/i386/gas.h: GNU CC -> GCC.

From-SVN: r71810

20 years agore PR libstdc++/12352 (Exception safety problems in src/localename.cc)
Paolo Carlini [Fri, 26 Sep 2003 00:22:01 +0000 (02:22 +0200)]
re PR libstdc++/12352 (Exception safety problems in src/localename.cc)

2003-09-25  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/12352
* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
size_t)): Don't leak if memory allocations for _M_facets,
_M_caches, and _M_names fail.
(locale::_Impl::_Impl(const char*, size_t)): Ditto.
(locale::_Impl::_M_replace_categories(const _Impl*,
category)): Ditto.
(locale::_Impl::_M_install_facet(const locale::id*,
const facet*)): Ditto.
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Don't leak memory.
* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.

* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
bool)): Qualify with std:: strcpy, tweak.
* include/bits/locale_classes.h
(locale::_Impl::_M_check_same_name): Qualify strcmp.

From-SVN: r71808

20 years agoDaily bump.
GCC Administrator [Fri, 26 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71806

20 years agocgraph.c (dump_cgraph): Don't output newline before dump.
Kelley Cook [Fri, 26 Sep 2003 00:14:28 +0000 (00:14 +0000)]
cgraph.c (dump_cgraph): Don't output newline before dump.

2003-09-23  Kelley Cook  <kelleycook@wideopenwest.com>

* cgraph.c (dump_cgraph):  Don't output newline before dump.  Add in
"local" to the callgraph dump.  Output "after inlining" earlier.
* cgraphunit.c: Fix dumpfile whitespace and commonize headers of the
callgraph dumps.  Correct misspellings.
(cgraph_decide_inlining):  Output number of insns before inlining.
Output the calling function into which a function is inlined.
(cgraph_decide_small_functions): Format dump file like always_inline.

From-SVN: r71804

20 years ago* config/i386/i386.h (ix86_return_in_memory): Add prototype.
Loren J. Rittle [Thu, 25 Sep 2003 23:58:19 +0000 (23:58 +0000)]
* config/i386/i386.h (ix86_return_in_memory): Add prototype.

From-SVN: r71803

20 years agos390.c (s390_emit_prologue): Simplify accesses to FPR slots in the save area.
Ulrich Weigand [Thu, 25 Sep 2003 21:38:43 +0000 (21:38 +0000)]
s390.c (s390_emit_prologue): Simplify accesses to FPR slots in the save area.

* config/s390/s390.c (s390_emit_prologue): Simplify accesses to
FPR slots in the save area.
(s390_emit_epilogue): Likewise.

From-SVN: r71799

20 years ago[multiple changes]
Benjamin Kosnik [Thu, 25 Sep 2003 21:32:14 +0000 (21:32 +0000)]
[multiple changes]

2003-09-25  Brad Spencer  <spencer@infointeractive.com>

PR libstdc++/6072
* acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
wcstof, iswblank.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* crossconfig.m4: Add in wchar_t bits for solaris crosses.
* config/io/basic_file_stdio.cc: Guard unistd.h.
* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
* include/c_std/std_cwchar.h: Same.
* include/c_std/std_cwctype.h: Same.

2003-09-25  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/11065
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
* config/locale/generic/ctype_members.cc: Same.
* testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
* testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.

* config/os/generic/ctype_inline.h: Update.

From-SVN: r71798

20 years ago2003-09-25 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 25 Sep 2003 21:14:43 +0000 (21:14 +0000)]
2003-09-25  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(getNativeFD): New method.
* gnu/java/nio/SelectionKeyImpl.java
(SelectionKeyImpl): Class made abstract.
(fd): Removed.
(SelectionKeyImpl): Remove fd argument.
(getNativeFD): New method.
* gnu/java/nio/SocketChannelImpl.java
(getNativeFD): New method.
gnu/java/nio/DatagramChannelSelectionKey.java,
* gnu/java/nio/SocketChannelSelectionKey.java:
New files.
* Makefile.am (ordinary_java_source_files):
Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
gnu/java/nio/SocketChannelSelectionKey.java.
* Makefile.in: Regenerated.

From-SVN: r71797

20 years ago2003-09-25 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 25 Sep 2003 20:46:14 +0000 (20:46 +0000)]
2003-09-25  Michael Koch  <konqueror@gmx.de>

* java/lang/reflect/Proxy.java
(getProxyClass): Remove workaround for gcj 3.0.x.

From-SVN: r71796

20 years agore PR c++/6072 (3.2 g++ testsuite breakage on cygwin)
Brad Spencer [Thu, 25 Sep 2003 20:30:20 +0000 (20:30 +0000)]
re PR c++/6072 (3.2 g++ testsuite breakage on cygwin)

2003-09-25  Brad Spencer  <spencer@infointeractive.com>

PR libstdc++/6072
* acinclude.m4:
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* crossconfig.m4: Add in wchar_t bits for solaris crosses.
* config/io/basic_file_stdio.cc: Guard unistd.h.
* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
* include/c_std/std_cwchar.h: Same.
* include/c_std/std_cwctype.h: Same.

From-SVN: r71795

20 years ago2003-09-25 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 25 Sep 2003 19:22:32 +0000 (19:22 +0000)]
2003-09-25  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/PlainDatagramSocketImpl.java
(finalize): Moved to directly after constructor.
(getNativeFD): New method.
* gnu/java/net/PlainSocketImpl.java
(getNativeFD): New method.

From-SVN: r71792

20 years agoObjectOutputStream.java: Allow putFields be called more than once.
Ingo Proetel [Thu, 25 Sep 2003 19:06:20 +0000 (19:06 +0000)]
ObjectOutputStream.java: Allow putFields be called more than once.

2003-09-25  Ingo Proetel  <proetel@aicas.com>

* java/io/ObjectOutputStream.java:
Allow putFields be called more than once.

From-SVN: r71791

20 years agoReally commit the files.
Sascha Brawer [Thu, 25 Sep 2003 18:35:44 +0000 (18:35 +0000)]
Really commit the files.

From-SVN: r71790

20 years agoRaster.java (Raster): Interpret null origin as (0,0).
Sascha Brawer [Thu, 25 Sep 2003 18:31:48 +0000 (18:31 +0000)]
Raster.java (Raster): Interpret null origin as (0,0).

2003-09-25  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
* java/awt/image/WritableRaster.java(WritableRaster): Likewise.
* java/awt/image/BufferedImage.java (toString): Implement.

From-SVN: r71789

20 years agoaclocal.m4: Rebuilt.
Jeff Sturm [Thu, 25 Sep 2003 18:26:53 +0000 (18:26 +0000)]
aclocal.m4: Rebuilt.

* aclocal.m4: Rebuilt.
* configure: Rebuilt.

From-SVN: r71788

20 years agocgraph.h (cgraph_remove_edge): Declare.
Richard Sandiford [Thu, 25 Sep 2003 18:11:19 +0000 (18:11 +0000)]
cgraph.h (cgraph_remove_edge): Declare.

* cgraph.h (cgraph_remove_edge): Declare.
* cgraph.c (cgraph_remove_edge): Make extern.
* cgraphunit.c (cgraph_finalize_function): Call cgraph_remove_edge
instead of cgraph_remove_call.

From-SVN: r71784

20 years ago* objc/objc-act.c (gen_declaration_1): Fix printf format.
Ulrich Weigand [Thu, 25 Sep 2003 17:53:41 +0000 (17:53 +0000)]
* objc/objc-act.c (gen_declaration_1): Fix printf format.

From-SVN: r71783

20 years agoSimpleDateFormat.java (parse): Don't use class calendar field.
Guilhem Lavaux [Thu, 25 Sep 2003 17:25:15 +0000 (17:25 +0000)]
SimpleDateFormat.java (parse): Don't use class calendar field.

2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>

* java/text/SimpleDateFormat.java (parse): Don't use class calendar
field.

From-SVN: r71782

20 years ago2003-09-25 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 25 Sep 2003 17:09:23 +0000 (17:09 +0000)]
2003-09-25  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SelectorImpl.java
(implSelect): Renamed from java_do_select.
(select): Call native implSelect() and add support for Thread
interruption.
* gnu/java/nio/natSelectorImpl.cc
(implSelect): Renamed from java_do_select.

From-SVN: r71781

20 years agoctype_members.cc (ctype<wchar_t>::do_is): Fix.
Benjamin Kosnik [Thu, 25 Sep 2003 16:37:24 +0000 (16:37 +0000)]
ctype_members.cc (ctype<wchar_t>::do_is): Fix.

2003-09-25  Benjamin Kosnik  <bkoz@redhat.com>

* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
* config/locale/generic/ctype_members.cc: Same.
* testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
* testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.

* config/os/generic/ctype_inline.h: Update.

From-SVN: r71780

20 years ago2003-09-25 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 25 Sep 2003 15:35:21 +0000 (15:35 +0000)]
2003-09-25  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SelectorImpl.java
(selectNow): Made final, throws IOException.
(select): Likewise.
(getFDsAsArray): Made final.
(selectedKeys): Likewise.
(wakeup): Likewise.
(deregisterCancelledKeys): Likewise.
(register): Likewise.
(ass): Removed.
(add_selected): Removed.
* gnu/java/nio/natSelectorImpl.cc:
No need to include bstring.h or gcj/cni.h.
(helper_put_filedescriptors): Rewritten.
(helper_get_filedescriptors): Rewritten.

From-SVN: r71779

20 years ago[multiple changes]
Michael Koch [Thu, 25 Sep 2003 14:38:02 +0000 (14:38 +0000)]
[multiple changes]

2003-09-25  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/font/FontRenderContext.java (getTransform): Return
copy of internal transform object. Add Javadoc.
* java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
winding rule as Sun J2SE.
* javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.

2003-09-25  Ingo Proetel  <proetel@aicas.com>

* java/rmi/Naming.java:
Added comments, now accepts pseudo protocol "rmi".

From-SVN: r71777

20 years ago* acx.m4 (AC_PROG_CPP_WERROR): New.
Daniel Jacobowitz [Thu, 25 Sep 2003 14:27:52 +0000 (14:27 +0000)]
* acx.m4 (AC_PROG_CPP_WERROR): New.

From-SVN: r71776

20 years agoconfigure.in: Use AC_PROG_CPP_WERROR.
Daniel Jacobowitz [Thu, 25 Sep 2003 14:27:45 +0000 (14:27 +0000)]
configure.in: Use AC_PROG_CPP_WERROR.

* configure.in: Use AC_PROG_CPP_WERROR.
* configure: Regenerated.

From-SVN: r71775

20 years agoDecimalFormat.java (format): Don't immediatly round baseNumber to long.
Guilhem Lavaux [Thu, 25 Sep 2003 13:21:27 +0000 (13:21 +0000)]
DecimalFormat.java (format): Don't immediatly round baseNumber to long.

2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>

* java/text/DecimalFormat.java (format): Don't immediatly round
baseNumber to long.
(setMinimumIntegerDigits): Call super.
(setMinimumFractionDigits): Likewise.
(setMaximumIntegerDigits): Likewise.
(setMaximumFractionDigits): Likewise.

From-SVN: r71773

20 years agoMakefile.am (version_dep): New variable.
Ulrich Weigand [Thu, 25 Sep 2003 12:56:10 +0000 (12:56 +0000)]
Makefile.am (version_dep): New variable.

* src/Makefile.am (version_dep): New variable.
(libstdc___la_DEPENDENCIES): Use it to add dependency on
libstdc++-symbol.ver only when using symbol versioning.
* src/Makefile.in: Regenerate.

From-SVN: r71772

20 years agore PR c++/5655 (Member redeclared within its class definition with a different access...
Kriang Lerdsuwanakij [Thu, 25 Sep 2003 12:51:39 +0000 (12:51 +0000)]
re PR c++/5655 (Member redeclared within its class definition with a different access specifier is not rejected)

PR c++/5655
* parser.c (cp_parser_check_access_in_redeclaration): New function.
(cp_parser_member_declaration): Use it.
(cp_parser_template_declaration_after_export): Likewise.

* g++.dg/parse/access7.C: New test.
* g++.old-deja/g++.brendan/crash56.C: Fix redeclaration error.

From-SVN: r71771

20 years ago2003-09-25 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 25 Sep 2003 10:17:00 +0000 (10:17 +0000)]
2003-09-25  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(DatagramChannelImpl): Made class final.
(blocking): Made private.
(socket): Made it a NIODatagramSocket and private.
(DatagramChannelImpl): create NIODatagramSocket instead of
DatagramSocket.
(implConfigureBlocking): Set socket timeout.
(connect): Check that channel is not closed.
(write): Implemented.
(write): Rewritten.
(read): Implemented.
(read): Rewritten.
(receive): Implemented.
(send): Implemented.
* gnu/java/nio/SelectionKeyImpl.java
(readyOps): Made private.
(interestOps): Made private.
(impl): Made private.
(ch): Made private.
(readyOps): Check if selection key is valid.
(interestOps): Likewise.
* gnu/java/nio/SelectorImpl.java
(closed): Removed.
(keys): Made private.
(selected): Made private.
(finalize): New method.
(implCloseSelector): Rewritten.
(keys): Return unmodifiable Set.
(deregisterCancelledKeys): Fixed typo in method name.
* gnu/java/nio/SocketChannelImpl.java
(SocketChannelImpl): Made class final.
(socket): Made it a NIOSocket and private.
(blocking): Made private.
(connected): Made private.
(connectionPending): New member variable.
(SocketChannelImpl): New implementation.
(finalizer): Use isConnected().
(connect): Rewritten.
(finishConnect): Throws IOException, implemented.
(isConnectionPending): Return connectionPending.
(read): Rewritten.
(write): Rewritten.
* gnu/java/nio/NIOConstants.java: New file.
* Makefile.am (ordinary_java_source_files):
Added gnu/java/nio/NIOConstants.java.
* Makefile.in: Regenerated.

From-SVN: r71769

This page took 0.10177 seconds and 5 git commands to generate.