platform/upstream/gcc.git
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

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

From-SVN: r40258

23 years agoFix a problem where rest_of_decl_compilation applied to class_dtable_decl causes...
Per Bothner [Tue, 6 Mar 2001 07:29:31 +0000 (23:29 -0800)]
Fix a problem where rest_of_decl_compilation applied to class_dtable_decl causes problems because it was done too early...

Fix a problem where rest_of_decl_compilation applied to
class_dtable_decl causes problems because it was done too early,
before output file was opened.
* decl.c (init_decl_processing):  Remove init of class_dtable_decl.
* class.c (class_dtable_decl):  Add macro - element of class_roots.
(make_class_data):  Define class_dtable_decl.
* java-tree.h (JTI_CLASS_DTABLE_DECL, class_dtable_decl):  Removed.

From-SVN: r40256

23 years agostd_cmath.h: Move abs(long), div(long,long) from here...
Scott Snyder [Tue, 6 Mar 2001 02:51:15 +0000 (02:51 +0000)]
std_cmath.h: Move abs(long), div(long,long) from here...

2001-03-05  scott snyder  <snyder@fnal.gov>

libstdc++/2190
        * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
        from here...
        * include/c_std/bits/std_cstdlib.h: ... to here.
* testsuite/17_intro/header_cstdlib.cc: Add test.

From-SVN: r40254

23 years agovec.cc (__cxxa_vec_new2): Qualify size_t.
Stephen M. Webb [Tue, 6 Mar 2001 01:31:09 +0000 (01:31 +0000)]
vec.cc (__cxxa_vec_new2): Qualify size_t.

2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>

* libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.

From-SVN: r40253

23 years agoTreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext().
Bryce McKinlay [Tue, 6 Mar 2001 01:04:28 +0000 (01:04 +0000)]
TreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext().

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

* java/util/TreeSet.java (writeObject): Use a for-loop instead of
Iterator.hasNext().

2001-03-05  Jochen Hoenicke  <jochen@gnu.org>

* java/util/TreeMap.java (writeObject): Use defaultWriteObject()
instead of the new JDK1.2 API.  This is simpler and makes
back-porting the classes to JDK1.1 trivial.
(readObject): likewise.

From-SVN: r40252

23 years ago* invoke.texi: Document __FAST_MATH__.
Brad Lucier [Mon, 5 Mar 2001 23:50:06 +0000 (23:50 +0000)]
* invoke.texi: Document __FAST_MATH__.

From-SVN: r40249

23 years ago* crtstuff.c: Restore include of auto-host.h.
Kaveh R. Ghazi [Mon, 5 Mar 2001 21:05:49 +0000 (21:05 +0000)]
* crtstuff.c: Restore include of auto-host.h.

From-SVN: r40248

23 years agoPut main() in a separate file, so that the language
Fergus Henderson [Mon, 5 Mar 2001 12:17:45 +0000 (12:17 +0000)]
Put main() in a separate file, so that the language
front-end can use a different main().

* main.c: New.
* toplev.c: (main): Rename as toplev_main.
* toplev.h: Declare toplev_main.
* Makefile.in (OBJS): add toplev.o.
  (BACKEND): remove toplev.o, add main.o.

From-SVN: r40247

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

From-SVN: r40246

23 years agoctype_base.h (ctype_base): fix __to_type definition.
Laurynas Biveinis [Mon, 5 Mar 2001 04:44:16 +0000 (04:44 +0000)]
ctype_base.h (ctype_base): fix __to_type definition.

        * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
        definition. Replace enum with static const variables.

        * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
        throw specification, fix typos, use <static_cast>.
        (ctype<char>::scan_is): remove throw specification.
        (ctype<char>::scan_not): likewise.

        * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
        (ctype<char>::do_toupper(char)): use <static_cast>.
        (ctype<char>::do_toupper(char *, const char *)): likewise.
        (ctype<char>::do_tolower(char)): likewise.
        (ctype<char>::do_tolower(char *, const char *)): likewise.

From-SVN: r40243

23 years ago* cplus-dem.c (main): Cast enum style to int.
John David Anglin [Mon, 5 Mar 2001 02:43:27 +0000 (02:43 +0000)]
* cplus-dem.c (main): Cast enum style to int.

From-SVN: r40242

23 years agoalgo.h: Use std not __STD.
Phil Edwards [Sun, 4 Mar 2001 21:34:02 +0000 (21:34 +0000)]
algo.h: Use std not __STD.

2001-03-04  Phil Edwards  <pme@sources.redhat.com>

http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
* include/backward/algo.h:  Use std not __STD.  Remove unneeded
macros and "never happens" code.  Adjust to C++STYLE guidelines.
* include/backward/algobase.h:  Likewise.
* include/backward/alloc.h:  Likewise.
* include/backward/bvector.h:  Likewise.
* include/backward/deque.h:  Likewise.
* include/backward/function.h:  Likewise.
* include/backward/hash_map.h:  Likewise.
* include/backward/hash_set.h:  Likewise.
* include/backward/hashtable.h:  Likewise.
* include/backward/heap.h:  Likewise.
* include/backward/iterator.h:  Likewise.
* include/backward/list.h:  Likewise.
* include/backward/map.h:  Likewise.
* include/backward/multimap.h:  Likewise.
* include/backward/multiset.h:  Likewise.
* include/backward/pair.h:  Likewise.
* include/backward/rope.h:  Likewise.
* include/backward/set.h:  Likewise.
* include/backward/slist.h:  Likewise.
* include/backward/stack.h:  Likewise.
* include/backward/strstream:  Likewise.
* include/backward/tempbuf.h:  Likewise.
* include/backward/tree.h:  Likewise.
* include/backward/vector.h:  Likewise.
* include/bits/basic_ios.h:  Likewise.
* include/bits/basic_ios.tcc:  Likewise.
* include/bits/basic_string.h:  Likewise.
* include/bits/c++config:  Likewise.
* include/bits/concept_checks.h:  Likewise.
* include/bits/fpos.h:  Likewise.
* include/bits/fstream.tcc:  Likewise.
* include/bits/functexcept.h:  Likewise.
* include/bits/ios_base.h:  Likewise.
* include/bits/istream.tcc:  Likewise.
* include/bits/mask_array.h:  Likewise.
* include/bits/ostream.tcc:  Likewise.
* include/bits/pthread_allocimpl.h:  Likewise.
* include/bits/sbuf_iter.h:  Likewise.
* include/bits/slice.h:  Likewise.
* include/bits/slice_array.h:  Likewise.
* include/bits/sstream.tcc:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_fstream.h:  Likewise.
* include/bits/std_iomanip.h:  Likewise.
* include/bits/std_ios.h:  Likewise.
* include/bits/std_istream.h:  Likewise.
* include/bits/std_iterator.h:  Likewise.
* include/bits/std_memory.h:  Likewise.
* include/bits/std_ostream.h:  Likewise.
* include/bits/std_sstream.h:  Likewise.
* include/bits/std_streambuf.h:  Likewise.
* include/bits/std_string.h:  Likewise.
* include/bits/std_valarray.h:  Likewise.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_function.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/stl_iterator_base.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/stl_pthread_alloc.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_raw_storage_iter.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_threads.h:  Likewise.
* include/bits/stl_tree.h:  Likewise.
* include/bits/stl_uninitialized.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/bits/streambuf.tcc:  Likewise.
* include/bits/type_traits.h:  Likewise.
* include/bits/valarray_meta.h:  Likewise.
* include/ext/bvector:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_bvector.h:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.
* src/complex_io.cc:  Likewise.
* src/ios.cc:  Likewise.
* src/locale-inst.cc:  Likewise.
* src/locale.cc:  Likewise.
* src/localename.cc:  Likewise.
* src/misc-inst.cc:  Likewise.
* src/stdexcept.cc:  Likewise.
* src/stl-inst.cc:  Likewise.
* src/strstream.cc:  Likewise.
* src/valarray-inst.cc:  Likewise.

From-SVN: r40239

23 years ago* cppfiles.c (search_from): Special case the empty string.
Neil Booth [Sun, 4 Mar 2001 15:10:46 +0000 (15:10 +0000)]
* cppfiles.c (search_from): Special case the empty string.

From-SVN: r40236

23 years agocppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the filename.
Neil Booth [Sun, 4 Mar 2001 12:02:02 +0000 (12:02 +0000)]
cppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the filename.

* cppfiles.c (_cpp_execute_include): Don't make a null-terminated
copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
strlen or strcpy; we already know the length.
(_cpp_compare_file_date): Similarly.
* cpphash.h (struct cpp_reader): Delete done_initialising.
(CPP_PREV_BUFFER): Delete.
* cppinit.c (cpp_start_read): Don't set done_initialising.
* cpplex.c (parse_string): Guarantee null-termination.
(_cpp_equiv_toklists): Remove.
* cpplib.c (glue_header_name): Null-terminate.
(do_line): Don't leak memory.
* cpplib.h (BT_WEAK): Delete.
* cppmain.c (cb_ident): Strings are now null-terminated.

From-SVN: r40233

23 years agogcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is not defined.
Laurynas Biveinis [Sun, 4 Mar 2001 09:08:25 +0000 (09:08 +0000)]
gcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is not defined.

        * gcc.c (convert_filename): Append executable suffix
        if NO_AUTO_EXE_SUFFIX is not defined.
        * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
        * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.

From-SVN: r40229

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

From-SVN: r40226

23 years agoRe-remove c-gperf.h.
David O'Brien [Sun, 4 Mar 2001 00:29:59 +0000 (00:29 +0000)]
Re-remove c-gperf.h.

Approved by:  Jeffrey A Law <law@redhat.com>
              <6253.979532098@upchuck.cygnus.com>
              Tom Tromey <tromey@redhat.com>
              <87d7ce8gcz.fsf@creche.redhat.com>

From-SVN: r40225

23 years agocpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments when lookin...
Neil Booth [Sat, 3 Mar 2001 22:14:08 +0000 (22:14 +0000)]
cpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments when looking for the '('.

* cpplex.c (_cpp_lex_token): Don't warn about directives in
macro arguments when looking for the '('.
* cppmacro.c (funlike_invocation_p): Set parsing_args to
2 when really parsing arguments; 1 when looking for '('.
Always restore the lexer position.
* gcc.dg/cpp/cppmacro7.c: New test.

From-SVN: r40223

23 years agoUnder the "obviously correct" rule, fix the formatting breakage of people using 8...
David O'Brien [Sat, 3 Mar 2001 19:41:07 +0000 (19:41 +0000)]
Under the "obviously correct" rule, fix the formatting breakage of people using 8-space indents vs.

Under the "obviously correct" rule, fix the formatting breakage of people
using 8-space indents vs. a single <tab> character.

From-SVN: r40221

23 years ago* longlong.h (umul_ppmm): Don't use a multiline string.
Neil Booth [Sat, 3 Mar 2001 19:38:14 +0000 (19:38 +0000)]
* longlong.h (umul_ppmm): Don't use a multiline string.

From-SVN: r40219

23 years agofixlib.h (t_bool): Add identifier `t_bool' in typedef.
John David Anglin [Sat, 3 Mar 2001 19:05:00 +0000 (19:05 +0000)]
fixlib.h (t_bool): Add identifier `t_bool' in typedef.

* fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
* fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
t_bool in declaration because pcc can't combine volatile with typedef
types.

From-SVN: r40217

23 years agoi386.c (ix86_expand_fp_compare): Delay creating of scratch register until when it...
Jan Hubicka [Sat, 3 Mar 2001 18:49:05 +0000 (19:49 +0100)]
i386.c (ix86_expand_fp_compare): Delay creating of scratch register until when it is really needed.

* i386.c (ix86_expand_fp_compare): Delay creating of scratch register
until when it is really needed.
(ix86_expand_compare): Update call of ix86_expand_fp_compare.
* i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
* i386.md (float?i?f splitter): Don't force source operand to memory
for SSE.
(sse_movdfcc): Fix constraint.
(sse_movdfcc splitter): Handle properly the second alternative.

From-SVN: r40216

23 years ago* gcc.dg/cpp/multiline.c: Update.
Neil Booth [Sat, 3 Mar 2001 18:10:34 +0000 (18:10 +0000)]
* gcc.dg/cpp/multiline.c: Update.

From-SVN: r40215

23 years ago* cpplex.c (parse_string): Unconditionally pedwarn.
Neil Booth [Sat, 3 Mar 2001 14:50:20 +0000 (14:50 +0000)]
* cpplex.c (parse_string): Unconditionally pedwarn.

From-SVN: r40214

23 years agocpp.texi: Update.
Neil Booth [Sat, 3 Mar 2001 11:32:32 +0000 (11:32 +0000)]
cpp.texi: Update.

        * cpp.texi: Update.
        * cppexp.c (parse_number): Update.
        * cpplex.c (parse_string): Pedwarn if multiline string does not
        result from a system header's macro.
        * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
        * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
        for function-like macros too.
* c-lex.c (parse_number): Update.

From-SVN: r40211