Commit Graph

40458 Commits

Author SHA1 Message Date
Joseph Myers b9aea0ebf8 * snapshot-README, snapshot-index.html: New files.
From-SVN: r49318
2002-01-29 14:02:17 +00:00
Philipp Thomas cb12891b42 Update translations to current versions.
From-SVN: r49317
2002-01-29 13:26:33 +00:00
Geoffrey Keating ceb5e20fdb aclocal.m4: Replace with version copied from libstdc++-v3.
* 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
2002-01-29 13:21:08 +00:00
Jakub Jelinek ffdeea47b9 re PR other/1502 (Nonexistent -W options not diagnosed)
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
2002-01-29 13:09:37 +01:00
Nathan Sidwell b8b98c66af re PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates)
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
2002-01-29 09:52:51 +00:00
GCC Administrator aee25e2d8e Daily bump.
From-SVN: r49311
2002-01-29 08:16:33 +00:00
Kazu Hirata 1a27522615 h8300-protos.h: Update the prototype of output_a_shift.
* 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
2002-01-29 05:10:13 +00:00
Kazu Hirata a11d9dfc0a h8300-protos.h: Update the prototypes of emit_a_rotate and expand_a_rotate.
* 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
2002-01-29 05:02:41 +00:00
Kazu Hirata 871f73e332 h8300-protos.h: Update the prototype of output_simode_bld.
* 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
2002-01-29 04:54:39 +00:00
Kazu Hirata 5fc4b75139 h8300.c (h8300_adjust_insn_length): Remove redundant code.
* conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
	redundant code.

From-SVN: r49307
2002-01-29 04:47:55 +00:00
Phil Edwards 8907b6e476 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
ChangeLog rotation.

From-SVN: r49306
2002-01-29 02:57:55 +00:00
Phil Edwards 4ceaf7fb1d MAINTAINERS: Update my email address.
2002-01-28  Phil Edwards  <pme@gcc.gnu.org>

	* MAINTAINERS:  Update my email address.

From-SVN: r49305
2002-01-29 00:58:25 +00:00
John David Anglin 2d67bd7be1 emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM is a fixed register before returning...
* 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
2002-01-29 00:45:55 +00:00
Jason Merrill 5a852b3eb0 dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
* dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
        Sync with src version.

From-SVN: r49302
2002-01-28 18:23:26 -05:00
Jason Merrill b08dd119e6 add PR number
From-SVN: r49301
2002-01-28 18:00:32 -05:00
Phil Edwards ffe94f8380 Makefile.am (doxygen, [...]): Tweak targets.
2002-01-28  Phil Edwards  <pme@gcc.gnu.org>

	* Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
	* Makefile.in:  Regenerate.

	* docs/doxygen/run_doxygen:  Update, mostly for man pages.
	* docs/doxygen/Intro.3:  Update.
	* docs/doxygen/TODO:  Update.
	* docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
	* docs/doxygen/mainpage.doxy:  Update.
	* docs/doxygen/user.cfg.in:  Update for header rename.  Also
	regenerate comments and variables with 1.2.12.
	* docs/doxygen/maint.cfg.in:  Remove file.

	* include/bits/stl_relops.h:  Doxygenate.
	* include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.

	* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
	include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
	include/c_std/std_ciso646.h, include/c_std/std_climits.h,
	include/c_std/std_clocale.h, include/c_std/std_cmath.h,
	include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
	include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
	include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
	include/c_std/std_cstring.h, include/c_std/std_ctime.h,
	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
	include/ext/algorithm, include/ext/functional, include/ext/hash_map,
	include/ext/hash_set, include/ext/iterator, include/ext/memory,
	include/ext/numeric, include/ext/rb_tree, include/ext/rope,
	include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
	include/ext/stl_hashtable.h, include/ext/stl_rope.h,
	include/std/std_algorithm.h, include/std/std_bitset.h,
	include/std/std_complex.h, include/std/std_deque.h,
	include/std/std_fstream.h, include/std/std_functional.h,
	include/std/std_iomanip.h, include/std/std_ios.h,
	include/std/std_iosfwd.h, include/std/std_iostream.h,
	include/std/std_istream.h, include/std/std_iterator.h,
	include/std/std_limits.h, include/std/std_list.h,
	include/std/std_locale.h, include/std/std_map.h,
	include/std/std_memory.h, include/std/std_numeric.h,
	include/std/std_ostream.h, include/std/std_queue.h,
	include/std/std_set.h, include/std/std_sstream.h,
	include/std/std_stack.h, include/std/std_stdexcept.h,
	include/std/std_streambuf.h, include/std/std_string.h,
	include/std/std_utility.h, include/std/std_valarray.h,
	include/std/std_vector.h:  Add/correct @file doxygen hook.

	* include/ext/memory:  Doxygenate most of rest of file.
	* libsupc++/exception:  Doxygen output formatting.
	* libsupc++/new:  Say which header it is.

	* testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
	* docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
	* docs/html/23_containers/howto.html:  Describe O(n) list::size().
	* docs/html/27_io/howto.html:  Also link to Langer and Kreft text.

From-SVN: r49300
2002-01-28 22:13:12 +00:00
Kaveh R. Ghazi b05c4e590b * libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.
From-SVN: r49299
2002-01-28 21:08:34 +00:00
Paolo Carlini 11e174221b filebuf_members.cc (test_05): Add test.
2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
	    Charles Leggett <CGLeggett@lbl.gov>

	* testsuite/27_io/filebuf_members.cc (test_05): Add test.

Co-Authored-By: Charles Leggett <CGLeggett@lbl.gov>

From-SVN: r49297
2002-01-28 20:07:57 +00:00
Paul Koning 3bca17dda3 builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace BT_FN_VOID_PTR_VAR.
* 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 12:07:01 -08:00
Paolo Carlini 4debe14deb ostream_inserter_arith.cc (test03): Fix to deal correctly with both 32 bit and 64 bit architectures
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
2002-01-28 20:06:15 +00:00
Kazu Hirata 7dc3f8c018 * config/h8300/h8300-protos.h: Remove an unused prototype.
From-SVN: r49293
2002-01-28 18:57:01 +00:00
Tom Tromey 8987cc881f verify.cc (class _Jv_BytecodeVerifier): `nargs' byte is number of words, not number of arguments.
* verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
	`nargs' byte is number of words, not number of arguments.

From-SVN: r49292
2002-01-28 18:52:44 +00:00
Roman Zippel e83cb5f017 * toplev.c (lang_independent_init): Round up identifier size.
From-SVN: r49291
2002-01-28 10:37:58 -08:00
Richard Earnshaw 5721cd8402 * config.gcc: Revert previous change.
From-SVN: r49290
2002-01-28 18:20:58 +00:00
Andris Pavenis d534119e40 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
From-SVN: r49289
2002-01-28 13:11:13 -05:00
Tom Tromey adc8cb5dea expr.c (build_jni_stub): Ensure storage for `meth' is generated.
* 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
2002-01-28 16:52:27 +00:00
Richard Earnshaw 5a721dab82 config.gcc (*-*-netbsdelf*): Set up generic parameters.
* 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
2002-01-28 16:25:14 +00:00
Kazu Hirata da1775d644 h8300.h: Fix formatting.
* config/h8300/h8300.h: Fix formatting.
	* config/h8300/h8300.md: Likewise.

From-SVN: r49284
2002-01-28 15:26:04 +00:00
Loren J. Rittle 8f2e963bd6 inclhack.def (strict_ansi_not): Add a bypass based on the old, removed AAA_standards fix.
* fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
	the old, removed AAA_standards fix.
	* fixinc/fixincl.x: Rebuilt.

From-SVN: r49282
2002-01-28 14:17:11 +00:00
Hans-Peter Nilsson fdae5767f0 cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit atexit call in crtbegin, hooked in after call to frame_dummy...
* 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
2002-01-28 13:46:05 +00:00
Jakub Jelinek 27d921c7cf * gcc.c-torture/compile/20020120-1.c: New test.
From-SVN: r49279
2002-01-28 13:04:02 +01:00
GCC Administrator 41e427e8b9 Daily bump.
From-SVN: r49277
2002-01-28 08:16:16 +00:00
Aldy Hernandez 2a2ecb63a3 altivec.h: Remove spurious semicolons.
2002-01-28  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Remove spurious semicolons.

From-SVN: r49276
2002-01-28 07:14:46 +00:00
Tom Tromey b535229173 MouseEvent.java (modifiers): Removed field.
* java/awt/event/MouseEvent.java (modifiers): Removed field.
	(when): Likewise.
	* java/awt/event/InputEvent.java (modifiers, when): Now
	package-private.

From-SVN: r49275
2002-01-28 06:34:01 +00:00
Tom Tromey 1919a4e7e0 verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment and to-do list.
* 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
2002-01-28 00:46:23 +00:00
Andreas Tobler 73068e369f nogc.cc: Remove warnings.
2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>

	* nogc.cc: Remove warnings.
	(_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
	New functions.

From-SVN: r49273
2002-01-27 22:33:35 +00:00
Tom Tromey 45a2b4f74e reverted accidental checkin
From-SVN: r49272
2002-01-27 22:30:30 +00:00
Andreas Tobler 1d8478d79a builtins.c (sqrt_builtin): Use BUILT_IN_SQRT, not BUILT_IN_SQRTF.
2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>

	* gcc/java/builtins.c (sqrt_builtin): Use BUILT_IN_SQRT, not
	BUILT_IN_SQRTF.

From-SVN: r49271
2002-01-27 22:28:42 +00:00
Kazu Hirata 438451ccec * gcc.c-torture/execute/20020127-1.c: New test.
From-SVN: r49270
2002-01-27 22:02:49 +00:00
Kazu Hirata 8ed43adf98 h8300.md: Replace dead bit extraction patterns with ones that work.
* config/h8300/h8300.md: Replace dead bit extraction patterns
	with ones that work.

From-SVN: r49269
2002-01-27 21:50:10 +00:00
Richard Kenner 917afb0c3f emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode if not STRICT_ALIGNMENT.
* emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
	if not STRICT_ALIGNMENT.
	* rtl.h (MEM_ALIGN): Likewise.

From-SVN: r49268
2002-01-27 13:29:33 -05:00
Craig Rodrigues f70a54cb87 invoke.texi (-fdump-translation-unit): Revert this patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/invoke.texi (-fdump-translation-unit): Revert this
        patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>

From-SVN: r49267
2002-01-27 17:44:54 +00:00
GCC Administrator eeb373f61c Daily bump.
From-SVN: r49265
2002-01-27 08:16:20 +00:00
Kazu Hirata d8fd4914ea h8300.md (define_constants): New.
* config/h8300/h8300.md (define_constants): New.
	(anonymous patterns) Use defined constants appropriately.

From-SVN: r49264
2002-01-27 06:44:53 +00:00
Kazu Hirata 15e0e27547 * config/h8300/h8300.c (function_arg): Remove redundant code.
From-SVN: r49263
2002-01-27 06:33:17 +00:00
Richard Henderson 37a0f8a525 sched-deps.c (reg_pending_uses_head): New.
* 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
2002-01-26 20:46:53 -08:00
Richard Henderson cea3bd3e5a Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
	(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
	* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
	crtstuff.c instead of alpha assembly version.
	* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
	entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
	not FORCE_{INIT,FINI}_SECTION_ALIGN.
	(__do_global_dtors_aux): Mark used.
	(frame_dummy, __do_global_ctors_aux): Mark used.
	(fini_dummy, init_dummy): Remove.

	* config/alpha/crtbegin.asm: Remove file.
	* config/alpha/crtend.asm: Remove file.
	* config/alpha/t-crtbe: Remove file.
	* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
	(LINK_EH_SPEC): New.

	* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
	FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
	calling constructors.
	* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.

	* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
	* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
	CRT_END_INIT_DUMMY hack.
	* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
	FORCE_{INIT,FINI}_SECTION_ALIGN.

	* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
	FORCE_{INIT,FINI}_SECTION_ALIGN.

	* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
	invocation sequence.
	* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.

	* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
	(FORCE_CODE_SECTION_ALIGN): New.

From-SVN: r49261
2002-01-26 20:18:12 -08:00
Richard Henderson 1f9131b7db Update copyright.
From-SVN: r49260
2002-01-26 19:44:58 -08:00
Richard Henderson 60ffa0e5ba * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
From-SVN: r49259
2002-01-26 19:42:07 -08:00
Jason Thorpe 51584787e0 configure.in (*-*-netbsd*): New.
* 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
2002-01-27 02:41:37 +00:00