Commit Graph

40497 Commits

Author SHA1 Message Date
Benjamin Kosnik
f5d09ce747 c_locale_gnu.cc: Same errno fixes as generic.
2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.

	* ChangeLog-2001: Fix my spelling errors...
	* docs/html/17_intro/RELEASE-NOTES: Update.
	* docs/html/17_intro/TODO: Update.
	* README (file): Update.

From-SVN: r49358
2002-01-31 02:05:17 +00:00
Tom Rix
8785985197 Make gcsec-1.c unsupported for AIX.
From-SVN: r49357
2002-01-31 01:44:14 +00:00
Alexandre Oliva
0b51254df2 mips.h (PARM_BOUNDARY): Guarantee alignment of arguments to 64-bit boundaries on 64-bit ABIs.
* config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
arguments to 64-bit boundaries on 64-bit ABIs.

From-SVN: r49356
2002-01-31 01:40:54 +00:00
Steve Ellcey
71cef493de * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
From-SVN: r49355
2002-01-30 17:37:22 -08:00
Benjamin Kosnik
2a4e640755 c_locale_gnu.cc: Same errno fixes as generic.
2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.

From-SVN: r49354
2002-01-31 01:21:08 +00:00
Phil Edwards
46ab74b1fd cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
2002-01-30  Phil Edwards  <pme@gcc.gnu.org>

	* cp-demangle.c (cp_demangle_type):  Do not protect with IN_LIBGCC2.
	(cplus_demangle_v3):  Mimic __cxa_demangle and fall back on
	cp_demangle_type.
	* testsuite/demangle-expected:  New gnu-v3 test.

From-SVN: r49353
2002-01-31 01:03:05 +00:00
Joseph Myers
6169e5fdd8 c-decl.c (grokdeclarator): Handle type being a typedef for an invalid type.
* c-decl.c (grokdeclarator): Handle type being a typedef for an
	invalid type.

testsuite:
	* gcc.dg/noncompile/20020130-1.c: New test.

From-SVN: r49352
2002-01-31 01:01:02 +00:00
Tom Tromey
250fce1dfa jartool.c (main): NULL-terminate new_argv.
* jartool.c (main): NULL-terminate new_argv.  Pass 0 as argument
	to init_args.

From-SVN: r49351
2002-01-31 00:52:16 +00:00
Loren J. Rittle
2083b5be4d c_locale_generic.cc: Check errno for ERANGE instead of non-zero to aid portability.
* config/locale/c_locale_generic.cc: Check errno for ERANGE
	instead of non-zero to aid portability.

From-SVN: r49350
2002-01-31 00:47:05 +00:00
Peter Schmid
c3a7de6ad8 messages.html: Fix example code.
2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* docs/html/22_locale/messages.html: Fix example code.

From-SVN: r49349
2002-01-31 00:24:56 +00:00
Richard Henderson
2a4a2f1da2 ostream_inserter_arith.cc (test03_check): Break out from test03 and templatize.
* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
        out from test03 and templatize.
        (test03): Use it.

From-SVN: r49348
2002-01-30 16:03:31 -08:00
Toon Moene
41ff8055c5 intrin.c (upcasecmp_): New function.
2002-01-30  Toon Moene  <toon@moene.indiv.nluug.nl>

	* intrin.c (upcasecmp_): New function.
	(ffeintrin_cmp_name_): Use it to correctly compare name
	and table entry for bsearch.

From-SVN: r49347
2002-01-30 22:59:47 +00:00
David O'Brien
86f808dc81 config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2002-01-30  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
	* config/sparc/sparc_bi.h: Remove file.
	* config/sparc/biarch64.h: New file (rename of sparc_bi.h).

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020130102608.B9040@redhat.com>

From-SVN: r49346
2002-01-30 22:37:10 +00:00
Tom Tromey
1b8337e7e1 natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type.
* java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
	parameter for `recv' return type.

From-SVN: r49345
2002-01-30 22:22:36 +00:00
Tom Tromey
b3de7ff371 verify.cc (handle_ret_insn): Check for subroutine merge here...
* verify.cc (handle_ret_insn): Check for subroutine merge here...
	(state::merge): ... not here.
	(subr_entry_info): New structure.
	(entry_points): New field.
	(~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
	entry_points.

From-SVN: r49344
2002-01-30 22:20:23 +00:00
Paolo Carlini
f2e7381d8e 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
* config/locale/numpunct_members_gnu.cc
	(numpunct<char, wchar_t>::_M_initialize_numpunct()):
	Fix initialization of _M_grouping for locales which have
	_M_thousands_sep == '\0'(L'\0', respectively).
	* testsuite/22_locale/numpunct_byname.cc (test02): Add test.

From-SVN: r49343
2002-01-30 21:00:40 +00:00
Paolo Carlini
a852d50fb4 ostream_inserter_arith.cc (test03): Better fix for 32/64 bit architectures...
2002-01-30  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/27_io/ostream_inserter_arith.cc (test03):
        Better fix for 32/64 bit architectures, avoiding the
        implicit assumption that CHAR_BIT == 8.

From-SVN: r49342
2002-01-30 20:45:18 +00:00
Richard Henderson
5748ebeb99 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
From-SVN: r49341
2002-01-30 10:07:44 -08:00
Zack Weinberg
20d32cc2b5 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
From-SVN: r49340
2002-01-30 17:29:13 +00:00
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