Commit Graph

43351 Commits

Author SHA1 Message Date
Michael Koch
0bb5f0e400 gcj.texi (Input Options): Fixed typo.
2002-06-04  Michael Koch  <konqueror@gmx.de>

	* gcj.texi (Input Options): Fixed typo.

From-SVN: r54263
2002-06-04 22:00:42 +00:00
H.J. Lu
9e7823ccbe configure.in (--with-newlib): New option: Check ${with_newlib} instead of ${with_cross_host} for newlib.
2002-06-04  H.J. Lu  (hjl@gnu.org)

	* configure.in (--with-newlib): New option:
	Check ${with_newlib} instead of ${with_cross_host} for newlib.
	(HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
	Linux.
	* configure: Regenerated.

From-SVN: r54262
2002-06-04 14:01:44 -07:00
Zack Weinberg
c02ebb1834 java-tree.h, [...]: Remove all #if JAVA_USE_HANDLES blocks...
* java-tree.h, class.c, expr.c, jcf-parse.c, parse.y,
	typeck.c, verify.c: Remove all #if JAVA_USE_HANDLES blocks,
	all mention of CLASS_TO_HANDLE_TYPE or HANDLE_TO_CLASS_TYPE,
	and all now-pointless local variables.  Rename other local
	variables to reflect their not being handles.

	* java-tree.h, jcf-dump.c, jcf-io.c: Remove all
	#if JCF_USE_STDIO blocks.

	* parse.y: Add missing semicolon at end of rule.

From-SVN: r54261
2002-06-04 20:32:08 +00:00
Tom Tromey
d6ee617dd7 re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)
* libjava.compile/T20020604.java: New file.

	For PR libgcj/6389:
	* libjava.mauve/xfails: Now passes System.getProperty test.

	For PR java/1343 and PR java/6336:
	* libjava.compile/PR1343.java: New file.

	For PR java/5913:
	* libjava.compile/PR5913.xfail: Removed.

From-SVN: r54259
2002-06-04 19:39:02 +00:00
Tom Tromey
4e176a9bbd * java/util/natTimeZone.cc: Include <stdio.h>.
From-SVN: r54258
2002-06-04 19:30:20 +00:00
Rainer Orth
d6c7e0738b libstdc++-v3-dg.exp (libstdc++-v3_target_compile): Search correct multilib testsuite dir for libv3test.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
	Search correct multilib testsuite dir for libv3test.

From-SVN: r54256
2002-06-04 18:44:35 +00:00
Paolo Carlini
05261e700c 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
Gaby Dos Reis  <gdr@codesourcery.com>

	* include/bits/basic_string.tcc
	(basic_string::_S_construct(forward_iterator_tag):
	Fix typo in null pointer check.
	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.

Co-Authored-By: Gabriel Dos Reis <gdr@codesourcery.com>

From-SVN: r54255
2002-06-04 18:20:38 +00:00
Neil Booth
1ba7b41497 beos-elf.h, [...] (CPP_SPEC): Remove cpp_cpu.
config/i386:
	* beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
	i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
	mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
	sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
	win32.h	(CPP_SPEC): Remove cpp_cpu.
	* i386.h (TARGET_CPU_CPP_BUILTINS): Use.
	(CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!

From-SVN: r54254
2002-06-04 18:07:44 +00:00
Janis Johnson
135ca7b247 * config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
From-SVN: r54253
2002-06-04 18:03:45 +00:00
Jeff Law
85d6921689 sched-int.h (struct deps): New field libcall_block_tail_insn.
* sched-int.h (struct deps): New field libcall_block_tail_insn.
        * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
        * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
        is set, then mark the current insn as being part of a libcall
        scheduling group.
        (sched_analyze): Set and clear libcall_block_tail_insn appropriately.

        * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
        insns against the issue rate.

From-SVN: r54251
2002-06-04 11:46:14 -06:00
Jan Hubicka
63f4a88e28 Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
* cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
	* final.c (final_scan_insn): Likewise.
	* ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
	NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
	* haifa-sched.c (unlink_other_notes): Likeewise.
	(reemit_notes): Likewise.
	* print-rtl.c (print_rtx): Likewise.
	* sched-deps (sched-analyze): Likewise.
	* rtl.c (note_insn_name): Likewise.
	* rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
	(enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
	(RANGE_*): Kill.

From-SVN: r54250
2002-06-04 17:32:59 +00:00
Jason Thorpe
a5d1f75b65 * varasm.c (mark_constants): Handle RTX format 'B'.
From-SVN: r54247
2002-06-04 16:22:49 +00:00
Paolo Carlini
23992195af 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/money_get_members_char.cc
	(test02): Add decimal point to long double constants.
	* testsuite/22_locale/money_get_members_wchar_t.cc
	(test02): Likewise.
	* testsuite/22_locale/money_put_members_char.cc
	(test02, test03, test06): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc:
	(test02, test03, test06): Likewise.
	* testsuite/22_locale/num_get_members_char.cc:
	(test02, test01): Likewise; suffix long long constants with LL.
	* testsuite/22_locale/num_get_members_wchar_t.cc:
	(test02, test01): Likewise.
	* testsuite/22_locale/num_put_members_char.cc:
	(test02, test01): Likewise.
	* testsuite/22_locale/num_put_members_wchar_t.cc:
	(test02, test01): Likewise.

From-SVN: r54243
2002-06-04 13:38:07 +00:00
Neil Booth
82eda77ed5 cpphash.h (FIRST, [...]): New.
* cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
	(struct cpp_context): Add traditional fields.
	* cppmacro.c (paste_all_tokens, push_ptoken_context,
	push_token_context, cpp_get_token, _cpp_backup_tokens): Update.
	* cpptrad.c (skip_comment, lex_identifier,
	_cpp_read_logical_line_trad, scan_out_logical_line): Update.

From-SVN: r54242
2002-06-04 13:07:06 +00:00
Kazu Hirata
589005ff21 gbl-ctors.h: Fix formatting.
* gbl-ctors.h: Fix formatting.
	* gcc.c: Likewise.
	* gccspec.c: Likewise.
	* gcov.c: Likewise.
	* gcov-io.h: Likewise.
	* gcse.c: Likewise.
	* ggc-common.c: Likewise.
	* ggc.h: Likewise.
	* ggc-page.c: Likewise.
	* ggc-simple.c: Likewise.
	* global.c: Likewise.
	* graph.h: Likewise.
	* gthr-dce.h: Likewise.
	* gthr.h: Likewise.
	* gthr-posix.h: Likewise.
	* gthr-rtems.h: Likewise.
	* gthr-solaris.h: Likewise.
	* gthr-win32.h: Likewise.

From-SVN: r54240
2002-06-04 11:30:46 +00:00
Andreas Jaeger
94213cff2a Make-lang.in (gnatbind): Readd rule that has been lost in last patch.
* Make-lang.in (gnatbind): Readd rule that has been lost in last
	patch.

From-SVN: r54239
2002-06-04 12:55:49 +02:00
GCC Administrator
8884cbb2c8 Daily bump.
From-SVN: r54237
2002-06-04 07:18:23 +00:00
Geoffrey Keating
e2500fedef Merge from pch-branch up to tag pch-commit-20020603.
From-SVN: r54232
2002-06-04 07:11:05 +00:00
Aldy Hernandez
c2ae66169b altivec-2.c: Remove test for invalid vector type V2DF.
2002-06-04  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-2.c: Remove test for invalid vector type V2DF.

From-SVN: r54231
2002-06-04 06:01:17 +00:00
Jason Thorpe
b655555e33 * config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
(sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
* config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
(TARGET_VERSION_CPU): Define according to the
default target.
(TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
TARGET_VERSION_CPU.
(TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
if TARGET_SHMEDIA64.
(LINK_DEFAULT_CPU_EMUL): Define according to the
default target.
(SUBTARGET_LINK_EMUL_SUFFIX): Define.
(SUBTARGET_LINK_SPEC): Define.
(LINK_SPEC): Use SH_LINK_SPEC.
(ASM_SPEC): Remove.
(TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
(FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
and TARGET_SHMEDIA64 which abort, for now.
* config/sh/t-netbsd-sh5: New file.
* config/sh/t-netbsd-sh5-32: New file.
* config/sh/t-netbsd-sh5-64: New file.

From-SVN: r54230
2002-06-04 05:02:44 +00:00
Richard Henderson
6d8fd7bbd7 alpha.c (reg_or_const_int_operand): New.
* config/alpha/alpha.c (reg_or_const_int_operand): New.
        (some_operand, input_operand): Accept CONST_VECTOR.
        (alpha_extra_constraint): Add 'W'.
        (alpha_expand_zap_mask): New.
        (alpha_expand_builtin_vector_binop): New.
        (enum alpha_builtin): New.
        (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New.
        (alpha_init_builtins, alpha_expand_builtin): New.
        (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New.
        * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP,
        UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New.
        (movv8qi, movv8qi_fix, movv8qi_nofix): New.
        (movv4hi, movv4hi_fix, movv4hi_nofix): New.
        (movv2si, movv2si_fix, movv2si_nofix): New.
        (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New.
        (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New.
        (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap,
        builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask,
        builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8,
        builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8,
        builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb,
        pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl,
        builtin_unpkbw, unpkbw): New.
        * doc/extend.texi (Alpha Built-in Functions): New.

        * gcc.dg/alpha-base-1.c, gcc.dg/alpha-base-2.c: New.
        * gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: New.

From-SVN: r54229
2002-06-03 21:06:38 -07:00
Richard Henderson
618939dec2 crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
* crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
        USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

From-SVN: r54228
2002-06-03 19:55:28 -07:00
Richard Henderson
6933647a67 * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
From-SVN: r54227
2002-06-03 19:36:36 -07:00
Richard Henderson
73db71375f alpha.c (reg_or_0_operand): Use CONST0_RTX.
* config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
        (const0_operand): New.
        (reg_or_fp0_operand, fp0_operand): Remove.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand
        and fp0_operand with reg_or_0_operand and const0_operand.

From-SVN: r54226
2002-06-03 19:28:40 -07:00
Dan Nicolaescu
a6f7c915fe * alias.c (nonoverlapping_memrefs_p): Fix off by one error.
From-SVN: r54225
2002-06-03 19:25:57 -07:00
Kaveh R. Ghazi
7210c9aa60 main.c (f_setarg, f_setsig): Prototype.
* libF77/main.c (f_setarg, f_setsig): Prototype.
	* libI77/lread.c (quad_read): Delete.
	* libI77/uio.c: Include config.h.
	* libI77/wref.c (wrt_E): Cast isdigit arg to unsigned char.
	* libU77/dtime_.c (clk_tck): Move to the scope where it is used.
	* libU77/etime_.c (clk_tck): Likewise.

From-SVN: r54224
2002-06-04 02:25:48 +00:00
Kaveh R. Ghazi
ac1db652a0 lbitbits.c (lbit_cshift): disambiguate expressions with parentheses.
* libF77/lbitbits.c (lbit_cshift): disambiguate expressions
	with parentheses.
	* libF77/qbitbits.c (qbit_cshift): Likewise.
	* libI77/inquire.c (f_inqu): Likewise.
	* libI77/rdfmt.c (rd_Z): Likewise.
	* libI77/rsne.c (x_rsne): Likewise.

From-SVN: r54223
2002-06-04 02:24:26 +00:00
Kaveh R. Ghazi
467e9325d4 * Makefile.in (s-libe77): Add WARN_CFLAGS.
From-SVN: r54222
2002-06-04 02:22:19 +00:00
Roger Sayle
b2f02503e9 gcse.c (cprop_jump): Use single_set to get the pattern from the setcc argument.
* gcse.c (cprop_jump): Use single_set to get the pattern
	from the setcc argument.

From-SVN: r54221
2002-06-04 00:50:42 +00:00
Gabriel Dos Reis
4fcc2065d9 diagnostic.h (diagnostic_count): Move from output_buffer to diagnostic_context.
* diagnostic.h (diagnostic_count): Move from output_buffer to
	diagnostic_context.
	(diagnostic_kind_count): Adjust definition.

From-SVN: r54218
2002-06-03 19:08:59 +00:00
Jan Hubicka
5204d66596 except.c (except.c): Do not rebuild CFG.
* except.c (except.c): Do not rebuild CFG.
	* toplev.c (rest_of_compilation): Recompute CFG after sibcall
	optimization.

From-SVN: r54217
2002-06-03 18:16:50 +00:00
Geoffrey Keating
824030c624 configure.in: Support cross-compiling.
* configure.in: Support cross-compiling.
	* configure: Regenerate.
	* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
	(gcc_AC_EXAMINE_OBJECT): New.
	(fastjar_AC_COMPILE_C_BIGENDIAN): New.

From-SVN: r54216
2002-06-03 17:59:29 +00:00
Marc Espie
a1a56c25fb Please nitpicker.
From-SVN: r54215
2002-06-03 11:48:54 +00:00
Jan Hubicka
0478a14cc8 integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
	* toplev.c: Include cfglahout.h
	* Makefile.in (toplev.c): Add dependnecy.

From-SVN: r54212
2002-06-03 10:03:18 +00:00
GCC Administrator
6d38783a93 Daily bump.
From-SVN: r54211
2002-06-03 07:17:48 +00:00
Neil Booth
30efe578e7 i386.h (TARGET_CPU_CPP_BUILTINS): New.
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
	(CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill.
	(CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC.

From-SVN: r54206
2002-06-03 06:15:25 +00:00
Jason Thorpe
8fd0df91d8 Fix typo in previous correction.
From-SVN: r54205
2002-06-03 05:57:14 +00:00
Jason Thorpe
20b3ad64c1 Check in file mistakenly omitted when sh*-*-netbsdelf* targets were added.
Check in file mistakenly omitted when sh*-*-netbsdelf*
targets were added.  Update ChangeLog entry:

2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>

* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
* config/sh/t-netbsd.h: New file.

From-SVN: r54203
2002-06-03 05:27:06 +00:00
Marc Espie
04df515ada atomicity.h (__exchange_and_add): Fix inline assembly for old assemblers.
* config/cpu/m68k/bits/atomicity.h(__exchange_and_add):  Fix inline
	assembly for old assemblers.

From-SVN: r54202
2002-06-03 05:26:00 +00:00
Phil Edwards
c619473bdf stl_bvector.h (swap(_Bit_reference,_Bit_reference)): Move/rename...
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
	Move/rename...
	(vector<bool>::swap(reference,reference)): ...to this.

From-SVN: r54201
2002-06-03 05:03:50 +00:00
Phil Edwards
7f2e0dffc6 TODO: Update.
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/TODO:  Update.
	* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
	some class members are in 14882 order.
	* docs/html/ext/howto.html:  3.1 is in the past now, not the future.

	* include/std/std_bitset.h:  Update comment.
	* src/bitset.cc:  Update comments, clean up spacing.

	* src/Makefile.am (sources):  Alphabetize for convenience.
	* src/Makefile.in:  Regenerate.

From-SVN: r54200
2002-06-03 04:45:03 +00:00
Jason Thorpe
a782515bc9 netbsd.h: Update copyright years.
* config/ns32k/netbsd.h: Update copyright years.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
* config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
(TARGET_CPU_CPP_BUILTINS): Define.

From-SVN: r54199
2002-06-03 04:42:02 +00:00
Phil Edwards
5cb6369de1 stl_deque.h, [...]: Reformat to (mostly) match C++STYLE.
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_deque.h, include/bits/stl_list.h,
	include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
	Reorder to match 14882.  Doxygen blocks for all public members.

From-SVN: r54198
2002-06-03 04:34:19 +00:00
Kazu Hirata
0fb7aedacd emit-rtl.c: Likewise.
* emit-rtl.c: Likewise.
	* errors.h: Likewise.
	* except.c: Likewise.
	* explow.c: Likewise.
	* expmed.c: Likewise.
	* expr.c: Likewise.
	* expr.h: Likewise.

From-SVN: r54197
2002-06-03 01:13:17 +00:00
Kazu Hirata
1c8ec18b71 elf.h: Fix formatting.
* config/h8300/elf.h: Fix formatting.
	* config/h8300/rtems.h: Likewise.

From-SVN: r54196
2002-06-03 00:51:37 +00:00
Jason Thorpe
86cb04f698 * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
From-SVN: r54194
2002-06-03 00:28:12 +00:00
Tom Tromey
d22c2324e6 reverted erroneous checkin
From-SVN: r54193
2002-06-02 23:19:01 +00:00
Tom Tromey
5d83269d11 fixincl.x: Rebuilt.
* fixinc/fixincl.x: Rebuilt.
	* fixinc/inclhack.def (thread_keyword): Match `*__thread'.

From-SVN: r54192
2002-06-02 23:17:30 +00:00
Neil Booth
62f6a494be i370.h (TARGET_CPU_CPP_BUILTINS): Use.
config/i370:
	* i370.h (TARGET_CPU_CPP_BUILTINS): Use.
	* linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
	* mvs.h: Similarly.
	* oe.h: Similarly.

From-SVN: r54191
2002-06-02 22:27:32 +00:00
Jan Hubicka
0acb020356 final.c (final): Allow notes to not have computed addresses; kill no longer needed STACK_REGS ifdef.
* final.c (final):  Allow notes to not have computed addresses;
	kill no longer needed STACK_REGS ifdef.

From-SVN: r54190
2002-06-02 22:23:45 +00:00