platform/upstream/gcc.git
23 years agocall.c (convert_like_real): Add extra semantics to INNER parameter.
Nathan Sidwell [Mon, 12 Mar 2001 15:43:52 +0000 (15:43 +0000)]
call.c (convert_like_real): Add extra semantics to INNER parameter.

cp:
* call.c (convert_like_real): Add extra semantics to INNER
parameter. Don't convert to temporary if a user conversion
gives us an lvalue that we're about to bind to a reference.
Set INNER to indicate pending reference binding on recursive
calls.
testsuite:
* g++.old-deja/g++.other/ref4.C: New test.

From-SVN: r40415

23 years agoi386.md (trunctfdf2_2): Rename missnamed pattern.
Jan Hubicka [Mon, 12 Mar 2001 15:34:59 +0000 (15:34 +0000)]
i386.md (trunctfdf2_2): Rename missnamed pattern.

* i386.md (trunctfdf2_2): Rename missnamed pattern.
(*_one_bit): Remove type on the match_operand in attributes.

From-SVN: r40414

23 years agoi386.c: Commit forgotten hunk in previous patch.
Jan Hubicka [Mon, 12 Mar 2001 15:31:51 +0000 (16:31 +0100)]
i386.c: Commit forgotten hunk in previous patch.

* i386.c: Commit forgotten hunk in previous patch.
(regclass_map): Add extended registers.
(dbx_register_map): Add missing frame register.

From-SVN: r40413

23 years agoi386.md (all XFmode patterns except swapxf): Disable for 64bit.
Jan Hubicka [Mon, 12 Mar 2001 14:44:52 +0000 (15:44 +0100)]
i386.md (all XFmode patterns except swapxf): Disable for 64bit.

* i386.md (all XFmode patterns except swapxf): Disable for 64bit.

* i386.md (x86_sahf_1): Disable for 64bit.
(popsi*, pophi*): Likewise.
(pushqi, pushhi): Likewise.
(movdi, pushdi): Likewise.
(zero extend DImode splitter): Likewise.
(adddi, minusdi splitter): Likewise.
(umulsidi): Likewise.
(umulsi): New.
(mulsidi): Disable for 64bit
(lshift:DI/ashift:DI): Disable for 64bit.
(loop patterns): Likewise.
(call_pop, call_value_pop expanders and patterns): Likewise.
(prologue_get_pc): Likewise.
(leave): Likewise.
(fcmovDI pattern and splitter): Likewise.
(movdfcc_1_rex64): New.

From-SVN: r40412

23 years agoi386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
Jan Hubicka [Mon, 12 Mar 2001 14:18:57 +0000 (15:18 +0100)]
i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.

* i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
(MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
(HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
(STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
(PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
(LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
(SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
(PUSH_ROUNDING): x86_64 rounds to 64bits.
(CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
(REGPARM_MAX): Set to 6 for x86_64.
(SSE_REGPARM_MAX): Set to 16 for x86_64.
* i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
registers.

* (patterns that does use upper halves): Update constraints
'q' to 'Q' and 'r' to 'R'.
(cmpqi_ext_1): Disable for 64bit.
(cmpqi_ext_3_insn): Likewise.
(movqi_extzv_1): Likewsie.
(addqi_ext_1): Liekwsie
(testqi_ext_1): Liekwsie
(andqi_ext_1): Liekwsie
(xorqi_ext_1): Liekwsie
(cmpqi_ext_1_rex64): New.
(cmpqi_ext_3_insn_rex64): Likewise.
(movqi_extzv_1_rex64): Likewsie.
(addqi_ext_1_rex64): Liekwsie
(testqi_ext_1_rex64): Liekwsie
(andqi_ext_1_rex64): Liekwsie
(xorqi_ext_1_rex64): Liekwsie

From-SVN: r40411

23 years agoDaily bump.
GCC Administrator [Mon, 12 Mar 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40405

23 years agoExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate...
Bryce McKinlay [Mon, 12 Mar 2001 07:47:13 +0000 (07:47 +0000)]
ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set.

* java/lang/ExceptionInInitializerError.java (printStackTrace):
Only try to print the subordinate stack trace if "exception" is set.
Print our class name first.

From-SVN: r40404

23 years agoRuntime.java (_exit): Declare new package-private native.
Bryce McKinlay [Mon, 12 Mar 2001 07:40:17 +0000 (07:40 +0000)]
Runtime.java (_exit): Declare new package-private native.

2001-03-12  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/Runtime.java (_exit): Declare new package-private native.
* java/lang/natRuntime.cc (_exit): Implemented. Same as exit() but
without a security manager check.
(exit): Call _exit after security check.
* prims.cc (JvRunMain): Call Runtime._exit to shutdown the runtime
"naturally".
* java/lang/System.java (setSecurityManager): If a security manager
is already in place, call checkPermission.
* java/lang/ThreadGroup.java (uncaughtException): If printStackTrace()
throws an exception, try to deal with it gracefully.
* java/lang/ExceptionInInitializerError.java (printStackTrace):
Only try to print the subordinate stack trace if "exception" is set.
Print our class name first.

From-SVN: r40401

23 years agoconfigure.in: Move check for unsigned enumerated bitfields to macro in aclocal.m4.
Zack Weinberg [Mon, 12 Mar 2001 06:31:41 +0000 (06:31 +0000)]
configure.in: Move check for unsigned enumerated bitfields to macro in aclocal.m4.

* configure.in: Move check for unsigned enumerated bitfields
to macro in aclocal.m4.  Disable it for now.
* configure, config.in: Regenerate.
* system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
* varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
kind above its first use.

* config/xm-interix.h, config/alpha/xm-alpha.h,
config/i370/xm-linux.h, config/i386/xm-beos.h,
config/i386/xm-mingw32.h, config/mips/xm-mips.h,
config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
Don't define ONLY_INT_FIELDS under any circumstances.

* config/pa/xm-pa.h: Don't define __BSD_NET2__.

* config/pa/xm-pahpux.h, config/pa/xm-papro.h,
config/sparc/xm-sysv4.h: Delete - now identical with some
other xm header.
* config.gcc (hppa targets): Replace xm-pahpux.h and
xm-papro.h with implicit xm-pa.h.
(sparc targets): Replace xm-sysv4.h with implicit or explicit
xm-sparc.h.

From-SVN: r40399

23 years agova_method.m: Added.
Ovidiu Predescu [Mon, 12 Mar 2001 06:26:40 +0000 (06:26 +0000)]
va_method.m: Added.

2001-03-11  Nicola Pero <n.pero@mi.flashnet.it>

* objc/execute/va_method.m: Added.
* objc/execute/IMP.m: Added.
* objc/execute/_cmd.m: Added.
* objc/execute/accessing_ivars.m: Added.
* objc/execute/class-1.m: Added.
* objc/execute/class-10.m: Added.
* objc/execute/class-11.m: Added.
* objc/execute/class-12.m: Added.
* objc/execute/class-13.m: Added.
* objc/execute/class-14.m: Added.
* objc/execute/class-2.m: Added.
* objc/execute/class-3.m: Added.
* objc/execute/class-4.m: Added.
* objc/execute/class-5.m: Added.
* objc/execute/class-6.m: Added.
* objc/execute/class-7.m: Added.
* objc/execute/class-8.m: Added.
* objc/execute/class-9.m: Added.
* objc/execute/class-tests-1.h
* objc/execute/class-tests-2.h
* objc/execute/compatibility_alias.m: Added.
* objc/execute/encode-1.m: Added.
* objc/execute/formal_protocol-1.m: Added.
* objc/execute/formal_protocol-2.m: Added.
* objc/execute/formal_protocol-3.m: Added.
* objc/execute/formal_protocol-4.m: Added.
* objc/execute/formal_protocol-5.m: Added.
* objc/execute/formal_protocol-6.m: Added.
* objc/execute/formal_protocol-7.m: Added.
* objc/execute/informal_protocol.m: Added.
* objc/execute/initialize.m: Added.
* objc/execute/load.m: Added.
* objc/execute/many_args_method.m: Added.
* objc/execute/nested-3.m: Added.
* objc/execute/no_clash.m: Added.
* objc/execute/private.m: Added.
* objc/execute/redefining_self.m: Added.
* objc/execute/root_methods.m: Added.
* objc/execute/selector-1.m: Added.
* objc/execute/static-1.m: Added.
* objc/execute/static-2.m: Added.
* objc/execute/va_method.m: Added.

From-SVN: r40398

23 years agoAdded.
Ovidiu Predescu [Mon, 12 Mar 2001 06:24:50 +0000 (06:24 +0000)]
Added.

From-SVN: r40397

23 years agoCall reload_cse_simplify_set before reload_cse_noop_set_p
Aldy Hernandez [Mon, 12 Mar 2001 04:30:56 +0000 (04:30 +0000)]
Call reload_cse_simplify_set before reload_cse_noop_set_p

From-SVN: r40394

23 years agoconfig.gcc: Where xm-host.h used to include another xm-host.h...
Zack Weinberg [Mon, 12 Mar 2001 03:29:54 +0000 (03:29 +0000)]
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

23 years agomips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
Kaveh R. Ghazi [Mon, 12 Mar 2001 02:37:56 +0000 (02:37 +0000)]
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

23 years agocombine.c (try_combine): Fix error in change to try original register.
Richard Kenner [Sun, 11 Mar 2001 22:08:12 +0000 (22:08 +0000)]
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

23 years agoconfigure.in: AC_SUBST xm_defines.
Zack Weinberg [Sun, 11 Mar 2001 21:19:11 +0000 (21:19 +0000)]
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

23 years agocppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
Neil Booth [Sun, 11 Mar 2001 14:54:56 +0000 (14:54 +0000)]
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

23 years agoDaily bump.
GCC Administrator [Sun, 11 Mar 2001 08:16:40 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40387

23 years agoAdded blank line.
Alexandre Oliva [Sun, 11 Mar 2001 02:48:16 +0000 (02:48 +0000)]
Added blank line.

From-SVN: r40385

23 years ago* config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
Kaz Kojima [Sun, 11 Mar 2001 02:24:17 +0000 (02:24 +0000)]
* config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.

From-SVN: r40384

23 years agosh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
Toshiyasu Morita [Sun, 11 Mar 2001 02:16:40 +0000 (02:16 +0000)]
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

23 years agoMAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.
Ovidiu Predescu [Sun, 11 Mar 2001 02:08:36 +0000 (02:08 +0000)]
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

23 years agoAdded Stan Shebs as new maintainer for Objective-C.
Ovidiu Predescu [Sun, 11 Mar 2001 02:08:07 +0000 (02:08 +0000)]
Added Stan Shebs as new maintainer for Objective-C.

From-SVN: r40379

23 years ago* g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.
Richard Henderson [Sun, 11 Mar 2001 01:56:54 +0000 (17:56 -0800)]
* g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.

From-SVN: r40377

23 years agotree.c (build_common_tree_nodes_2): Don't copy va_list_type_node if it's a record...
Alexandre Oliva [Sun, 11 Mar 2001 01:46:24 +0000 (01:46 +0000)]
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

23 years agoremove duplication.
Christopher Faylor [Sun, 11 Mar 2001 01:02:50 +0000 (01:02 +0000)]
remove duplication.

From-SVN: r40374

23 years agocygwin.h: Make ../w32api a system directory.
Christopher Faylor [Sun, 11 Mar 2001 00:12:12 +0000 (00:12 +0000)]
cygwin.h: Make ../w32api a system directory.

* config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize mingw
includes slightly.

From-SVN: r40372

23 years agosystem.h (malloc, [...]): #undef token before poisoning it.
Kaveh R. Ghazi [Sat, 10 Mar 2001 22:35:01 +0000 (22:35 +0000)]
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

23 years agoalpha.c (check_float_value): Use memcpy, not bcopy.
Kaveh R. Ghazi [Sat, 10 Mar 2001 21:45:40 +0000 (21:45 +0000)]
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

23 years agotoplev.c (file_name_nondirectory): Remove.
Neil Booth [Sat, 10 Mar 2001 16:33:57 +0000 (16:33 +0000)]
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

23 years agomips-tdump.c (read_seek): Call xmalloc, not malloc.
Richard Kenner [Sat, 10 Mar 2001 15:36:25 +0000 (15:36 +0000)]
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

23 years agoi386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
Jan Hubicka [Sat, 10 Mar 2001 13:36:26 +0000 (14:36 +0100)]
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

23 years agocppfiles.c (search_from): Use lbasename.
Neil Booth [Sat, 10 Mar 2001 10:43:52 +0000 (10:43 +0000)]
cppfiles.c (search_from): Use lbasename.

* cppfiles.c (search_from): Use lbasename.
* mkdeps.c (deps_add_default_target): Use lbasename.

From-SVN: r40364

23 years agolbasename.c: New file.
Neil Booth [Sat, 10 Mar 2001 10:41:25 +0000 (10:41 +0000)]
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

23 years agoDaily bump.
GCC Administrator [Sat, 10 Mar 2001 08:16:39 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40362

23 years agoserver.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc...
Kaveh R. Ghazi [Sat, 10 Mar 2001 04:20:03 +0000 (04:20 +0000)]
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

23 years ago* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
Jeffrey A Law [Sat, 10 Mar 2001 01:37:39 +0000 (01:37 +0000)]
* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.

From-SVN: r40359

23 years ago[multiple changes]
Benjamin Kosnik [Sat, 10 Mar 2001 01:36:23 +0000 (01:36 +0000)]
[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

23 years agoconfigure.in: Only use `lang_requires' for languages athat are actually enabled.
Nicola Pero [Sat, 10 Mar 2001 00:20:21 +0000 (01:20 +0100)]
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

23 years agoconfigure: Rebuilt.
Nicola Pero [Sat, 10 Mar 2001 00:19:37 +0000 (01:19 +0100)]
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

23 years agocrontab, [...]: New files (as currently used by gccadmin).
Joseph Myers [Sat, 10 Mar 2001 00:08:50 +0000 (00:08 +0000)]
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

23 years agoinvoke.texi: Fix typo.
Joseph Myers [Fri, 9 Mar 2001 21:57:48 +0000 (21:57 +0000)]
invoke.texi: Fix typo.

* invoke.texi: Fix typo.
* gcc.1: Regenerate.

From-SVN: r40351

23 years agoconfigure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file...
Zack Weinberg [Fri, 9 Mar 2001 20:53:56 +0000 (20:53 +0000)]
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

23 years agoi386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp independent on TARGET_FLAGS.
Jan Hubicka [Fri, 9 Mar 2001 19:09:21 +0000 (20:09 +0100)]
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

23 years agoi386.h (FIRST_PSEUDO_REGISTER): Set to 53.
Jan Hubicka [Fri, 9 Mar 2001 18:55:27 +0000 (19:55 +0100)]
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

23 years agoi386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 (BOOL_TYPE_SIZE...
Jan Hubicka [Fri, 9 Mar 2001 18:45:59 +0000 (19:45 +0100)]
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

23 years ago* cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
Mike Stump [Fri, 9 Mar 2001 17:03:46 +0000 (17:03 +0000)]
* cselib.c (hash_rtx): Ensure that hash isn't zero upon return.

From-SVN: r40346

23 years agoi386.h (MASK_64BIT): New constant.
Jan Hubicka [Fri, 9 Mar 2001 16:40:43 +0000 (17:40 +0100)]
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

23 years agoDaily bump.
GCC Administrator [Fri, 9 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40344

23 years ago* config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
Jeffrey A Law [Fri, 9 Mar 2001 06:35:00 +0000 (06:35 +0000)]
* config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.

From-SVN: r40342

23 years agortlanal.c (rtx_varies_p): Check operand 0 of a LO_SUM unless for_alias is set.
John Wehle [Fri, 9 Mar 2001 06:28:21 +0000 (06:28 +0000)]
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

23 years agoobjc-act.c: Fix old typos in comments, add comments for various functions.
Stan Shebs [Fri, 9 Mar 2001 03:27:41 +0000 (03:27 +0000)]
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

23 years agore PR libgcj/1971 (ObjectOutputStream generates incorrect serialVersionUID's for...
Tom Tromey [Fri, 9 Mar 2001 01:35:54 +0000 (01:35 +0000)]
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

23 years agoTweak date for accuracy
Stan Shebs [Thu, 8 Mar 2001 23:48:17 +0000 (23:48 +0000)]
Tweak date for accuracy

From-SVN: r40335

23 years ago* cp-tree.h (set_identifier_local_value): Remove unused decl.
Stan Shebs [Thu, 8 Mar 2001 23:47:06 +0000 (23:47 +0000)]
* cp-tree.h (set_identifier_local_value): Remove unused decl.

From-SVN: r40334

23 years agoback out the 3-0 branch version
Bruce Korb [Thu, 8 Mar 2001 23:33:58 +0000 (23:33 +0000)]
back out the 3-0 branch version

From-SVN: r40332

23 years agofix SIGCHLD handling
Bruce Korb [Thu, 8 Mar 2001 23:31:04 +0000 (23:31 +0000)]
fix SIGCHLD handling

[[Split portion of a mixed commit.]]

From-SVN: r40331.2

23 years agofix SIGCHLD handling
Bruce Korb [Thu, 8 Mar 2001 23:26:14 +0000 (23:26 +0000)]
fix SIGCHLD handling

From-SVN: r40330

23 years agoMAINTAINERS (C++ runtime libs): Update and alphabatize.
Phil Edwards [Thu, 8 Mar 2001 21:50:26 +0000 (21:50 +0000)]
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

23 years agoHTML typos and avoid standards.h breakage
Rainer Orth [Thu, 8 Mar 2001 21:41:36 +0000 (21:41 +0000)]
HTML typos and avoid standards.h breakage

From-SVN: r40327

23 years agoconfigure.in (HAVE_AS_LEB128): New assembler check.
Richard Henderson [Thu, 8 Mar 2001 19:36:21 +0000 (11:36 -0800)]
configure.in (HAVE_AS_LEB128): New assembler check.

        * configure.in (HAVE_AS_LEB128): New assembler check.
        * configure, config.in: Rebuilt.

From-SVN: r40326

23 years agoreg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too.
Jan Hubicka [Thu, 8 Mar 2001 19:09:03 +0000 (20:09 +0100)]
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

23 years agoxm-pc532-min.h, xm-we32k.h: Delete references to the MAXPATHLEN macro.
Kaveh R. Ghazi [Thu, 8 Mar 2001 18:53:26 +0000 (18:53 +0000)]
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

23 years agoacinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test command.
Andreas Schwab [Thu, 8 Mar 2001 17:38:49 +0000 (17:38 +0000)]
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

23 years ago* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
Richard Kenner [Thu, 8 Mar 2001 11:33:06 +0000 (11:33 +0000)]
* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.

From-SVN: r40319

23 years agoDaily bump.
GCC Administrator [Thu, 8 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40317

23 years agoconfigure.in (enable_shared): Support per-package shared-library enabling.
Alexandre Oliva [Thu, 8 Mar 2001 06:11:02 +0000 (06:11 +0000)]
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

23 years agors6000.md (cr logic): Add original POWER mnemonic alternative for crnot.
David Edelsohn [Thu, 8 Mar 2001 05:44:49 +0000 (05:44 +0000)]
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

23 years ago* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
Alexandre Oliva [Thu, 8 Mar 2001 05:40:30 +0000 (05:40 +0000)]
* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.

From-SVN: r40311

23 years agoxm-mvs.h, [...]: Delete references to the USG macro.
Kaveh R. Ghazi [Thu, 8 Mar 2001 00:02:09 +0000 (00:02 +0000)]
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

23 years agoconfigure.in: Allow config-lang.in to set `lang_requires' to list of other required...
Tom Tromey [Wed, 7 Mar 2001 22:51:02 +0000 (22:51 +0000)]
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

23 years agoconfigure: Rebuilt.
Tom Tromey [Wed, 7 Mar 2001 22:50:08 +0000 (22:50 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Allow config-lang.in to set `lang_requires' to list
of other required languages.

From-SVN: r40308

23 years ago* config-lang.in (lang_requires): Define.
Tom Tromey [Wed, 7 Mar 2001 22:43:25 +0000 (22:43 +0000)]
* config-lang.in (lang_requires): Define.

From-SVN: r40307

23 years agostd_iosfwd.h: Remove string forward decls here.
Benjamin Kosnik [Wed, 7 Mar 2001 22:22:41 +0000 (22:22 +0000)]
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

23 years agocrash31.C: XFAIL.
Neil Booth [Wed, 7 Mar 2001 22:17:36 +0000 (22:17 +0000)]
crash31.C: XFAIL.

* g++.old-deja/g++.other/crash31.C: XFAIL.
* g77.f-torture/execute/20010116.x: Conditional XFAIL.
* g77.f-torture/execute/short.x: XFAIL -Os on x86.
* gcc.c-torture/execute/20010123-1.x: XFAIL.
* gcc.c-torture/execute/20010124-1.x: XFAIL.
* gcc.dg/sequence-pt-1.c: XFAIL one test.

From-SVN: r40302

23 years agoa29k.c (print_operand): Free a29k_last_prologue_insn after its emitted.
Andrew MacLeod [Wed, 7 Mar 2001 20:28:19 +0000 (20:28 +0000)]
a29k.c (print_operand): Free a29k_last_prologue_insn after its emitted.

2001-03-07  Andrew MacLeod  <amacleod@redhat.com>

* config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
after its emitted.
(output_prologue): Use xmalloc not oballoc.
(output_epilog): Free a29k_first_epilogue_insn when finished.
* confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.

From-SVN: r40301

23 years agoBrad's -ffast-math breakup.
Brad Lucier [Wed, 7 Mar 2001 19:29:41 +0000 (11:29 -0800)]
Brad's -ffast-math breakup.

From-SVN: r40300

23 years agoMakefile.in: Remove RANLIB definition.
Laurynas Biveinis [Wed, 7 Mar 2001 19:05:25 +0000 (19:05 +0000)]
Makefile.in: Remove RANLIB definition.

        * Makefile.in: Remove RANLIB definition. Use RANLIB
        in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS,
        EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set.

        * Makefile.in: Set RANLIB to @RANLIB@.
        Remove RANLIB_TEST.

        * fixinc/inclhack.def (djgpp_wchar_h): New test.
        * fixinc/fixincl.x: Regenerated.

From-SVN: r40299

23 years ago* config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
Richard Henderson [Wed, 7 Mar 2001 18:50:26 +0000 (10:50 -0800)]
* config/alpha/alpha.md (call_osf_1_noreturn): New pattern.

From-SVN: r40297

23 years agolists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
Richard Henderson [Wed, 7 Mar 2001 18:44:17 +0000 (10:44 -0800)]
lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.

        * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
        * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
        (compile_file): ... here.

From-SVN: r40296

23 years agoemit-rtl.c (remove_unnecessary_notes): Verify proper nesting of block notes and excep...
Richard Henderson [Wed, 7 Mar 2001 18:36:23 +0000 (10:36 -0800)]
emit-rtl.c (remove_unnecessary_notes): Verify proper nesting of block notes and exception handling notes.

        * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
        of block notes and exception handling notes.

From-SVN: r40295

23 years agoAdd Irix 5.2, 6.3 support.
Alexandre Oliva [Wed, 7 Mar 2001 18:35:46 +0000 (18:35 +0000)]
Add Irix 5.2, 6.3 support.

2001-03-07  Alexandre Oliva  <aoliva@redhat.com>

Add Irix 5.2, 6.3 support.
        * config/os/irix/bits: Renamed too...
        * config/os/irix/irix6.5/bits: this.
        * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
        * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
        _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
        * config/os/irix/irix5.2/bits/ctype_noninline.h
        (ctype<char>::ctype): Initialize _M_table with __ctype.
        * configure.target: Adjust.

From-SVN: r40294

23 years agoWhitespace change
Richard Kenner [Wed, 7 Mar 2001 13:55:30 +0000 (08:55 -0500)]
Whitespace change

From-SVN: r40292

23 years agoDaily bump.
GCC Administrator [Wed, 7 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40290

23 years agoAdded. Contributed by Nicola Pero.
Ovidiu Predescu [Wed, 7 Mar 2001 05:18:17 +0000 (05:18 +0000)]
Added. Contributed by Nicola Pero.

From-SVN: r40289

23 years agoMakefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
Kaveh R. Ghazi [Wed, 7 Mar 2001 04:00:53 +0000 (04:00 +0000)]
Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.

* fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.

* fixinc/gnu-regex.c: Don't include auto-host.h since we get
config.h now.  Include libiberty.h to handle alloca.

From-SVN: r40283

23 years agoistream.tcc (basic_istream<_CharT, [...]): Don't use sentry.
Benjamin Kosnik [Wed, 7 Mar 2001 02:08:59 +0000 (02:08 +0000)]
istream.tcc (basic_istream<_CharT, [...]): Don't use sentry.

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

libstdc++/2181
* include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
sentry.
(basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
(*__pf)(__ios_type&)): Same.
(basic_istream<_CharT, _Traits>:: operator>>(ios_base&
(*__pf)(ios_base&))): Same.
* testsuite/27_io/istream_extractor_other.cc: Add tests.
* testsuite/27_io/istream_manip.cc (test01): Fix.

From-SVN: r40281

23 years agoc-parse.in (yylexname): New function, split out of _yylex.
Zack Weinberg [Wed, 7 Mar 2001 01:32:01 +0000 (01:32 +0000)]
c-parse.in (yylexname): New function, split out of _yylex.

* c-parse.in (yylexname): New function, split out of _yylex.
(objc_rid_sans_at): New table.
(init_reswords): Initialize it.
(_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
retrieving the next token and checking it for significance as
an ObjC keyword or string constant.

* cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
* cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.

* c-lex.c, c-parse.in, cppmacro.c, cpplex.c, cp/spew.c: Remove
references to CPP_OSTRING.

From-SVN: r40279

23 years ago20000724-1.c: Don't use multiline strings.
Zack Weinberg [Wed, 7 Mar 2001 01:29:32 +0000 (01:29 +0000)]
20000724-1.c: Don't use multiline strings.

2001-03-06  Zack Weinberg  <zackw@stanford.edu>

* gcc.dg/20000724-1.c: Don't use multiline strings.

From-SVN: r40278

23 years agom68k.c (const_uint32_operand): Accept any const_int on a 32-bit host.
Stephen L Moshier [Wed, 7 Mar 2001 01:22:40 +0000 (01:22 +0000)]
m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host.

        * config/m68k/m68k.c (const_uint32_operand): Accept any
        const_int on a 32-bit host.

From-SVN: r40276

23 years agoobjc-act.c (init_objc): Set save_lang_status, restore_lang_status, and mark_lang_status.
Nicola Pero [Wed, 7 Mar 2001 00:29:25 +0000 (01:29 +0100)]
objc-act.c (init_objc): Set save_lang_status, restore_lang_status, and mark_lang_status.

        * objc/objc-act.c (init_objc): Set save_lang_status,
        restore_lang_status, and mark_lang_status.

From-SVN: r40271

23 years agostd_cerrno.h: Don't define errno in std::.
Nathan Myers [Tue, 6 Mar 2001 23:32:59 +0000 (23:32 +0000)]
std_cerrno.h: Don't define errno in std::.

2001-03-06  Nathan Myers  <ncm@cantrip.org>
    Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cerrno.h: Don't define errno in std::.
* testsuite/17_intro/header_cerrno.cc (test01): New file.
* testsuite/17_intro/header_cassert.cc (test01): New file.
* testsuite/17_intro/header_cstddef.cc (test01): New file.
* testsuite/17_intro/header_csetjmp.cc (test01): New file.
* testsuite/17_intro/header_cstdarg.cc (test01): New file.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r40270

23 years ago* dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
Krister Walfridsson [Tue, 6 Mar 2001 23:29:30 +0000 (00:29 +0100)]
* dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.

From-SVN: r40269

23 years ago* cppinternals.texi: Update.
Neil Booth [Tue, 6 Mar 2001 22:35:04 +0000 (22:35 +0000)]
* cppinternals.texi: Update.

From-SVN: r40267

23 years agotypeck.c (convert_arguments): Check that we have an fndecl.
Andrew Haley [Tue, 6 Mar 2001 20:45:06 +0000 (20:45 +0000)]
typeck.c (convert_arguments): Check that we have an fndecl.

2001-03-06  Andrew Haley  <aph@redhat.com>

* typeck.c (convert_arguments): Check that we have an fndecl.

From-SVN: r40265

23 years agotypeck.c (convert_arguments): Don't do ellipsis conversion for __built_in_constant_p.
Andrew Haley [Tue, 6 Mar 2001 14:56:04 +0000 (14:56 +0000)]
typeck.c (convert_arguments): Don't do ellipsis conversion for __built_in_constant_p.

2001-03-05  Andrew Haley  <aph@redhat.com>

        * typeck.c (convert_arguments): Don't do ellipsis conversion for
        __built_in_constant_p.

From-SVN: r40263

23 years agoxm-a29k.h, [...]: Delete HOST_BITS_PER_* definitions which match the defaults provide...
Kaveh R. Ghazi [Tue, 6 Mar 2001 14:33:11 +0000 (14:33 +0000)]
xm-a29k.h, [...]: Delete HOST_BITS_PER_* definitions which match the defaults provided in hwint.h.

* config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
config/convex/xm-convex.h, config/d30v/xm-d30v.h,
config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
config/h8300/xm-h8300.h, config/i370/xm-i370.h,
config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/ia64/xm-ia64.h,
config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
config/romp/xm-romp.h, config/rs6000/xm-beos.h,
config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
match the defaults provided in hwint.h.

* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.

* config.gcc (xm_file): Don't set to files which are deleted.

* hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
guard this file against these macros being undefined.

From-SVN: r40262

23 years agoobjc-act.c (objc_add_static_instance): Set DECL_INITIAL and DECL_DEFER_OUTPUT on...
Zack Weinberg [Tue, 6 Mar 2001 10:04:54 +0000 (10:04 +0000)]
objc-act.c (objc_add_static_instance): Set DECL_INITIAL and DECL_DEFER_OUTPUT on the decl we create...

* objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
and DECL_DEFER_OUTPUT on the decl we create, before calling
rest_of_decl_compilation.
testsuite:
        * objc/execute/string1.m, objc/execute/string2.m: Compare the
        result of -cString against what we expect it to be; don't just
        print it out for no one to read.

* objc/execute/string3.m, objc/execute/string4.m: New tests.
Based on testcases provided by Nicola Pero.

From-SVN: r40261

23 years agooops, edited changelogs in wrong tree
Zack Weinberg [Tue, 6 Mar 2001 10:01:28 +0000 (10:01 +0000)]
oops, edited changelogs in wrong tree
this is the log for the big alloca configuration patch

From-SVN: r40260

23 years agoaclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
Zack Weinberg [Tue, 6 Mar 2001 09:52:35 +0000 (09:52 +0000)]
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.

libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
* configure.in: Replace all alloca logic with a simple use of
the above new macro.
* config.table: Kill *-*-beos* entry.
* config/mh-beos: Delete.
* configure, config.in: Regenerate.

* Makefile.in (ALLOCA, HFILES): Kill.
(REQUIRED_OFILES): Add alloca.o.
(alloca.o): Depend on libiberty.h.
(argv.o): Don't depend on alloca-conf.h.
* alloca-conf.h: Delete.
* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
blocks.  Provide the C alloca unconditionally.  Use PTR where
appropriate.  Make i00afunc static.
* argv.c: Don't include alloca-conf.h.

include:
* libiberty.h: Prototype C_alloca; define alloca to either
__builtin_alloca or C_alloca as appropriate.

gcc:
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
AC_FUNC_ALLOCA.
* configure, config.in: Regenerate.
* config.gcc: Remove references to deleted files.

* genattr.c, genattrtab.c, genextract.c, genoutput.c,
genrecog.c, rtl.c: Do not use alloca anywhere.

* Makefile.in, build-make, system.h, config/x-interix,
config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
config/arc/xm-arc.h, config/arm/xm-arm.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/i370/x-oe,
config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
config/i386/x-ncr3000, config/i386/x-sco5,
config/i386/xm-dgux.h, config/i860/x-sysv4,
config/i960/xm-i960.h, config/m32r/xm-m32r.h,
config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m69k/x-mot3300,
config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
config/m68k/xm-mot3300.h, config/m88k/x-dolph,
config/m88k/x-sysv4, config/m88k/x-tekXD88,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/x-iris, config/mips/x-iris3,
config/mips/x-sni-svr4, config/mips/x-sysv,
config/mips/xm-iris6.h, config/mips/xm-mips.h,
config/mips/xm-nws3250v4.h, config/pa/x-hpux,
config/pa/x-pa-mpeix, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/romp/xm-romp.h,
config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-rs6000,
config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/x-sysv4, config/sparc/xm-linux.h,
config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
config/vax/xm-vms.h: Eradicate all references to alloca and
related stuff.

* config/xm-alloca.h, config/clipper/x-clix,
config/i386/xm-sysv4.h, config/i860/x-fx2800,
config/i860/x-sysv3, config/m88k/x-sysv3,
config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
(contained only alloca related hacks).

* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
USE_C_ALLOCA.

From-SVN: r40259