Loren J. Rittle [Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)]
stl_threads.h (_Atomic_swap): Kill it...
* include/bits/stl_threads.h (_Atomic_swap): Kill it...
(_Swap_lock_struct<>): ...and the horse it rode in on.
* src/globals.cc (_Swap_lock_struct<>): Likewise.
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
member to support...
* include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
visibility rules related to POSIX threads.
* testsuite/thread/pthread7-rope.cc: New test.
From-SVN: r66507
Janis Johnson [Mon, 5 May 2003 21:59:35 +0000 (21:59 +0000)]
Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around expanded variables.
2003-05-05 Janis Johnson <janis187@us.ibm.com>
* Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
expanded variables.
* doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
testsuite:
* lib/compat.exp (compat-execute): New argument.
* g++.dg/compat/compat.exp: Pass new argument to compat-execute.
* gcc.dg/compat: New test directory.
* gcc.dg/compat/compat.exp: New expect script.
* gcc.dg/compat/scalar-by-value-1_main.c: New test file.
* gcc.dg/compat/scalar-by-value-1_x.c: New test file.
* gcc.dg/compat/scalar-by-value-1_y.c: New test file.
* gcc.dg/compat/scalar-by-value-2_main.c: New test file.
* gcc.dg/compat/scalar-by-value-2_x.c: New test file.
* gcc.dg/compat/scalar-by-value-2_y.c: New test file.
From-SVN: r66506
Zack Weinberg [Mon, 5 May 2003 21:57:54 +0000 (21:57 +0000)]
rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
* rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
* varasm.c (struct varasm_status): Add deferred_constants field.
(n_deferred_strings): Delete variable.
(n_deferred_constants): New #define.
(struct constant_descriptor_tree): Kill next and label fields.
(const_hash_table, MAX_HASH_TABLE): Delete.
(const_desc_htab): New static variable.
(const_hash): Rename const_desc_hash, and make it fit the
hashtab.h interface.
(const_desc_eq): New.
(const_hash_1, compare_constant): Const-ify arguments.
(build_constant_desc): Set DEFERRED_CONSTANT_P on all new
SYMBOL_REFs. Clarify comments. Don't set desc->label.
(output_constant_def): Do the lookup/insert using the
hashtab.h interface. Don't muck with n_deferred_constants or
DEFERRED_CONSTANT_P here.
Always call maybe_output_constant_def_contents.
(maybe_output_constant_def_contents): Take a pointer to the
descriptor, not the EXP and RTL separately. Return
immediately if this constant is not deferred. Defer output of
everything, except writable string constants. Update
n_deferred_constants here.
(output_constant_def_contents): Now takes just one argument,
an rtx. Clear DEFERRED_CONSTANT_P here.
(mark_constant_pool): Update for rename of n_deferred_strings.
(mark_constant): Don't clear DEFERRED_CONSTANT_P here.
(init_varasm_status): Clear p->deferred_constants.
(init_varasm_once): Call htab_create_ggc for const_desc_htab.
* gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases.
From-SVN: r66505
Kaveh R. Ghazi [Mon, 5 May 2003 21:14:46 +0000 (21:14 +0000)]
builtins.c (expand_builtin_stpcpy): Only expand when the length of the source string can be evaluated at compile-time.
* builtins.c (expand_builtin_stpcpy): Only expand when the length
of the source string can be evaluated at compile-time.
From-SVN: r66503
Jason Merrill [Mon, 5 May 2003 21:11:13 +0000 (17:11 -0400)]
re PR c++/9537 ([New parser] problem handling const return types)
PR c++/9537
* call.c (conditional_conversion): Build an RVALUE_CONV if
we're just changing the cv-quals.
(build_conditional_expr): Don't call convert to change
cv-quals.
From-SVN: r66502
Aldy Hernandez [Mon, 5 May 2003 20:31:45 +0000 (20:31 +0000)]
simd-6.c: New.
2003-05-05 Aldy Hernandez <aldyh@redhat.com>
* testsuite/gcc.c-torture/compile/simd-6.c: New.
* c-typeck.c (digest_init): Handle arrays of vector constants.
From-SVN: r66501
Michael Koch [Mon, 5 May 2003 20:18:31 +0000 (20:18 +0000)]
2003-05-05 Michael Koch <konqueror@gmx.de>
* java/net/NetworkInterface.java
(networkInterfaces): Removed.
(getByName): Use getRealNetworkInterfaces() instead of
networkInterfaces.
(getByInetAddress): Likewise.
(getNetworkInterfaces): Likewise.
(toString): Fix output of addresses of an interface.
From-SVN: r66500
Geoffrey Keating [Mon, 5 May 2003 19:33:52 +0000 (19:33 +0000)]
rs6000.c (validate_condition_mode): Use flag_finite_math_only.
2003-05-05 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (validate_condition_mode): Use
flag_finite_math_only.
(rs6000_reverse_condition): Never return UNKNOWN; use
flag_finite_math_only.
(rs6000_generate_compare): Use flag_finite_math_only.
(rs6000_emit_cmove): Handle UNLE. Support UNEQ under -ffast-math.
Use HONOR_* rather than flag_unsafe_math_optimizations. Correct
UNGE and GT cases. Handle UNEQ and LTGT when ! HONOR_NANS.
Index: testsuite/ChangeLog
2003-05-05 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/execute/ieee/fp-cmp-8.c: New test.
* gcc.dg/ppc-fsel-2.c: New test.
From-SVN: r66499
Jakub Jelinek [Mon, 5 May 2003 19:31:35 +0000 (21:31 +0200)]
builtins.c (expand_builtin_mempcpy): New function.
* builtins.c (expand_builtin_mempcpy): New function.
(expand_builtin_stpcpy): Optimize stpcpy whose return value is
ignored into strcpy no matter what arguments it has.
(expand_builtin) <case BUILT_IN_MEMPCPY>: Call
expand_builtin_mempcpy.
* gcc.c-torture/execute/string-opt-18.c (main): Add 3 new tests.
From-SVN: r66498
Aldy Hernandez [Mon, 5 May 2003 19:21:10 +0000 (19:21 +0000)]
20030505.c: New.
2003-05-05 Aldy Hernandez <aldyh@redhat.com>
* testsuite/gcc.dg/
20030505.c: New.
* c-typeck.c (convert_for_assignment): Opaque pointers can
interconvert.
* config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
(rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
(spe_init_builtins): Rename all pv2si_type_node to
opaque_p_V2SI_type_node.
Remove declaration of pv2si_type_node.
(is_ev64_opaque_type): Accept opaque pointers.
From-SVN: r66495
Jason Merrill [Mon, 5 May 2003 19:16:07 +0000 (15:16 -0400)]
tweak comment
From-SVN: r66494
Geoffrey Keating [Mon, 5 May 2003 18:29:29 +0000 (18:29 +0000)]
toplev.c (check_global_declarations): Suppress not-used warning for volatile variables.
2003-05-05 Geoffrey Keating <geoffk@apple.com>
* toplev.c (check_global_declarations): Suppress not-used warning
for volatile variables.
Index: testsuite/ChangeLog
2003-05-05 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/unused-5.c: New test.
From-SVN: r66493
Olivier Hainque [Mon, 5 May 2003 17:56:35 +0000 (19:56 +0200)]
expr.c (expand_expr, [...]): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode...
* expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
usage of bitfield instructions for mode1 != BLKmode, only ignoring
SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
(store_field): Likewise.
From-SVN: r66492
Aldy Hernandez [Mon, 5 May 2003 17:40:03 +0000 (17:40 +0000)]
rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants.
2003-05-05 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
evsubifw to builtins accepting 5-bit unsigned constants.
(easy_vector_constant): Return if V1DImode. Fix typo.
[[Split portion of a mixed commit.]]
From-SVN: r66490.2
Aldy Hernandez [Mon, 5 May 2003 15:50:31 +0000 (15:50 +0000)]
spe.h: Revert licensing change from last patch.
2003-05-05 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.h: Revert licensing change from last patch.
From-SVN: r66486
DJ Delorie [Mon, 5 May 2003 15:25:01 +0000 (11:25 -0400)]
stormy16.md (negsi2): Allocate the pseudos before reload, but defer the split until after.
* config/stormy16/stormy16.md (negsi2): Allocate the pseudos
before reload, but defer the split until after.
* config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
to match.
From-SVN: r66485
Kriang Lerdsuwanakij [Mon, 5 May 2003 14:46:00 +0000 (14:46 +0000)]
Fix a typo overlooked in the previous commit.
From-SVN: r66484
Kriang Lerdsuwanakij [Mon, 5 May 2003 14:35:58 +0000 (14:35 +0000)]
re PR c++/10496 ([diagnostic] erroneus suggestion in diagnostic asks the user to write "&const class::memfun" which is illegal)
PR c++/10496
* typeck.c (build_unary_op): Don't output const qualifier when
output invalid pointer-to-member diagnostics.
* g++.dg/warn/pmf1.C: New test.
From-SVN: r66481
David Edelsohn [Mon, 5 May 2003 14:33:01 +0000 (14:33 +0000)]
rs6000.h (ASM_CPU_SPEC): Add 440 support.
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
* config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.
From-SVN: r66480
Michael Koch [Mon, 5 May 2003 13:37:14 +0000 (13:37 +0000)]
Fixed wrong changelog entry
From-SVN: r66479
Michael Koch [Mon, 5 May 2003 13:35:15 +0000 (13:35 +0000)]
DataInputStream.java: Reordered methods to match libgcj.
2003-05-04 Michael Koch <konqueror@gmx.de>
* java/io/DataInputStream.java:
Reordered methods to match libgcj.
From-SVN: r66478
Kriang Lerdsuwanakij [Mon, 5 May 2003 13:26:50 +0000 (13:26 +0000)]
* decl.c: Fix typos.
From-SVN: r66477
Kriang Lerdsuwanakij [Mon, 5 May 2003 12:19:12 +0000 (12:19 +0000)]
re PR c++/4494 (Possible problem with compiler warnings on main())
PR c++/4494
* decl.c (start_function): Use same_type_p to check return type
of main.
* g++.dg/warn/main.C: New test.
From-SVN: r66476
Zdenek Dvorak [Mon, 5 May 2003 05:22:07 +0000 (07:22 +0200)]
libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc is defined.
* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
is defined.
From-SVN: r66475
Michael Koch [Mon, 5 May 2003 05:10:47 +0000 (05:10 +0000)]
Forgot to add this to commit line on 2003/05/02. Its in Changelog already.
>2003-05-02 Michael Koch <konqueror@gmx.de>
>
> * java/net/URI.java
> (create): Doesnt throws any exceptions.
From-SVN: r66474
GCC Administrator [Mon, 5 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r66473
Gerald Pfeifer [Sun, 4 May 2003 22:51:26 +0000 (00:51 +0200)]
update_version (textstring_FILES): Only version.c needs to be updated...
* update_version (textstring_FILES): Only version.c needs to be
updated, now that we do not consider older branches any more.
From-SVN: r66471
Matt Kraai [Sun, 4 May 2003 22:26:43 +0000 (22:26 +0000)]
GtkButtonPeer.java: Fix misspelling of "version".
* gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
"version".
* gnu/awt/gtk/GtkComponentPeer.java: Likewise.
* gnu/awt/gtk/GtkContainerPeer.java: Likewise.
* gnu/awt/gtk/GtkFramePeer.java: Likewise.
* gnu/awt/gtk/GtkLabelPeer.java: Likewise.
* gnu/awt/gtk/GtkMainThread.java: Likewise.
* gnu/awt/gtk/GtkToolkit.java: Likewise.
* gnu/awt/gtk/GtkWindowPeer.java: Likewise.
* java/security/Key.java: Likewise.
* java/security/PrivateKey.java: Likewise.
* java/security/Provider.java: Likewise.
* java/security/PublicKey.java: Likewise.
From-SVN: r66469
Kaveh R. Ghazi [Sun, 4 May 2003 22:18:17 +0000 (22:18 +0000)]
builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
gcc:
* builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
(ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
New.
* builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment
(BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
BUILT_IN_STRDUP): Add "nonnull" attribute.
testsuite:
* gcc.dg/nonnull-3.c: New test.
From-SVN: r66468
Kaveh R. Ghazi [Sun, 4 May 2003 22:14:18 +0000 (22:14 +0000)]
configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure: Regenerate.
From-SVN: r66467
Paolo Carlini [Sun, 4 May 2003 22:12:18 +0000 (00:12 +0200)]
3.cc: New file, testing basic_string<char>::find_first_not_of.
2003-05-04 Paolo Carlini <pcarlini@unitus.it>
* testsuite/21_strings/basic_string/find/char/3.cc: New
file, testing basic_string<char>::find_first_not_of.
* testsuite/21_strings/basic_string/find/wchar_t/3.cc:
Likewise for basic_string<wchar_t>.
From-SVN: r66466
Richard Kenner [Sun, 4 May 2003 22:09:48 +0000 (22:09 +0000)]
expr.c (store_field): Don't clobber TEMP in shift: it might be a variable.
* expr.c (store_field): Don't clobber TEMP in shift: it might be
a variable.
(get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
whose purpose is to step up the alignment.
(expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.
From-SVN: r66465
Neil Booth [Sun, 4 May 2003 22:06:57 +0000 (22:06 +0000)]
* doc/cppopts.texi: Remove documentation of -gcc.
From-SVN: r66464
Richard Kenner [Sun, 4 May 2003 22:04:51 +0000 (22:04 +0000)]
stor-layout.c (compute_record_mode): Relax restriction on fields crossing word boundaries forcing BLKmode.
* stor-layout.c (compute_record_mode): Relax restriction
on fields crossing word boundaries forcing BLKmode.
From-SVN: r66463
Neil Booth [Sun, 4 May 2003 21:45:08 +0000 (21:45 +0000)]
* doc/cppopts.texi: Enhance -Wtrigraphs documentation
From-SVN: r66462
Neil Booth [Sun, 4 May 2003 20:03:55 +0000 (20:03 +0000)]
cppinit.c (cpp_create_reader, [...]): Warn about trigraphs unless explicity set or -trigraphs.
* cppinit.c (cpp_create_reader, post_options): Warn about
trigraphs unless explicity set or -trigraphs.
* cpplex.c (warn_in_comment): New.
(_cpp_process_line_notes): Better handling of -Wtrigraphs.
(_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
* doc/cppopts.texi, doc/cpp.texi: Update.
testsuite:
* gcc.dg/cpp/Wtrigraphs.c: Update.
* gcc.dg/cpp/Wtrigraphs-2.c: New tests.
From-SVN: r66459
Zdenek Dvorak [Sun, 4 May 2003 15:20:26 +0000 (17:20 +0200)]
Makefile.in (LIBGCOV): Add _gcov_merge_add.
* Makefile.in (LIBGCOV): Add _gcov_merge_add.
* gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
namespace clash.
(GCOV_MERGE_FUNCTIONS): New.
(gcov_merge_fn): Declare.
(struct gcov_ctr_info): New field "merge".
(__gcov_merge_add): Declare.
* coverage.c (ctr_merge_functions): New.
(build_ctr_info_type, build_ctr_info_value): Initialize merge field
of gcov_ctr_info type.
* libgcov.c (__gcov_merge_add): New.
(gcov_exit): Call a hook to merge values of counters.
From-SVN: r66457
Gabriel Dos Reis [Sun, 4 May 2003 15:18:21 +0000 (15:18 +0000)]
toplev.h (pedwarn_with_file_and_line): Don't declare.
* toplev.h (pedwarn_with_file_and_line): Don't declare.
* diagnostic.c (pedwarn_with_file_and_line): Remove.
From-SVN: r66456
Gabriel Dos Reis [Sun, 4 May 2003 14:27:17 +0000 (14:27 +0000)]
* varasm.c (assemble_variable): Don't use error_with_file_and_line.
From-SVN: r66454
Nathan Sidwell [Sun, 4 May 2003 14:05:15 +0000 (14:05 +0000)]
Make-lang.in (java/parse.o, [...]): Depend on input.h.
* Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
* lex.h: #include input.h.
* jv-scan.c (input_filename): Remove.
From-SVN: r66452
Gerald Pfeifer [Sun, 4 May 2003 11:45:20 +0000 (13:45 +0200)]
* MAINTAINERS: Remove duplicate entries in Write After Approval.
From-SVN: r66451
Kaveh R. Ghazi [Sun, 4 May 2003 05:34:13 +0000 (05:34 +0000)]
builtins.c (expand_builtin_constant_p, [...]): Update prototypes.
* builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
expand_builtin_frame_address): Update prototypes.
(expand_builtin_constant_p, expand_builtin_strlen,
expand_builtin_strcpy, expand_builtin_memset,
expand_builtin_bzero, expand_builtin_args_info,
expand_builtin_frame_address): Pass in just the argument(s)
needed, not the entire expression `exp'.
(expand_builtin): Update all calls to these functions.
From-SVN: r66448
Richard Henderson [Sun, 4 May 2003 05:22:51 +0000 (22:22 -0700)]
builtins.c (expand_builtin): Remove.
* builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
<BUILT_IN_DWARF_SP_COLUMN>: New.
* builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
(BUILT_IN_DWARF_SP_COLUMN): New.
* dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
(expand_builtin_dwarf_sp_column): New.
* except.h: Update to match.
* unwind-dw2.c (execute_stack_op): Correct stack push typo.
(execute_cfa_program): Record location expression address
before extracting length.
(uw_update_context_1): Install old CFA into stack pointer column.
(uw_init_context_1): Set cfa_reg to stack pointer column.
From-SVN: r66447
Richard Henderson [Sun, 4 May 2003 00:33:49 +0000 (17:33 -0700)]
rs6000.c (constant_pool_expr_p): Make static and return bool.
* config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
return bool.
(toc_relative_expr_p): Likewise.
(SPE_CONST_OFFSET_OK): Move from rs6000.h.
(legitimate_constant_pool_address_p): Move from rs6000.h, change
into a function, downcase all users.
(legitimate_small_data_p): Likewise.
(legitimate_offset_address_p): Likewise.
(legitimate_indexed_address_p): Likewise.
(legitimate_indirect_address_p): Likewise.
(legitimate_lo_sum_address_p): Likewise.
(rs6000_mode_dependent_address): Likewise.
* rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
(SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
(LEGITIMATE_ADDRESS_INTEGER_P): Remove.
(GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
* config/rs6000/rs6000-protos.h: Update.
From-SVN: r66445
GCC Administrator [Sun, 4 May 2003 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r66444
Geoffrey Keating [Sat, 3 May 2003 23:16:56 +0000 (23:16 +0000)]
rs6000.h (REVERSIBLE_CC_MODE): Define.
* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
(REVERSE_CONDITION): Define.
* gcc.dg/ppc-fsel-1.c: New test.
From-SVN: r66442
Geoffrey Keating [Sat, 3 May 2003 23:13:57 +0000 (23:13 +0000)]
rs6000.c (scc_comparison_operator): Make equivalent to branch_positive_comparison_operator.
* config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
to branch_positive_comparison_operator.
(ccr_bit): Check that sCOND conditions are actually a positive bit.
(print_operand): Remove %D substitution.
(rs6000_emit_sCOND): Generate complement operation to ensure that
sCOND input is a positive bit.
* config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
same order as bCOND, and add the missing ones. Remove the %D
substitutions from the scc patterns.
From-SVN: r66441
Geoffrey Keating [Sat, 3 May 2003 23:12:41 +0000 (23:12 +0000)]
simplify-rtx.c (simplify_relational_operation): Add case for ! (fabs(x) < 0.0).
* simplify-rtx.c (simplify_relational_operation): Add case for
! (fabs(x) < 0.0).
From-SVN: r66440
Bruce Korb [Sat, 3 May 2003 22:48:59 +0000 (22:48 +0000)]
force merge conflicts in fixincl.x + placement fix
From-SVN: r66439
Aldy Hernandez [Sat, 3 May 2003 22:44:44 +0000 (22:44 +0000)]
spe.h: Remove unecessary casts.
2003-05-03 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.h: Remove unecessary casts. Misc cleanups.
From-SVN: r66437
Zack Weinberg [Sat, 3 May 2003 21:44:31 +0000 (21:44 +0000)]
re PR c/10604 (-Wall includes sign conversion warning [3.3 regression])
PR c/10604
* c-common.c (warn_sign_compare): Initialize to -1.
* c-opts.c (c_common_init_options): Don't set warn_sign_compare here.
(c_common_decode_option <OPT_Wall>): Set warn_sign_compare
for C++ only.
(c_common_post_options): Set warn_sign_compare from extra_warnings
if it's still -1 at this point.
* toplev.c (maybe_warn_unused_parameter): New static variable.
(set_Wextra): New static function.
(W_options): Remove "extra".
(decode_W_option): Call set_Wextra.
(independent_decode_option): Likewise.
(set_Wunused): Cooperate with set_Wextra in setting
warn_unused_parameter.
(rest_of_compilation): No need to check extra_warnings as
well as warn_uninitialized.
* c-typeck.c (build_binary_op, build_conditional_expr):
No need to check extra_warnings as well as warn_sign_compare.
(internal_build_compound_expr): No need to check extra_warnings
as well as warn_unused_value.
* function.c (expand_function_end): No need to check extra_warnings
as well as warn_unused_parameter.
* stmt.c (expand_expr_stmt_value): No need to check extra_warnings
as well as warn_unused_value.
* cp/typeck.c (build_x_compound_expr): No need to check
extra_warnings as well as warn_unused_value.
* doc/invoke.texi: Clarify documentation of -Wsign-compare.
* gcc.dg/compare7.c, g++.dg/warn/compare1.C: New testcases.
* Makefile.in: Disable -Werror for gengtype-lex.o.
From-SVN: r66436
Nathan Sidwell [Sat, 3 May 2003 16:43:17 +0000 (16:43 +0000)]
trans.c (tree_transform): Use location_t and input_location directly.
* trans.c (tree_transform): Use location_t and input_location
directly.
(build_unit_elab): Likewise.
* utils.c (create_label_decl): Likewise.
From-SVN: r66433
Nathan Sidwell [Sat, 3 May 2003 16:39:50 +0000 (16:39 +0000)]
com.c (ffecom_do_entry_): Use location_t and input_location directly.
* com.c (ffecom_do_entry_): Use location_t and input_location
directly.
(ffecom_gen_sfuncdef_): Likewise.
(ffecom_start_progunit_): Likewise.
(ffecom_sym_transform_): Likewise.
(ffecom_sym_transform_assign_): Likewise.
* lex.c (ffelex_hash_): Likewise.
(ffelex_include_): Likewise.
* std.c (ffestd_exec_begin): Likewise.
(ffestd_exec_end): Likewise.
* ste.c (struct gbe_block): Likewise.
(ffeste_start_block_): Likewise.
(ffeste_start_stmt_): Likewise.
From-SVN: r66432
Matt Kraai [Sat, 3 May 2003 16:20:48 +0000 (16:20 +0000)]
GtkButtonPeer.java: Fix misspelling of "version".
* libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
"version".
* libjava/gnu/awt/gtk/GtkComponentPeer.java: Likewise.
* libjava/gnu/awt/gtk/GtkContainerPeer.java: Likewise.
* libjava/gnu/awt/gtk/GtkFramePeer.java: Likewise.
* libjava/gnu/awt/gtk/GtkLabelPeer.java: Likewise.
* libjava/gnu/awt/gtk/GtkMainThread.java: Likewise.
* libjava/gnu/awt/gtk/GtkToolkit.java: Likewise.
* libjava/gnu/awt/gtk/GtkWindowPeer.java: Likewise.
* libjava/java/security/Key.java: Likewise.
* libjava/java/security/PrivateKey.java: Likewise.
* libjava/java/security/Provider.java: Likewise.
* libjava/java/security/PublicKey.java: Likewise.
From-SVN: r66431
Richard Kenner [Sat, 3 May 2003 14:30:07 +0000 (14:30 +0000)]
expr.c (expand_expr, [...]): Don't use gen_lowpart on non-integer modes.
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
gen_lowpart on non-integer modes.
From-SVN: r66430
Olivier Hainque [Sat, 3 May 2003 14:25:22 +0000 (16:25 +0200)]
emit-rtl.c (last_call_insn, [...]): New functions.
* emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
* rtl.h (last_call_insn, add_function_usage_to): New prototypes.
* builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
* calls.c (emit_call_1): Likewise.
(expand_call): For calls initializing constant memory, replace
emission of standalone mem /u clobber with function usage entry.
* expr.c (emit_block_move_via_libcall): Likewise.
* cse.c (count_reg_usage, case EXPR_LIST): New case.
* flow.c (propagate_one_insn): Pass entire operand of
CALL_INSN_FUNCTION_USAGE to mark_used_regs.
* integrate.c (try_constants): For CALL_INSNs, substitute constants
within the FUNCTION_USAGE also.
* loop.c (prescan_loop): Note clobbers of const mem mentioned in
FUNCTION_USAGE lists.
* reload1.c (replace_pseudos_in): Renamed.
(reload): Use it for clobbers surviving until the end of the reload.
From-SVN: r66429
Richard Kenner [Sat, 3 May 2003 14:16:27 +0000 (14:16 +0000)]
stor-layout.c (place_field): When adjusting offset_align, use desired_align, not DECL_ALIGN.
* stor-layout.c (place_field): When adjusting offset_align, use
desired_align, not DECL_ALIGN.
From-SVN: r66428
Carlo Wood [Sat, 3 May 2003 14:09:35 +0000 (14:09 +0000)]
cp-demangle.c: Fix typo in "char_traints" string-literal.
2003-05-03 Carlo Wood <carlo@alinoe.com>
* cp-demangle.c: Fix typo in "char_traints" string-literal.
From-SVN: r66427
Kazu Hirata [Sat, 3 May 2003 13:34:43 +0000 (13:34 +0000)]
* gcc.dg/m-un-2.c: Fix the typedef of size_t.
From-SVN: r66426
Nathan Sidwell [Sat, 3 May 2003 13:28:33 +0000 (13:28 +0000)]
c-decl.c (pending_invalid_xref_file): Remove.
* c-decl.c (pending_invalid_xref_file): Remove.
(pending_invalid_xref_line): Remove.
(pending_invalid_xref_location): New.
(lookup_label): Use location_t and input_location directly.
(lookup_tag): Likewise.
(pending_xref_error): Likewise.
(c_expand_body_1): Likewise.
* c-common.c (x_expand_start_cond): Likewise.
* c-semantics.c (genrtl_for_stmt): Likewise.
(find_reachable_label): Likewise.
* expr.c (expand_expr): Likewise.
* integrate.c (output_inline_function): Likewise.
* tree-inline.c (find_alloca_call): Likewise.
(find_builtin_longjmp_call): Likewise.
* gcc.c (input_filename): Make static.
From-SVN: r66425
Kriang Lerdsuwanakij [Sat, 3 May 2003 11:58:17 +0000 (11:58 +0000)]
PR c++/9364, c++/10553, c++/10586
PR c++/9364, c++/10553, c++/10586
* decl.c (make_typename_type): Don't crash on illegal code.
* g++.dg/parse/typename4.C: New test.
* g++.dg/parse/typename5.C: Likewise.
From-SVN: r66424
Nathan Sidwell [Sat, 3 May 2003 11:37:22 +0000 (11:37 +0000)]
class.c (finish_struct): Use location_t and input_location directly.
* class.c (finish_struct): Use location_t and input_location
directly.
* decl.c (make_label_decl): Likewise.
(use_label): Likewise.
* decl2.c (warn_if_unknown_interface): Likewise.
(start_static_initialization_or_destruction): Likewise.
(generate_ctor_or_dtor_function): Likewise.
(finish_file): Likewise.
* error.c (print_instantiation_full_context): Likewise.
* init.c (create_temporary_var): Likewise.
* method.c (synthesize_method): Likewise.
* parser.c (cp_token): Likewise.
(cp_lexer_set_source_position_from_token): Likewise.
(cp_lexer_get_preprocessor_token): Likewise.
(cp_parser_statement): Likewise.
* pt.c (tsubst_friend_function): Likewise.
(instantiate_class_template): Likewise.
(tsubst_decl): Likewise.
(tsubst): Likewise.
(instantiate_decl): Likewise.
* semantics.c (begin_class_definition): Likewise.
(expand_body): Likewise.
From-SVN: r66423
Nathan Sidwell [Sat, 3 May 2003 11:24:55 +0000 (11:24 +0000)]
* ansify.c (die_unless): Revert lineno change here.
From-SVN: r66422
Richard Sandiford [Sat, 3 May 2003 08:42:58 +0000 (08:42 +0000)]
* gcc.c-torture/compile/
20030503-1.c: New test.
From-SVN: r66421
Richard Sandiford [Sat, 3 May 2003 08:40:07 +0000 (08:40 +0000)]
* config/mips/mips.md: Fix comment typo.
From-SVN: r66420
Richard Sandiford [Sat, 3 May 2003 08:10:17 +0000 (08:10 +0000)]
mips.c (mips_integer_op): New structure.
* config/mips/mips.c (mips_integer_op): New structure.
(MIPS_MAX_INTEGER_OPS): Define.
(mips_const_insns): Use mips_build_integer to determine the number
of instructions needed to load a CONST_INT.
(move_operand): Reject compound CONST_INTs.
(mips_build_shift, mips_build_lower, mips_build_integer): New fns.
(mips_move_integer): New fn.
(mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
(mips_legitimize_move): Only legitimize constants when moving
word or subword values.
From-SVN: r66419
Loren J. Rittle [Sat, 3 May 2003 07:42:22 +0000 (07:42 +0000)]
* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
From-SVN: r66418
Matt Kraai [Sat, 3 May 2003 05:43:34 +0000 (05:43 +0000)]
* Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
From-SVN: r66417
Tom Tromey [Sat, 3 May 2003 02:29:26 +0000 (02:29 +0000)]
re PR java/10491 (gcjh should make enclosing class a "friend" of inner classes)
PR java/10491:
* gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro.
(handle_inner_classes): New function.
From-SVN: r66416
Chris Demetriou [Sat, 3 May 2003 01:29:54 +0000 (01:29 +0000)]
Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
2003-05-02 Chris Demetriou <cgd@broadcom.com>
* Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
* Makefile.in: Regenerate.
From-SVN: r66415
Tom Tromey [Sat, 3 May 2003 00:35:06 +0000 (00:35 +0000)]
re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)
PR java/10459:
* parse.y (finish_for_loop): Do nothing if update expression is a
EXPR_WFL_NODE wrapping nothing.
(java_complete_lhs) <COMPOUND_EXPR>: Likewise.
From-SVN: r66411
Tom Tromey [Sat, 3 May 2003 00:33:18 +0000 (00:33 +0000)]
re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)
PR java/10459:
* libjava.compile/pr10459_2.java: New file.
* libjava.compile/pr10459.java: New file.
From-SVN: r66410
Kaveh R. Ghazi [Sat, 3 May 2003 00:25:59 +0000 (00:25 +0000)]
builtins.c (expand_builtin_stpcpy): Copy `arglist' before modifying it.
* builtins.c (expand_builtin_stpcpy): Copy `arglist' before
modifying it.
From-SVN: r66409
GCC Administrator [Sat, 3 May 2003 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r66407
Falk Hueffner [Fri, 2 May 2003 23:53:19 +0000 (23:53 +0000)]
contrib.texi (Contributors): Add Zdenek Dvorak, Aldy Hernandez, and Kazu Hirata.
* doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
Hernandez, and Kazu Hirata. Update Richard Henderson.
Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r66405
Benjamin Kosnik [Fri, 2 May 2003 23:18:09 +0000 (23:18 +0000)]
Makefile.am (CLEANFILES): Remove PCH files in target directory.
2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (CLEANFILES): Remove PCH files in target
directory.
* include/Makefile.in: Regenerate.
From-SVN: r66403
Paolo Carlini [Fri, 2 May 2003 23:02:03 +0000 (01:02 +0200)]
std_sstream.h (str()): Tidy.
2003-05-02 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_sstream.h (str()): Tidy.
From-SVN: r66402
Richard Kenner [Fri, 2 May 2003 19:23:41 +0000 (15:23 -0400)]
Remove myself as ARC maintainer.
From-SVN: r66397
Geoffrey Keating [Fri, 2 May 2003 18:36:50 +0000 (18:36 +0000)]
rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration.
* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
to tentative declaration.
From-SVN: r66396
Nathan Myers [Fri, 2 May 2003 18:35:24 +0000 (18:35 +0000)]
streambuf.tcc (__copy_streambufs): Rewrote.
2003-05-02 Nathan Myers <ncm@cantrip.org>
Paolo Carlini <pcarlini@unitus.it>
* include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r66395
Geoffrey Keating [Fri, 2 May 2003 18:32:49 +0000 (18:32 +0000)]
sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
* config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
(SYMBOL_FLAG_SMALL_V4): Delete.
* config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
(rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4.
(rs6000_elf_in_small_data_p): Add extra section names. Add
comment about TREE_PUBLIC test.
From-SVN: r66393
Geoffrey Keating [Fri, 2 May 2003 18:07:01 +0000 (18:07 +0000)]
c-semantics.c (genrtl_switch_stmt, [...]): Call expand_stmt on result of expand_unreachable_stmt.
* c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
expand_stmt on result of expand_unreachable_stmt.
From-SVN: r66392
Wolfgang Bangerth [Fri, 2 May 2003 16:33:48 +0000 (10:33 -0600)]
MAINTAINERS (GNATS only): Add Falk Hueffner.
2003-05-02 Wolfgang Bangerth <bangerth@dealii.org>
* MAINTAINERS (GNATS only): Add Falk Hueffner.
From-SVN: r66390
Jonathan Wakely [Fri, 2 May 2003 15:50:53 +0000 (16:50 +0100)]
basic_string.h (swap): Remove redundant template parameters from declaration of non-template member...
2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/basic_string.h (swap): Remove redundant template
parameters from declaration of non-template member function.
From-SVN: r66389
Gerald Pfeifer [Fri, 2 May 2003 15:27:06 +0000 (17:27 +0200)]
* doc/contrib.texi (Contributors): Add Daniel Berlin.
From-SVN: r66388
David Edelsohn [Fri, 2 May 2003 14:49:52 +0000 (14:49 +0000)]
{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease number of automata.
* config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
number of automata.
* config/rs6000/rs6000.c (symbol_ref_operand): Check
SYMBOL_REF_FUNCTION_P on AIX.
(current_file_function_operand): Same.
* config/rs6000/rs6000.md (call,call_value): Force non-function
symbol_ref into register on AIX.
From-SVN: r66385
Michael Koch [Fri, 2 May 2003 14:23:21 +0000 (14:23 +0000)]
2003-05-02 Michael Koch <konqueror@gmx.de>
* java/net/URI.java
(create): Doesnt throws any exceptions.
* java/net/URLConnection.java
(URLConnection): Commend added.
(getExpiration): The header field is called "expires" not
"expiration".
(getHeaderField): Merged documentation with classpath.
(getHeaderFieldInt): Likewise.
(getHeaderFieldDate): Likewise.
(getHeaderFieldKey): Likewise.
(getPermission): Likewise.
(setDefaultUseCaches): Likewise.
(setRequestProperty): Likewise.
(addRequestProperty): Likewise.
(getRequestProperty): Likewise.
(getRequestProperties): Likewise.
(setDefaultRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(guessContentTypeFromStream): Likewise.
(getFileNameMap): Likewise.
(setFileNameMap): Likewise.
(setDoInput): Merged implementation and documentation with classpath.
(setDoOutput): Likewise.
(setAllowUserInteraction): Likewise.
(setDefaultAllowUserInteraction): Likewise.
(setContentHandlerFactory): Made it synchronized, merged documentation
with classpath.
(guessContentTypeFromName): Renamed argument fname to filename to
match classpath, merged documentation with classpath.
From-SVN: r66384
Alan Modra [Fri, 2 May 2003 14:22:09 +0000 (14:22 +0000)]
calls.c (struct arg_data): Move offset, slot_offset, size and alignment_pad to struct locate_and_pad_arg_data.
* calls.c (struct arg_data): Move offset, slot_offset, size and
alignment_pad to struct locate_and_pad_arg_data. Update all refs.
(initialize_argument_information): Adjust call to locate_and_pad_parm.
Delete alignment_pad var. Don't calculate slot_offset here.
(emit_library_call_value_1): Delete alignment_pad, offset and size
vars. Use struct locate_and_pad_arg_data instead. Adjust refs.
Adjust call to locate_and_pad_parm. Don't tweak arg size for
partial in-regs here. Formatting fixes.
* expr.h (struct locate_and_pad_arg_data): New struct.
(locate_and_pad_parm): Adjust declaration.
* function.c (assign_parms): Localize vars. Use "locate" instead of
other arg location vars. Don't invoke FUNCTION_ARG or
FUNCTION_INCOMING_ARG unless pretend_named is different from
named_arg. Heed MUST_PASS_IN_STACK and set up "partial" before
calling locate_and_pad_parm. Adjust locate_and_pad_parm call.
Use slot_offset for stack home of reg parms. Correct test for
parm passed in memory. Formatting fixes.
(locate_and_pad_parm): Add "partial" to params. Replace offset_ptr
arg_size_ptr and alignment pad with "locate". Set slot_offset here.
Correct initial_offset_ptr handling. Localize vars. Always pad
locate->offset even when in_regs.
From-SVN: r66383
Wolfgang Bangerth [Fri, 2 May 2003 13:34:52 +0000 (07:34 -0600)]
Clarify the comment before the abort we hit when a translated string contains invalid formats.
From-SVN: r66381
Kriang Lerdsuwanakij [Fri, 2 May 2003 12:33:30 +0000 (12:33 +0000)]
* g++.dg/lookup/using5.C: Fix testcase error.
From-SVN: r66380
Michael Koch [Fri, 2 May 2003 12:32:40 +0000 (12:32 +0000)]
2003-05-02 Michael Koch <konqueror@gmx.de>
* java/net/JarURLConnection.java
(JarURLConnection): Class documentation merged with classpath.
(getJarFileURL): Moved and documentation merged with classpath.
(getEntryName): Likewise.
(JarURLConnection): Documentation merged with classpath.
(getJarEntry): Likewise.
(getJarFile): Likewise.
* java/net/PlainDatagramSocketImpl.java:
Class documentation moved.
* java/net/URLConnection.java
(fileNameMap): Moved and documentation merged with classpath.
(factory): Likewise.
(defaultAllowUserInteraction): Likewis.
(defaultUseCaches): Likewise.
(allowUserInteraction): Likewise.
(connected): Likewise.
(url): Likewise.
(connect): Documentation merged with classpath.
(getURL): Likewise.
(getContentLength): Likewise.
(getContentType): Likewise.
(getContentEncoding): Likewise.
(getExpiration): Likewise.
(getDate): Likewise.
(getLastModified): Likewise.
(getHeaderField): Likewise.
(getContent): Likewise.
(getPermission): Likewise.
(getInputStream): Likewise.
(getOutputStream): Likewise.
(toString): Likewise.
(getDoInput): Likewise.
(getDoOutput): Likewise.
(setAllowUserInteraction): Likewise.
(getAllowUserInteraction): Likewise.
(setDefaultAllowUserInteraction): Likewise.
(getDefaultAllowUserInteraction): Likewise.
(setUseCaches): Likewise.
(getUseCaches): Likewise.
(setIfModifiedSince): Likewise.
(getIfModifiedSince): Likewise.
(setDefaultRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(setContentHandlerFactory): Likewise.
(setFileNameMap): Likewise.
From-SVN: r66379
Nathan Sidwell [Fri, 2 May 2003 11:33:06 +0000 (11:33 +0000)]
Makefile.in (TREE_H): Replace location.h with input.h.
* Makefile.in (TREE_H): Replace location.h with input.h.
(GTFILES) Remove location.h
(gt-lists.h): Replace gt-location.h with gt-input.h
* input.h (input_filename, input_line): Remove variables.
(location_s, location_t): Move from location.h.
(input_location): New.
(input_filename, input_line): New #defines.
* location.h: Remove.
* tree.h: Replace location.h with input.h.
(input_filename, input_line): Remove.
* diagnostic.h: Replace location.h with input.h.
* gcc.h (input_filename, input_filename_length): Remove declarations.
* toplev.c (input_filename, input_line): Remove.
(input_location): Define.
(push_srcloc, pop_srcloc): Adjust.
* diagnostic.c (diagnostic_report_current_module): Adjust.
f:
* lex.c (ffelex_file_pop_): Adjust file_stack member use.
(ffelex_file_push_): Likewise.
(ffelex_hash_): Likewise.
java:
* lex.h (input_lineno): Remove declaration.
* parse-scan.y: #include input.h.
(input_filename): Remove declaration.
(input_location): Add definition.
(input_line): Remove definition.
From-SVN: r66378
Gerald Pfeifer [Fri, 2 May 2003 09:41:47 +0000 (09:41 +0000)]
update_version (IGNORE_BRANCHES): Add.
* update_version (IGNORE_BRANCHES): Add.
(BRANCHES): Do not consider branches matching $IGNORE_BRANCHES.
From-SVN: r66377
Michael Koch [Fri, 2 May 2003 09:27:59 +0000 (09:27 +0000)]
InetAddress.java: Merged class documentation with classpath.
2003-05-02 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Merged class documentation with classpath.
* java/net/JarURLConnection.java:
Explicitely import all used classes.
* java/net/URL.java:
Reformatting.
* java/net/ServerSocket.java,
java/net/Socket.java:
New versions from classpath.
From-SVN: r66376
Gerald Pfeifer [Fri, 2 May 2003 09:13:52 +0000 (09:13 +0000)]
update_version: Add a trace of which branch we are currently working on.
* update_version: Add a trace of which branch we are currently
working on.
From-SVN: r66375
Nick Clifton [Fri, 2 May 2003 07:49:26 +0000 (07:49 +0000)]
Add xstormy16 to list of targets that has a nop instruction and hence which can...
Add xstormy16 to list of targets that has a nop instruction and hence which
can be tested to see if the assembler supports the --gdwarf2 switch.
From-SVN: r66374
Michael Koch [Fri, 2 May 2003 05:35:57 +0000 (05:35 +0000)]
2003-05-02 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java
(read): New implementation.
(implRead): New methods.
(write): New implementation, call other write insteal of read method.
(implWrite): New methods.
(map): Added comment.
(transferFrom): Implemented.
(transferTo): Implemented.
(lock): Added checks to throw exceptions.
(truncate): Added check to throw exception.
* gnu/java/nio/natFileChannelImpl.cc
(implRead): New method.
(implWrite): New method.
* java/nio/ByteBuffer.java
(hashCode): Fixed comment.
(get): Fixed exception documentation.
(put): Fixed exception documentation.
* java/nio/CharBuffer.java:
Added comment for later optimizations.
From-SVN: r66373
Phil Edwards [Fri, 2 May 2003 02:53:28 +0000 (02:53 +0000)]
acconfig.h (_GLIBCPP_USE_NLS): New symbol.
2003-05-01 Phil Edwards <pme@gcc.gnu.org>
* acconfig.h (_GLIBCPP_USE_NLS): New symbol.
* configure.in: Move libintl.h header test...
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
the NLS-related test results into one symbol.
* src/functexcept.cc: Use it here.
* aclocal.m4, config.h.in, configure: Regenerated.
From-SVN: r66372
Chris Demetriou [Fri, 2 May 2003 01:56:10 +0000 (01:56 +0000)]
mips-abi.exp (is_meabi_config): Remove, since MEABI is no longer supported.
2003-05-01 Chris Demetriou <cgd@broadcom.com>
* gcc.dg/special/mips-abi.exp (is_meabi_config): Remove,
since MEABI is no longer supported. Remove all vestiges
of MEABI from the test.
From-SVN: r66370
Falk Hueffner [Fri, 2 May 2003 01:05:43 +0000 (01:05 +0000)]
re PR target/8257 ([Alpha] frame pointer computation wrong on alpha (cross-compiler))
PR target/8257
* config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue,
alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib):
Avoid undefined shifts by making the shift operand unsigned.
From-SVN: r66367