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
Richard Henderson
b7460f2463
configure.in (HAVE_AS_LEB128): New assembler check.
...
* configure.in (HAVE_AS_LEB128): New assembler check.
* configure, config.in: Rebuilt.
From-SVN: r40326
2001-03-08 11:36:21 -08:00
Jan Hubicka
cadcffb3fd
reg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too.
...
* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
TFmode too.
From-SVN: r40325
2001-03-08 19:09:03 +00:00
Kaveh R. Ghazi
b19a539e02
xm-pc532-min.h, xm-we32k.h: Delete references to the MAXPATHLEN macro.
...
* config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
references to the MAXPATHLEN macro.
* config/alpha/xm-alpha.h, config/arm/xm-arm.h,
config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
the POSIX macro.
* config/i386/xm-gnu.h, config/xm-gnu.h,
config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
and/or unused files.
* config.gcc: Define POSIX in xm_defines as appropriate in lieu of
doing so in various xm-*.h files.
f:
* com.c: Don't rely on the POSIX macro to define autoconf stuff.
From-SVN: r40323
2001-03-08 18:53:26 +00:00
Andreas Schwab
c53cf0fe5e
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test command.
...
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
command.
* aclocal.m4, configure: Regenerated.
From-SVN: r40321
2001-03-08 17:38:49 +00:00
Richard Kenner
4082ab0f2a
* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
...
From-SVN: r40319
2001-03-08 06:33:06 -05:00
GCC Administrator
553bf4387d
Daily bump.
...
From-SVN: r40317
2001-03-08 08:16:08 +00:00
Alexandre Oliva
c785e0fab4
configure.in (enable_shared): Support per-package shared-library enabling.
...
* configure.in (enable_shared): Support per-package shared-library
enabling.
* configure: Rebuilt.
From-SVN: r40315
2001-03-08 06:11:02 +00:00
David Edelsohn
251b366767
rs6000.md (cr logic): Add original POWER mnemonic alternative for crnot.
...
* rs6000.md (cr logic): Add original POWER mnemonic alternative
for crnot. Set operands[5] in splitter.
From-SVN: r40313
2001-03-08 00:44:49 -05:00
Alexandre Oliva
c9a54638a4
* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
...
From-SVN: r40311
2001-03-08 05:40:30 +00:00
Kaveh R. Ghazi
cf30ef8072
xm-mvs.h, [...]: Delete references to the USG macro.
...
* config/i370/xm-mvs.h, config/i370/xm-oe.h,
config/i386/xm-beos.h, config/i386/xm-mingw32.h,
config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
to the USG macro.
* config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
config/i370/xm-i370.h, config/i386/xm-dgux.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h,
config/m68k/xm-tower.h, config/m68k/xm-aux.h,
config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
Delete unused and/or empty files.
* config.gcc: Define USG in xm_defines as appropriate. Define
POSIX in lieu of xm-svr4.h. Delete all references to the SVR3
macro. Remove deleted xm-* files from $xm_files variable.
From-SVN: r40310
2001-03-08 00:02:09 +00:00
Tom Tromey
6a556ad682
configure.in: Allow config-lang.in to set `lang_requires' to list of other required languages.
...
* configure.in: Allow config-lang.in to set `lang_requires' to list
of other required languages.
From-SVN: r40309
2001-03-07 22:51:02 +00:00
Tom Tromey
75382c6dc6
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Allow config-lang.in to set `lang_requires' to list
of other required languages.
From-SVN: r40308
2001-03-07 22:50:08 +00:00
Tom Tromey
bcacc465c4
* config-lang.in (lang_requires): Define.
...
From-SVN: r40307
2001-03-07 22:43:25 +00:00
Benjamin Kosnik
d32c94be18
std_iosfwd.h: Remove string forward decls here.
...
2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_iosfwd.h: Remove string forward decls here.
* include/bits/stringfwd.h: Add forward decls for char_traits
specializations.
* config/c_io_libio.h (wstreamoff): Delete.
* config/c_io_stdio.h (wstreamoff): Same.
* include/bits/char_traits.h: Use streamoff not wstreamoff for
char_traits<wchar_t>::off_type.
Remove duplicate typedefs.
* include/bits/fpos.h: Define streampos/wstreampos here.
* testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
values to off_type.
(test05): Same.
Changeup output files.
* testsuite/27_io/istream_unformatted.cc: Change output files.
* testsuite/27_io/istream_seeks-1.txt: Add.
* testsuite/27_io/istream_seeks-2.tst: Add.
* testsuite/27_io/istream_seeks-1.tst: Add.
* testsuite/27_io/istream_unformatted-2.tst: Delete.
* testsuite/27_io/istream_unformatted-3.tst: Delete.
* testsuite/27_io/istream_unformatted-3.txt: Delete.
From-SVN: r40303
2001-03-07 22:22:41 +00:00