Commit Graph

34036 Commits

Author SHA1 Message Date
Ovidiu Predescu
5b57aeabb6 Added.
From-SVN: r40397
2001-03-12 06:24:50 +00:00
Aldy Hernandez
d5ae21aace Call reload_cse_simplify_set before reload_cse_noop_set_p
From-SVN: r40394
2001-03-12 04:30:56 +00:00
Zack Weinberg
190c4cb481 config.gcc: Where xm-host.h used to include another xm-host.h...
* config.gcc: Where xm-host.h used to include another
	xm-host.h, list the nested header directly in xm_file.  Remove
	references to deleted files.  Can now use sparc/xm-sp64.h for
	sparcv9-*-solaris*.

	* config/xm-linux.h, config/arm/xm-linux.h,
	config/i386/xm-dos.h, config/i386/xm-gnu.h,
	config/i386/xm-linux.h, config/i386/xm-openbsd.h,
	config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
	config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
	config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
	Delete.

	* config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
	* config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
	bother to wrap #undef in #ifdef.
	* config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
	Don't include xm-linux.h.
	* config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.

	* configure.in: Wrap regexps using [] in changequote block.
	Use expr : not echo | grep.  Simplify regexps.
	* configure: Regenerate.

	56 xm-files remain, 22 xm-arch.

From-SVN: r40392
2001-03-12 03:29:54 +00:00
Kaveh R. Ghazi
45a647bee9 mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
* mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
	(__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
	(local_index, local_rindex): Delete, use strchr/strrchr instead.
	(copy_object): Fix format specifier vs argument mismatch.

	* mips-tdump.c: Make local functions static.
	(rindex): Don't #undef.
	(__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
	(fatal, fancy_abort): Delete.
	(read_seek): Avoid signed/unsigned compare.

From-SVN: r40391
2001-03-12 02:37:56 +00:00
Richard Kenner
c7ca5912e3 combine.c (try_combine): Fix error in change to try original register.
* combine.c (try_combine): Fix error in change to try original
	register.
	(gen_rtx_combine): Do same as gen_rtx for now.

From-SVN: r40390
2001-03-11 17:08:12 -05:00
Zack Weinberg
3d9d247676 configure.in: AC_SUBST xm_defines.
* configure.in: AC_SUBST xm_defines.
	* configure: Regenerate.
	* Makefile.in: Set DEFINES=$(xm_defines) when building
	tconfig.h.

From-SVN: r40389
2001-03-11 21:19:11 +00:00
Neil Booth
b6464a73f5 cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
* cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
	(cpp_included, find_include_file): Update.
	(_cpp_compare_file_date): Make else unconditional.

From-SVN: r40388
2001-03-11 14:54:56 +00:00
GCC Administrator
a72ac6ef35 Daily bump.
From-SVN: r40387
2001-03-11 08:16:40 +00:00
Alexandre Oliva
79664856ef Added blank line.
From-SVN: r40385
2001-03-11 02:48:16 +00:00
Kaz Kojima
2cef831c12 * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
From-SVN: r40384
2001-03-11 02:24:17 +00:00
Toshiyasu Morita
e9a9e960c0 sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.

From-SVN: r40381
2001-03-11 02:16:40 +00:00
Ovidiu Predescu
2b9650f432 MAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.
2001-03-10  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* MAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.

From-SVN: r40380
2001-03-11 02:08:36 +00:00
Ovidiu Predescu
fad2d0334d Added Stan Shebs as new maintainer for Objective-C.
From-SVN: r40379
2001-03-11 02:08:07 +00:00
Richard Henderson
bb93785303 * g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.
From-SVN: r40377
2001-03-10 17:56:54 -08:00
Alexandre Oliva
066c84df53 tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node if it's a record type.
* tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
if it's a record type.

From-SVN: r40376
2001-03-11 01:46:24 +00:00
Christopher Faylor
d4829a16b1 remove duplication.
From-SVN: r40374
2001-03-11 01:02:50 +00:00
Christopher Faylor
936ee79028 cygwin.h: Make ../w32api a system directory.
* config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize mingw
includes slightly.

From-SVN: r40372
2001-03-11 00:12:12 +00:00
Kaveh R. Ghazi
8a0e5115f4 system.h (malloc, [...]): #undef token before poisoning it.
* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
	#undef token before poisoning it.

From-SVN: r40371
2001-03-10 22:35:01 +00:00
Kaveh R. Ghazi
6439a1f204 alpha.c (check_float_value): Use memcpy, not bcopy.
* alpha.c (check_float_value): Use memcpy, not bcopy.

	* m32r.c (m32r_sched_reorder): Likewise.

	* vax.c (check_float_value): Likewise.

From-SVN: r40370
2001-03-10 21:45:40 +00:00
Neil Booth
b3e68a7922 toplev.c (file_name_nondirectory): Remove.
* toplev.c (file_name_nondirectory): Remove.
	* toplev.h: Similarly.
	* dwarf2out.c (compute_section_prefix): Use lbasename instead
	of file_name_nondirectory.
	* cp/lex.c: Delete duplicate pending_lang_change.
	* cp/lex.c (handle_pragma_interface, handle_pragma_implementation):
	Similarly.
	* cp/repo.c (get_base_filename, open_repo_file): Similarly.
	* cp/cp-tree.h: Remove file_name_nondirectory prototype.

From-SVN: r40369
2001-03-10 16:33:57 +00:00
Richard Kenner
ea23d5400f mips-tdump.c (read_seek): Call xmalloc, not malloc.
* mips-tdump.c (read_seek): Call xmalloc, not malloc.
	* mips-tfile.c: Don't #undef rindex; not used.

From-SVN: r40366
2001-03-10 10:36:25 -05:00
Jan Hubicka
0f7fa3d01f i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
* i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
	(dbx64_register_map): Declare.
	(RETURN_ADDR_RTX): Fix for 64bit.
	(DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
	(INCOMING_FRAME_SP_OFFSET): Set to 8.
	* i386.c (dbx64_register_map): New global array.
	* beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
	linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
	for 64bits.

From-SVN: r40365
2001-03-10 13:36:26 +00:00
Neil Booth
2251fd7866 cppfiles.c (search_from): Use lbasename.
* cppfiles.c (search_from): Use lbasename.
	* mkdeps.c (deps_add_default_target): Use lbasename.

From-SVN: r40364
2001-03-10 10:43:52 +00:00
Neil Booth
2b757d5101 lbasename.c: New file.
* libiberty/lbasename.c: New file.
	* libiberty/Makefile.in: Update for lbasename.
	* include/libiberty.h: Add lbasename.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r40363
2001-03-10 10:41:25 +00:00
GCC Administrator
5ed3d577ed Daily bump.
From-SVN: r40362
2001-03-10 08:16:39 +00:00
Kaveh R. Ghazi
f4ce9d9067 server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc.
* fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
	xcalloc in lieu of malloc, realloc & calloc.

	* gencheck.c (xmalloc): Use really_call_malloc, not malloc.

	* gengenrtl.c (xmalloc): Likewise.

	* gensupport.c (xcalloc, xrealloc, xmalloc): Use the
	really_call_* memory allocation routines.

	* stmt.c (check_for_full_enumeration_handling): Use
	really_call_calloc, not calloc.

	* system.h (really_call_malloc, really_call_calloc,
	really_call_realloc): Define.
	(malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.

f:
	* fini.c (main): Use really_call_malloc, not malloc.

From-SVN: r40360
2001-03-10 04:20:03 +00:00
Jeffrey A Law
0eac29848b * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
From-SVN: r40359
2001-03-09 18:37:39 -07:00
Benjamin Kosnik
0e061da691 [multiple changes]
2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

	* include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
	operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
	Use streamsize, not int_type.

2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/27_io/streambuf.cc (test06): New test, disabled at the
	moment.

From-SVN: r40358
2001-03-10 01:36:23 +00:00
Nicola Pero
4698d2cf4b configure.in: Only use `lang_requires' for languages athat are actually enabled.
2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>

	* configure.in: Only use `lang_requires' for languages athat are
	actually enabled.

From-SVN: r40356
2001-03-10 00:20:21 +00:00
Nicola Pero
1bf17cc4d6 configure: Rebuilt.
2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>

	* configure: Rebuilt.
	* configure.in: Only use `lang_requires' for languages athat are
	actually enabled.

From-SVN: r40355
2001-03-10 00:19:37 +00:00
Joseph Myers
2d2ade2a3f crontab, [...]: New files (as currently used by gccadmin).
* crontab, doc_exclude, update_branch_version, update_version,
	update_web_docs: New files (as currently used by gccadmin).
	* README: New file.

From-SVN: r40352
2001-03-10 00:08:50 +00:00
Joseph Myers
6ca3ad1bc5 invoke.texi: Fix typo.
* invoke.texi: Fix typo.
	* gcc.1: Regenerate.

From-SVN: r40351
2001-03-09 21:57:48 +00:00
Zack Weinberg
11642c3a7c configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
	xm_file, and host_xm_file lists.  Warn unless they're
	$cpu/xm-$cpu.h.
	Don't generate *config.h here.
	AC_SUBST all variables needed to generate *config.h.
	* configure: Regenerate.
	* mkconfig.sh: New helper script, from code removed from
	configure.in.
	* Makefile.in: Zap all MALLOC variables - no longer used
	anywhere, and malloc.c doesn't exist.
	Substitute in variables needed to generate *config.h.
	Stop lying about the dependencies contained in CONFIG_H and
	GCONFIG_H.
	(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
	(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
	cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
	(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
	$(TM_P_H), etc. as appropriate.

	* config.gcc: Zap references to deleted files.
	* ggc-none.c: Don't include rtl.h or tm_p.h.

	* config/i386/xm-beos.h, config/i386/xm-dgux.h,
	config/i386/xm-djgpp.h, config/i386/xm-dos.h,
	config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
	config/i386/xm-linux.h, config/i386/xm-linux.h,
	config/i386/xm-next.h, config/i386/xm-openbsd.h,
	config/i386/xm-sun.h, config/i386/xm-sysv3.h:
	Don't include i386/xm-i386.h.

	* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
	config/i386/xm-i386.h, config/i860/xm-i860.h,
	config/i960/xm-i960.h, config/mcore/xm-mcore.h,
	config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
	config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
	Delete (empty except comments, #includes of other deleted
	files, and macros used nowhere).
cp:
	* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.

From-SVN: r40350
2001-03-09 20:53:56 +00:00
Jan Hubicka
2faf6b9622 i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp independent on TARGET_FLAGS.
* i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
	independent on TARGET_FLAGS.

From-SVN: r40349
2001-03-09 19:09:21 +00:00
Jan Hubicka
3f3f21243b i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
* i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
	(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add extended ones.
	(CONDITIONAL_REGISTER_USAGE): Set proper values according to TARGET_64BIT.
	(FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG, LAST_REX_SSE_REG):
	define.
	(enum reg_class): Add 'LEGACY_REGS'
	(REG_CLASS_CONTENTS): Likewise; add extended registers.
	(SSE_REGNO_P): Recognize extended registers.
	(ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
	(REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
	(REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_NONSTRICT_P):
	 Recognize REX registers.
	(REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
	 REG_OK_FOR_STRREG_P): Remove.
	(HI_REGISTER_NAMES): Add extended registers.
	(ADDITIONAL_REGISTER_NAMES): Likewise.
	(QI_REGISTER_NAMES): Add 8bit extended registers.
	(DEBUG_REG): Support extended registers.
	* i386.c (regclass_map): Add extended registers.
	(dbx_register-map): Likewise.
	(svr4_dbx_register_map): Likewise.
	(print_reg): Support extended registers.
	(print_operand): Support 64bit operands.

From-SVN: r40348
2001-03-09 18:55:27 +00:00
Jan Hubicka
65d9c0ab20 i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 (BOOL_TYPE_SIZE...
* i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
	(BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
	 FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
	 DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
	(BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
	 STACK_BOUNDARY): Set properly for 64bits.
	(MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
	(EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
	(BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
	(MOVE_MAX): Set to 16.
	(MOVE_MAX_PIECES): 8 for 64bit.
	(Pmode): Set to SImode.

From-SVN: r40347
2001-03-09 18:45:59 +00:00
Mike Stump
dc647e999c * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
From-SVN: r40346
2001-03-09 17:03:46 +00:00
Jan Hubicka
25f94bb5d3 i386.h (MASK_64BIT): New constant.
* i386.h (MASK_64BIT): New constant.
	(TARGET_64BIT): New macro.
	(TARGET_OPTIONS): Add '64'/'32'
	(TARGET_DEFAULT): Define.
	* cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h isccoff.h
	netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h unix.h win32.h
	(TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.

From-SVN: r40345
2001-03-09 16:40:43 +00:00
GCC Administrator
b891e06c45 Daily bump.
From-SVN: r40344
2001-03-09 08:16:38 +00:00
Jeffrey A Law
8b737c8333 * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
From-SVN: r40342
2001-03-08 23:35:00 -07:00
John Wehle
e7d96a8308 rtlanal.c (rtx_varies_p): Check operand 0 of a LO_SUM unless for_alias is set.
* rtlanal.c (rtx_varies_p): Check operand 0 of a
        LO_SUM unless for_alias is set.

From-SVN: r40340
2001-03-08 23:28:21 -07:00
Stan Shebs
4ce693cd32 objc-act.c: Fix old typos in comments, add comments for various functions.
* objc/objc-act.c: Fix old typos in comments, add comments for
        various functions.
        (hash_init): Fix file name in error message.
        (hash_enter): Ditto.
        (hash_add_attr): Ditto.
        (continue_class): Ditto.

From-SVN: r40338
2001-03-09 03:27:41 +00:00
Tom Tromey
6771219aaa re PR libgcj/1971 (ObjectOutputStream generates incorrect serialVersionUID's for array classes)
* java/io/ObjectStreamClass.java (setUID): Don't write interface
	info for array classes.
	Fixes PR libgcj/1971.

From-SVN: r40337
2001-03-09 01:35:54 +00:00
Stan Shebs
bb6852eb72 Tweak date for accuracy
From-SVN: r40335
2001-03-08 23:48:17 +00:00
Stan Shebs
f768781715 * cp-tree.h (set_identifier_local_value): Remove unused decl.
From-SVN: r40334
2001-03-08 23:47:06 +00:00
Bruce Korb
d991c721cf back out the 3-0 branch version
From-SVN: r40332
2001-03-08 23:33:58 +00:00
Bruce Korb
4c7bb72eb0 fix SIGCHLD handling
[[Split portion of a mixed commit.]]

From-SVN: r40331.2
2001-03-08 23:31:04 +00:00
Bruce Korb
0bf679a364 fix SIGCHLD handling
From-SVN: r40330
2001-03-08 23:26:14 +00:00
Phil Edwards
f6646274a0 MAINTAINERS (C++ runtime libs): Update and alphabatize.
2001-03-08  Phil Edwards  <pme@sources.redhat.com>

	* MAINTAINERS (C++ runtime libs):  Update and alphabatize.

From-SVN: r40329
2001-03-08 21:50:26 +00:00
Rainer Orth
786b0d3590 HTML typos and avoid standards.h breakage
From-SVN: r40327
2001-03-08 21:41:36 +00:00