* aclocal.m4: Replace with version copied from libstdc++-v3.
* configure.in: Update for changes to aclocal and Makefile.
* configure: Regenerate.
* Makefile.in: Correct install and uninstall for cross targets.
* libU77/configure: Regenerate.
From-SVN: r49316
PR other/1502:
* cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
don't ignore unrecognized -W* options.
(cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
* cpplib.h (cpp_handle_option): Adjust prototype.
* c-decl.c (c_decode_options): Pass 0 as last argument to
cpp_handle_option.
PR c/2896:
* gcc.c (cpp_unique_options): Split from cpp_options.
(cpp_options): Source cpp_unique_options.
(default_compilers): Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
(static_specs): Add cpp_unique_options.
* objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
* decl2.c (cxx_decode_option): Pass 0 as last argument to
cpp_handle_option.
* lang-specs.h: Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
From-SVN: r49315
cp:
PR c++/5132
* typeck2.c (digest_init): Make sure non-array core type is
instantiated.
* decl2.c (reparse_absdcl_as_casts): Just store the type in the
constructor, rather than build a new one.
(build_expr_from_tree, CONSTRUCTOR case): Be careful with the
PURPOSE of constructor elts.
testsuite:
* g++.dg/template/ctor1.C: Add instantiation.
From-SVN: r49314
* config/h8300/h8300-protos.h: Update the prototype of
output_a_shift.
* config/h8300/h8300.c (output_a_shift): Remove an unused
argument 'insn'. Remove redundant code.
* config/h8300/h8300.md: Adust to the new prototype of
output_a_shift.
From-SVN: r49310
* config/h8300/h8300-protos.h: Update the prototypes of
emit_a_rotate and expand_a_rotate.
* config/h8300/h8300.c (emit_a_rotate): Change the type of the
first argument to 'enum rtx_code'.
(expand_a_rotate): Likewise.
From-SVN: r49309
* config/h8300/h8300-protos.h: Update the prototype of
output_simode_bld.
* config/h8300/h8300.c (output_simode_bld): Remove an argumen
'log2'.
* config/h8300/h8300.md: Adjust to the new prototype.
From-SVN: r49308
* emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
is a fixed register before returning pic_offset_table_rtx.
* loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
From-SVN: r49304
* builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
BT_FN_VOID_PTR_VAR.
* builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
* doc/extend.texi (__builtin_prefetch): Update documentation:
first argument is now const void ptr.
* gcc.c-torture/execute/builtin-prefetch-1.c: Changed first
argument to __builtin_prefetch to be const ptr.
From-SVN: r49296
2002-01-28 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_inserter_arith.cc (test03):
Fix to deal correctly with both 32 bit and 64 bit architectures
From-SVN: r49295
* expr.c (build_jni_stub): Ensure storage for `meth' is
generated.
* parse.y (java_complete_expand_methods): Set
current_function_decl before building JNI stub.
From-SVN: r49286
* config.gcc (*-*-netbsdelf*): Set up generic parameters.
(*-*-netbsd*): Always use collect2. Remove collect2 settings from
other non-elf netbsd config frags.
* config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
collect2 will does that.
* config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
shared-lib frobbing will work.
From-SVN: r49285
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
atexit call in crtbegin, hooked in after call to frame_dummy;
register EH before registering __fini__start.
From-SVN: r49281
* verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
and to-do list.
(state::merge): Use current class' class loader.
(state::print): Print subroutine.
(state::merge): Don't look at subroutine of unmerged `ret'.
From-SVN: r49274
* sched-deps.c (reg_pending_uses_head): New.
(reg_pending_barrier): Rename from reg_pending_sets_all.
(find_insn_list): Don't mark inline.
(find_insn_mem_list): Remove.
(add_dependence_list, add_dependence_list_and_free): New.
(flush_pending_lists): Replace only_write param with separate
for_read and for_write parameters. Update all callers. Use
add_dependence_list_and_free.
(sched_analyze_1): Do not add reg dependencies here; just set
the pending bits. Use add_dependence_list.
(sched_analyze_2): Likewise.
(sched_analyze_insn): Replace schedule_barrier_found with
reg_pending_barrier. Add all dependencies for pending reg
uses, sets, and clobbers.
(sched_analyze): Don't add reg dependencies for calls, just
set pending bits. Use regs_invalidated_by_call. Treat
sched_before_next_call as a normal list, not a fake insn.
(init_deps): No funny init for sched_before_next_call.
(free_deps): Free pending mems lists. Don't zero reg_last.
(init_deps_global): Init reg_pending_uses.
(finish_deps_global): Free it.
* sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
(find_insn_mem_list): Remove.
* sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
(propagate_deps): Use them. Zero temp mem lists.
From-SVN: r49262
* configure.in (*-*-netbsd*): New. Skip target-newlib,
target-libiberty, and target-libgloss. Skip Java-related
libraries if not supported for NetBSD on target CPU.
From-SVN: r49258