OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agoDaily bump.
gccadmin [Mon, 5 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * update_version (textstring_FILES): Only version.c needs to be
gerald [Sun, 4 May 2003 22:51:26 +0000 (22:51 +0000)]
* update_version (textstring_FILES): Only version.c needs to be
updated, now that we do not consider older branches any more.

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

21 years ago * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
kraai [Sun, 4 May 2003 22:26:43 +0000 (22:26 +0000)]
* 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.

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

21 years agogcc:
ghazi [Sun, 4 May 2003 22:18:17 +0000 (22:18 +0000)]
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.

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

21 years ago * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
ghazi [Sun, 4 May 2003 22:14:18 +0000 (22:14 +0000)]
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure: Regenerate.

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

21 years ago2003-05-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 4 May 2003 22:12:18 +0000 (22:12 +0000)]
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>.

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

21 years ago * expr.c (store_field): Don't clobber TEMP in shift: it might be
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.
(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.

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

21 years ago * doc/cppopts.texi: Remove documentation of -gcc.
neil [Sun, 4 May 2003 22:06:57 +0000 (22:06 +0000)]
* doc/cppopts.texi: Remove documentation of -gcc.

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

21 years ago * stor-layout.c (compute_record_mode): Relax restriction
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.

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

21 years ago * doc/cppopts.texi: Enhance -Wtrigraphs documentation
neil [Sun, 4 May 2003 21:45:08 +0000 (21:45 +0000)]
* doc/cppopts.texi: Enhance -Wtrigraphs documentation

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

21 years ago * cppinit.c (cpp_create_reader, post_options): Warn about
neil [Sun, 4 May 2003 20:03:55 +0000 (20:03 +0000)]
* 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.

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

21 years ago * Makefile.in (LIBGCOV): Add _gcov_merge_add.
rakdver [Sun, 4 May 2003 15:20:26 +0000 (15:20 +0000)]
* 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.

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

21 years ago * toplev.h (pedwarn_with_file_and_line): Don't declare.
gdr [Sun, 4 May 2003 15:18:21 +0000 (15:18 +0000)]
* toplev.h (pedwarn_with_file_and_line): Don't declare.
* diagnostic.c (pedwarn_with_file_and_line): Remove.

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

21 years ago * varasm.c (assemble_variable): Don't use error_with_file_and_line.
gdr [Sun, 4 May 2003 14:27:17 +0000 (14:27 +0000)]
* varasm.c (assemble_variable): Don't use error_with_file_and_line.

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

21 years ago * Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
nathan [Sun, 4 May 2003 14:05:15 +0000 (14:05 +0000)]
* 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.

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

21 years ago * MAINTAINERS: Remove duplicate entries in Write After Approval.
gerald [Sun, 4 May 2003 11:45:20 +0000 (11:45 +0000)]
* MAINTAINERS: Remove duplicate entries in Write After Approval.

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

21 years ago * builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
ghazi [Sun, 4 May 2003 05:34:13 +0000 (05:34 +0000)]
* 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.

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

21 years ago * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
rth [Sun, 4 May 2003 05:22:51 +0000 (05:22 +0000)]
    * 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.

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

21 years ago * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
rth [Sun, 4 May 2003 00:33:49 +0000 (00:33 +0000)]
    * 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.

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

21 years agoDaily bump.
gccadmin [Sun, 4 May 2003 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
geoffk [Sat, 3 May 2003 23:16:56 +0000 (23:16 +0000)]
* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
(REVERSE_CONDITION): Define.

* gcc.dg/ppc-fsel-1.c: New test.

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

21 years ago * config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
geoffk [Sat, 3 May 2003 23:13:57 +0000 (23:13 +0000)]
* 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.

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

21 years ago * simplify-rtx.c (simplify_relational_operation): Add case for
geoffk [Sat, 3 May 2003 23:12:41 +0000 (23:12 +0000)]
* simplify-rtx.c (simplify_relational_operation): Add case for
! (fabs(x) < 0.0).

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

21 years agoforce merge conflicts in fixincl.x + placement fix
korbb [Sat, 3 May 2003 22:48:59 +0000 (22:48 +0000)]
force merge conflicts in fixincl.x + placement fix

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

21 years ago2003-05-03 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sat, 3 May 2003 22:44:44 +0000 (22:44 +0000)]
2003-05-03  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Remove unecessary casts.  Misc cleanups.

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

21 years ago PR c/10604
zack [Sat, 3 May 2003 21:44:31 +0000 (21:44 +0000)]
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.

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

21 years ago * trans.c (tree_transform): Use location_t and input_location
nathan [Sat, 3 May 2003 16:43:17 +0000 (16:43 +0000)]
* trans.c (tree_transform): Use location_t and input_location
directly.
(build_unit_elab): Likewise.
* utils.c (create_label_decl): Likewise.

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

21 years ago * com.c (ffecom_do_entry_): Use location_t and input_location
nathan [Sat, 3 May 2003 16:39:50 +0000 (16:39 +0000)]
* 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.

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

21 years ago * libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
kraai [Sat, 3 May 2003 16:20:48 +0000 (16:20 +0000)]
* 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.

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

21 years ago * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
kenner [Sat, 3 May 2003 14:30:07 +0000 (14:30 +0000)]
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
gen_lowpart on non-integer modes.

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

21 years ago * emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
kenner [Sat, 3 May 2003 14:25:22 +0000 (14:25 +0000)]
* 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.

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

21 years ago * stor-layout.c (place_field): When adjusting offset_align, use
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.

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

21 years ago2003-05-03 Carlo Wood <carlo@alinoe.com>
bkoz [Sat, 3 May 2003 14:09:35 +0000 (14:09 +0000)]
2003-05-03  Carlo Wood  <carlo@alinoe.com>

* cp-demangle.c: Fix typo in "char_traints" string-literal.

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

21 years ago * gcc.dg/m-un-2.c: Fix the typedef of size_t.
kazu [Sat, 3 May 2003 13:34:43 +0000 (13:34 +0000)]
* gcc.dg/m-un-2.c: Fix the typedef of size_t.

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

21 years ago * c-decl.c (pending_invalid_xref_file): Remove.
nathan [Sat, 3 May 2003 13:28:33 +0000 (13:28 +0000)]
* 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.

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

21 years ago PR c++/9364, c++/10553, c++/10586
lerdsuwa [Sat, 3 May 2003 11:58:17 +0000 (11:58 +0000)]
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.

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

21 years ago * class.c (finish_struct): Use location_t and input_location
nathan [Sat, 3 May 2003 11:37:22 +0000 (11:37 +0000)]
* 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.

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

21 years ago * ansify.c (die_unless): Revert lineno change here.
nathan [Sat, 3 May 2003 11:24:55 +0000 (11:24 +0000)]
* ansify.c (die_unless): Revert lineno change here.

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

21 years ago * gcc.c-torture/compile/20030503-1.c: New test.
rsandifo [Sat, 3 May 2003 08:42:58 +0000 (08:42 +0000)]
* gcc.c-torture/compile/20030503-1.c: New test.

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

21 years ago * config/mips/mips.md: Fix comment typo.
rsandifo [Sat, 3 May 2003 08:40:07 +0000 (08:40 +0000)]
* config/mips/mips.md: Fix comment typo.

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

21 years ago * config/mips/mips.c (mips_integer_op): New structure.
rsandifo [Sat, 3 May 2003 08:10:17 +0000 (08:10 +0000)]
* 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.

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

21 years ago * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
ljrittle [Sat, 3 May 2003 07:42:22 +0000 (07:42 +0000)]
* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.

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

21 years ago * Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
kraai [Sat, 3 May 2003 05:43:34 +0000 (05:43 +0000)]
* Makefile.in (gcov-iov.h): Use move-if-change and a stamp.

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

21 years ago PR java/10491:
tromey [Sat, 3 May 2003 02:29:26 +0000 (02:29 +0000)]
PR java/10491:
* gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro.
(handle_inner_classes): New function.

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

21 years ago2003-05-02 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 3 May 2003 01:29:54 +0000 (01:29 +0000)]
2003-05-02  Chris Demetriou  <cgd@broadcom.com>

        * Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
        * Makefile.in: Regenerate.

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

21 years ago PR java/10459:
tromey [Sat, 3 May 2003 00:35:06 +0000 (00:35 +0000)]
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.

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

21 years ago PR java/10459:
tromey [Sat, 3 May 2003 00:33:18 +0000 (00:33 +0000)]
PR java/10459:
* libjava.compile/pr10459_2.java: New file.
* libjava.compile/pr10459.java: New file.

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

21 years ago * builtins.c (expand_builtin_stpcpy): Copy `arglist' before
ghazi [Sat, 3 May 2003 00:25:59 +0000 (00:25 +0000)]
* builtins.c (expand_builtin_stpcpy): Copy `arglist' before
modifying it.

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

21 years agoDaily bump.
gccadmin [Sat, 3 May 2003 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
gerald [Fri, 2 May 2003 23:53:19 +0000 (23:53 +0000)]
* doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
Hernandez, and Kazu Hirata.  Update Richard Henderson.

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

21 years ago2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 2 May 2003 23:18:09 +0000 (23:18 +0000)]
2003-05-02  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (CLEANFILES): Remove PCH files in target
directory.
* include/Makefile.in: Regenerate.

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

21 years ago2003-05-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 2 May 2003 23:02:03 +0000 (23:02 +0000)]
2003-05-02  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (str()): Tidy.

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

21 years agoRemove myself as ARC maintainer.
kenner [Fri, 2 May 2003 19:23:41 +0000 (19:23 +0000)]
Remove myself as ARC maintainer.

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

21 years ago * config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
geoffk [Fri, 2 May 2003 18:36:50 +0000 (18:36 +0000)]
* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
to tentative declaration.

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

21 years ago2003-05-02 Nathan Myers <ncm@cantrip.org>
paolo [Fri, 2 May 2003 18:35:24 +0000 (18:35 +0000)]
2003-05-02  Nathan Myers  <ncm@cantrip.org>
    Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (__copy_streambufs): Rewrote.

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

21 years ago * config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
geoffk [Fri, 2 May 2003 18:32:49 +0000 (18:32 +0000)]
* 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.

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

21 years ago * c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
geoffk [Fri, 2 May 2003 18:07:01 +0000 (18:07 +0000)]
* c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
expand_stmt on result of expand_unreachable_stmt.

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

21 years ago2003-05-02 Wolfgang Bangerth <bangerth@dealii.org>
bangerth [Fri, 2 May 2003 16:33:48 +0000 (16:33 +0000)]
2003-05-02  Wolfgang Bangerth  <bangerth@dealii.org>
        * MAINTAINERS (GNATS only): Add Falk Hueffner.

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

21 years ago2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
redi [Fri, 2 May 2003 15:50:53 +0000 (15:50 +0000)]
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.

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

21 years ago * doc/contrib.texi (Contributors): Add Daniel Berlin.
gerald [Fri, 2 May 2003 15:27:06 +0000 (15:27 +0000)]
* doc/contrib.texi (Contributors): Add Daniel Berlin.

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

21 years ago * config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
dje [Fri, 2 May 2003 14:49:52 +0000 (14:49 +0000)]
    * 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.

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

21 years ago2003-05-02 Michael Koch <konqueror@gmx.de>
mkoch [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.

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

21 years ago * calls.c (struct arg_data): Move offset, slot_offset, size and
amodra [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.  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.

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

21 years agoClarify the comment before the abort we hit when a translated string contains invalid...
bangerth [Fri, 2 May 2003 13:34:52 +0000 (13:34 +0000)]
Clarify the comment before the abort we hit when a translated string contains invalid formats.

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

21 years ago * g++.dg/lookup/using5.C: Fix testcase error.
lerdsuwa [Fri, 2 May 2003 12:33:30 +0000 (12:33 +0000)]
* g++.dg/lookup/using5.C: Fix testcase error.

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

21 years ago2003-05-02 Michael Koch <konqueror@gmx.de>
mkoch [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.

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

21 years ago * Makefile.in (TREE_H): Replace location.h with input.h.
nathan [Fri, 2 May 2003 11:33:06 +0000 (11:33 +0000)]
* 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.

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

21 years ago * update_version (IGNORE_BRANCHES): Add.
gerald [Fri, 2 May 2003 09:41:47 +0000 (09:41 +0000)]
* update_version (IGNORE_BRANCHES): Add.
(BRANCHES): Do not consider branches matching $IGNORE_BRANCHES.

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

21 years ago2003-05-02 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 2 May 2003 09:27:59 +0000 (09:27 +0000)]
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.

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

21 years ago * update_version: Add a trace of which branch we are currently
gerald [Fri, 2 May 2003 09:13:52 +0000 (09:13 +0000)]
* update_version: Add a trace of which branch we are currently
working on.

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

21 years agoAdd xstormy16 to list of targets that has a nop instruction and hence which
nickc [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 be tested to see if the assembler supports the --gdwarf2 switch.

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

21 years ago2003-05-02 Michael Koch <konqueror@gmx.de>
mkoch [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.

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

21 years ago2003-05-01 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 2 May 2003 02:53:28 +0000 (02:53 +0000)]
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.

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

21 years ago2003-05-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 2 May 2003 01:56:10 +0000 (01:56 +0000)]
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.

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

21 years ago PR target/8257
rth [Fri, 2 May 2003 01:05:43 +0000 (01:05 +0000)]
    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.

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

21 years ago* reload.c (find_reloads): Also check that all of a multi-reg
dj [Fri, 2 May 2003 00:53:45 +0000 (00:53 +0000)]
* reload.c (find_reloads): Also check that all of a multi-reg
value is in the class.

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

21 years agoDaily bump.
gccadmin [Fri, 2 May 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-05-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 2 May 2003 00:14:49 +0000 (00:14 +0000)]
2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (overflow): Instead of calling
str(), then _M_string.reserve, thus copying the contents
of the current buffer two times, just copy the latter in
a temporary, then use the 'swap trick'.

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

21 years ago2003-05-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 1 May 2003 23:20:33 +0000 (23:20 +0000)]
2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (str()): Revert the best of the
previous 'improvement', incorrect due to the COW nature of
v3 basic_string; simplify.

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

21 years ago2003-05-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 1 May 2003 22:53:13 +0000 (22:53 +0000)]
2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (__copy_streambufs): Adjust the
type of __avail to ptrdiff_t to avoid signed-unsigned warning.

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

21 years ago2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 May 2003 22:17:23 +0000 (22:17 +0000)]
2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/abi_check.cc (check_version): Update known versions.
Check added symbols for version_name != base version. Add missing
symbols to incompatible list.

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

21 years ago PR libgcj/10582:
tromey [Thu, 1 May 2003 21:36:18 +0000 (21:36 +0000)]
PR libgcj/10582:
* verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
Removed.
(type::compatible): Use _Jv_IsAssignableFrom.
* java/lang/natClass.cc (iindex_mutex_initialized): Now static.
(_Jv_IsAssignableFrom): Work even when source or target class is
not prepared.

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

21 years ago PR libgcj/10582:
tromey [Thu, 1 May 2003 21:31:58 +0000 (21:31 +0000)]
PR libgcj/10582:
* libjava.lang/assign.java: New file.
* libjava.lang/assign.out: New file.

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

21 years ago2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 May 2003 20:19:18 +0000 (20:19 +0000)]
2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
* aclocal.m4: Regenerated.
* configure: Regenerated.

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

21 years ago * scan.h (lineno): Revert the rename here.
nathan [Thu, 1 May 2003 19:24:14 +0000 (19:24 +0000)]
* scan.h (lineno): Revert the rename here.

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

21 years ago * trans.c (tree_transform, build_unit_elab,
nathan [Thu, 1 May 2003 18:44:48 +0000 (18:44 +0000)]
* trans.c (tree_transform, build_unit_elab,
set_lineno): Rename lineno to input_line.

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

21 years ago * config/darwin.c (darwin_encode_section_info): Call
shebs [Thu, 1 May 2003 18:00:50 +0000 (18:00 +0000)]
    * config/darwin.c (darwin_encode_section_info): Call
        default_encode_section_info.

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

21 years agomissed from my previous checkin
nathan [Thu, 1 May 2003 17:15:23 +0000 (17:15 +0000)]
missed from my previous checkin

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

21 years ago * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
dje [Thu, 1 May 2003 17:05:18 +0000 (17:05 +0000)]
    * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
        (movsi_internal1): Use new mfjmpr attribute.
        (movhi_internal): Same.
        (movqi_internal): Same.
        (movcc_internal1): Same.
        (movdi_internal64): Same.
        * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
        power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
        * config/rs6000/40x.md: Add fpu_405.
        * config/rs6000/power4.md: Merge power4lsu and power4disp automata
        into power4misc automata.  Remove extraneous parentheses.
        * config/rs6000/440.md: New file.
        * config/rs6000/rs6000.c (processor_target_table): Add 440,
        440fp.  Rename 405f to 405fp.
        (function_arg_padding): Correct formatting.
        (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.

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

21 years ago2003-05-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 1 May 2003 16:45:50 +0000 (16:45 +0000)]
2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (basic_streambuf::xsgetn):
Const-ify some variables.
(basic_streambuf::xsputn): Likewise; change the type of some
variables to size_t.
(__copy_streambufs): Change some variables to size_t.

2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (str()): Avoid constructing
a basic_string temporary not only when it would turn out
to be zero-sized but also when identical to the current
_M_string buffer.

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

21 years ago * input.h (lineno): Rename to ...
nathan [Thu, 1 May 2003 16:13:36 +0000 (16:13 +0000)]
* input.h (lineno): Rename to ...
(input_line): ... here.
* tree.h (lineno): Rename to ...
(input_line): ... here.
* scan.h (lineno): Rename to ...
(input_line): ... here.
* toplev.c (lineno): Rename to ...
(input_line): ... here.
(push_srcloc, pop_srcloc):  Rename lineno to input_line.
* c-common.c (c_expand_start_cond, fname_decl): Likewise.
* c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
store_parm_decls, c_expand_body_1): Likewise.
* c-errors.c (pedwarn_c99): Likewise.
* c-format.c (status_warning): Likewise.
* c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
* c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
* c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
* c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
* coverage.c (create_coverage): Likewise.
* diagnostic.c (pedwarn, sorry, error, fatal_error,
internal_error, warning, diagnostic_report_current_module,
inform): Likewise.
* expr.c (expand_expr): Likewise.
* integrate.c (expand_inline_function,
output_inline_function): Likewise.
* rtl-error.c (file_and_line_for_asm): Likewise.
* tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
walk_tree): Likewise.
* tree.c (make_node): Likewise.
* ada, cp, f, java, objc, treelang: Likewise.

ada
* trans.c (build_unit_elab, set_lineno): Rename lineno to
input_line.
* utils.c (pushdecl, create_label_decl, begin_subprog_body,
end_subprog_body): Likewise.
* utils2.c (build_call_raise): Likewise.

cp
* class.c (finish_struct): Rename lineno to input_line.
* decl.c (push_binding_level, pop_binding_level,
suspend_binding_level, resume_binding_level, make_label_decl,
use_label, start_function): Likewise.
* decl2.c (warn_if_unknown_interface,
start_static_initialization_or_destruction,
generate_ctor_or_dtor_function, finish_file): Likewise.
* error.c (cp_line_of, print_instantiation_full_context,
print_instantiation_context): Likewise.
* except.c (check_handlers_1, check_handlers): Likewise.
* init.c (create_temporary_var): Likewise.
* method.c (use_thunk, synthesize_method): Likewise.
* parser.c (cp_lexer_set_source_position_from_token,
cp_lexer_get_preprocessor_token): Likewise.
* pt.c (push_tinst_level, pop_tinst_level,
tsubst_friend_function, instantiate_class_template, tsubst_decl,
tsubst, tsubst_expr, instantiate_decl): Likewise.
* semantics.c (genrtl_try_block, finish_label_stmt,
begin_class_definition, expand_body,
genrtl_finish_function): Likewise.
* tree.c (build_min_nt, build_min): Likewise.

f
* ansify.c (die_unless): Rename lineno to input_line.
* com.c (ffecom_subscript_check_, ffecom_do_entry_,
ffecom_gen_sfuncdef_, ffecom_start_progunit_,
ffecom_sym_transform_, ffecom_sym_transform_assign_,
bison_rule_pushlevel_, bison_rule_compstmt_, finish_function,
store_parm_decls): Likewise.
* intrin.c (ffeintrin_fulfill_generic): Likewise.
* lex.c (ffelex_hash_, ffelex_include_, ffelex_next_line_,
ffelex_file_fixed, ffelex_file_free): Likewise.
* std.c (ffestd_exec_end): Likewise.
* ste.c (ffeste_emit_line_note_, ffeste_start_block_,
ffeste_start_stmt_): Likewise.
* ste.h (ffeste_filelinenum, ffeste_set_line): Likewise.

java
* lex.h (lineno): Rename to ...
(input_line): ... here
* parse-scan.y (lineno): Rename to ...
(input_line): ... here.
(reset_report): Rename lineno to input_line.
* check-init.c (check_init): Likewise.
* class.c (push_class): Likewise.
* decl.c (complete_start_java_method, end_java_method): Likewise.
* expr.c (expand_byte_code): Likewise.
* jcf-parse.c (give_name_to_class, parse_class_file): Likewise.
* jcf-write.c (generate_bytecode_insns): Likewise.
* lex.c (java_init_lex, java_allocate_new_line,
do_java_lex): Likewise.
* parse.h (YYNOT_TWICE): Likewise.
* parse.y (empty_statement, expression_statement,
java_pop_parser_context, java_parser_context_save_global,
yyerror, register_fields, method_header, safe_layout_class,
find_in_imports_on_demand, create_artificial_method,
source_end_java_method, start_complete_expand_method,
build_thisn_assign, java_complete_lhs,
maybe_absorb_scoping_block): Likewise.

objc
* objc-act.c (objc_init): Rename lineno to input_line.
(build_module_descriptor, build_selector_translation_table,
build_protocol_template, build_method_prototype_list_template,
build_category_template, build_selector_table,
build_class_template, build_super_template, build_ivar_template,
build_ivar_list_template, build_method_list_template,
build_method_template, add_instance_variable): Likewise.

treelang
* tree1.c (treelang_init): Rename lineno to input_line.

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

21 years ago * decl2.c (comdat_linkage): Don't externalize explicit
mmitchel [Thu, 1 May 2003 15:46:01 +0000 (15:46 +0000)]
* decl2.c (comdat_linkage): Don't externalize explicit
instantiations.

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

21 years ago * lex.c (ffelex_file_pop_): Rename parameter from input_filename.
nathan [Thu, 1 May 2003 15:42:10 +0000 (15:42 +0000)]
* lex.c (ffelex_file_pop_): Rename parameter from input_filename.
(ffelex_file_push_): Likewise.

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

21 years ago PR c++/10554
lerdsuwa [Thu, 1 May 2003 15:02:13 +0000 (15:02 +0000)]
PR c++/10554
* decl2.c (do_class_using_decl): Check if operand 0 of SCOPE_REF
is not NULL.

* g++.dg/lookup/using5.C: New test.

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

21 years ago * cp-tree.h (struct lang_id2): Remove. Move fields from here...
steven [Thu, 1 May 2003 14:39:37 +0000 (14:39 +0000)]
* cp-tree.h (struct lang_id2): Remove.  Move fields from here...
(struct lang_identifier): ... to here.
(LANG_ID_FIELD): Remove.
(SET_LANG_ID): Remove.
(IDENTIFIER_LABEL_VALUE): Adjust for new lang_identifier.
(SET_IDENTIFIER_LABEL_VALUE): Likewise.
(IDENTIFIER_IMPLICIT_DECL): Likewise.
(SET_IDENTIFIERL_IMPLICIT_DECL): Likewise.
(IDENTIFIER_ERROR_LOCUS): Likewise.
(SET_IDENTIFIER_ERROR_LOCUS): Likewise.

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

21 years ago2003-05-01 Laurent Guerby <guerby@acm.org>
guerby [Thu, 1 May 2003 14:14:35 +0000 (14:14 +0000)]
2003-05-01  Laurent Guerby <guerby@acm.org>

        PR ada/10546
        * 5iosinte.ads: Increase pthread_cond_t size to match recent
        LinuxThread and NPTL version, merge from ACT.

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

21 years ago * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
nathan [Thu, 1 May 2003 13:45:37 +0000 (13:45 +0000)]
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
name from input_filename.
f:
* ste.c (struct gbe_block): Rename field from input_filename.
(ffeste_start_block_, ffeste_start_stmt_): Likewise.

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

21 years ago PR c++/8772
lerdsuwa [Thu, 1 May 2003 11:36:19 +0000 (11:36 +0000)]
PR c++/8772
* pt.c (convert_template_argument): Correct diagnostic.

* g++.dg/template/ttp5.C: New test.

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

21 years agoRegenerated with autoconf 2.13.
rsandifo [Thu, 1 May 2003 11:26:17 +0000 (11:26 +0000)]
Regenerated with autoconf 2.13.

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

21 years ago2003-05-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 1 May 2003 08:41:59 +0000 (08:41 +0000)]
2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

* include/ext/stdio_filebuf.h
(stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
Shorten a bit (-10 lines) by factoring out some code.

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