Commit Graph

40478 Commits

Author SHA1 Message Date
GCC Administrator
6084253c7e Daily bump.
From-SVN: r49338
2002-01-30 08:16:39 +00:00
David Billinghurst
02f06b3c6d f77-edit-i-out.f: Escape \.
2002-01-30  David Billinghurst  <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-i-out.f:  Escape \. Allow \r\n and \r.

From-SVN: r49337
2002-01-30 04:48:28 +00:00
Richard Henderson
2fd667c276 991118-1.c: Cast various constants back to long long.
* gcc.c-torture/execute/991118-1.c: Cast various constants back
        to long long.
        * gcc.c-torture/execute/bf64-1.c: Likewise.

From-SVN: r49336
2002-01-29 19:39:56 -08:00
Tom Tromey
7950ed567c List.java (addNotify): Correctly check to see if peer does not exist.
* java/awt/List.java (addNotify): Correctly check to see if peer
	does not exist.

From-SVN: r49335
2002-01-30 02:47:48 +00:00
Jason Merrill
6bb289655c dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
* dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
        (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
        (reg_save): Use DW_CFA_offset_extended_sf instead.

        * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.

From-SVN: r49334
2002-01-29 19:19:23 -05:00
Jakub Jelinek
37060e78fa cselib.c (cselib_record_sets): Use IF_THEN_ELSE result in cselib_lookup.
* cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
	in cselib_lookup.

	* gcc.c-torture/execute/20020129-1.c: New test.

From-SVN: r49333
2002-01-30 00:15:24 +01:00
Richard Henderson
003b9f7872 Fix markup last change.
From-SVN: r49332
2002-01-29 15:01:10 -08:00
Aldy Hernandez
d18dba687c rs6000.md ("*call_value_local32"): Remove constraints.
2002-01-29  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.md ("*call_value_local32"): Remove constraints.
        ("*call_value_local64"): Same.
        ("*call_value_indirect_nonlocal_aix32"): Same.
        ("*call_value_nonlocal_aix32"): Same.
        ("*call_value_indirect_nonlocal_aix64"): Same.
        ("*call_value_nonlocal_aix64"): Same.
        ("*call_value_nonlocal_sysv"): Same.

From-SVN: r49331
2002-01-29 22:49:55 +00:00
Richard Henderson
80a8aac610 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
From-SVN: r49330
2002-01-29 14:37:36 -08:00
Richard Henderson
12beba6fe6 expr.c (force_operand): Ignore flag_pic for detecting pic address loads.
* expr.c (force_operand): Ignore flag_pic for detecting pic
        address loads.
        * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
        for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
        * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
        instead of open-coded loop.
        * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
        be fixed when in use.

From-SVN: r49329
2002-01-29 14:34:48 -08:00
Richard Henderson
2583081eb5 sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
* sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
        * sched-rgn.c (propagate_deps): Update them.
        * sched-deps.c (sched_analyze_insn): Update them.  Flush the
        clobbers list when either gets too long.

From-SVN: r49328
2002-01-29 14:11:09 -08:00
Jakub Jelinek
3b8d200e8d i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS and INDEX_REGS the same as GENERAL_REGS.
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
	and INDEX_REGS the same as GENERAL_REGS.
	(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.

From-SVN: r49327
2002-01-29 23:05:03 +01:00
Neil Booth
2d3115eb53 * tree.c (build_nonstandard_integer_type): Correct prototype.
From-SVN: r49326
2002-01-29 19:10:28 +00:00
Ulrich Weigand
ecbe845e2d s390.md (movstrsico, [...]): Remove, replace by ...
* config/s390/s390.md (movstrsico, movstrdix_64,
	movstrsix_31): Remove, replace by ...
	(movstrdi_short, movstrsi_short, movstrdi_long,
	movstrsi_long): ... these.  New.
	(movstrdi, movstrsi): Adapt.

	(rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
	ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
	Remove unnecessary CC clobber.
	(*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
	*ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.

	(divmoddi4): Don't partially initialize TImode register.

From-SVN: r49325
2002-01-29 18:45:53 +00:00
Geoffrey Keating
0b32fca5ed * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
From-SVN: r49324
2002-01-29 17:59:42 +00:00
Richard Henderson
08ef543734 flow.c (print_rtl_and_abort): Remove.
* flow.c (print_rtl_and_abort): Remove.
        (print_rtl_and_abort_fcn): Remove.
        (verify_local_live_at_start): Use dump_bb instead.
        (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
        (verify_wide_reg_1): Return 2 on mode test failure.

From-SVN: r49323
2002-01-29 09:46:38 -08:00
Neil Booth
d82b2ced45 * Forgotten commit.
From-SVN: r49322
2002-01-29 17:23:41 +00:00
Neil Booth
8469e54e14 re PR c/3325 (cast of bit-field to same type gets discarded)
PR c/3325
	* c-decl.c (enum_decl_context): Remove BITFIELD.
	(grokdeclarator): Take bitfield width as an input.
	Ensure bitfields are given the correct type.  Perform
	bitfield width validation with build_bitfield_integer_type
	rather than waiting for finish_struct.
	(grok_typename, grok_typename_in_parm_context, start_decl,
	push_parmdecl, grokfield, start_function): Update calls to
	grokdeclarator.
	(build_bitfield_integer_type): New function.
	(finish_struct): Move bitfield validation to grokdeclarator
	and build_bitfield_integer_type.
	* tree.c (build_nonstandard_integer_type): New function.
	* tree.h (build_nonstandard_integer_type): New prototype.
objc:
	* objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
testsuite:
	* gcc.c-torture/compile/20000224-1.c: Update.
	* gcc.c-torture/execute/bitfld-1.c: New tests.
	* gcc.dg/bitfld-1.c, bitfld-2.c: Diagnostic tests.
	* gcc.dg/uninit-A.c: Update.

From-SVN: r49321
2002-01-29 17:19:58 +00:00
Tom Tromey
6c54b16cef GridLayout.java (layoutContainer): Use number of rows to compute height of each cell...
* java/awt/GridLayout.java (layoutContainer): Use number of rows
	to compute height of each cell, and number of columns to compute
	width of each cell.
	* java/awt/Window.java (getOwnedWindows): Don't return null.
	* java/awt/FlowLayout.java (layoutContainer): Set width and height
	of component.  Increment x using horizontal gap, not vertical
	gap.

From-SVN: r49320
2002-01-29 16:31:24 +00:00
Joseph Myers
d09f7cb26b snapshot-README, [...]: Use expressions such as @DATE@ rather than hardcoded dates.
* snapshot-README, snapshot-index.html: Use expressions such as
	@DATE@ rather than hardcoded dates.

From-SVN: r49319
2002-01-29 14:08:04 +00:00
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