Commit Graph

32193 Commits

Author SHA1 Message Date
Jason Merrill 913ac9fa8e auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an...
* testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
        to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
        isn't supposed to work anymore.

From-SVN: r38171
2000-12-10 06:23:50 -05:00
Jeff Law 3d4eaaf3be Daily bump.
From-SVN: r38170
2000-12-10 01:45:10 -07:00
Richard Henderson 3f67ba6e95 Richards changes to the closure code for alpha
From-SVN: r38169
2000-12-10 07:13:18 +00:00
Anthony Green bc38c78775 Enable interpreter for alpha.
From-SVN: r38168
2000-12-10 07:12:32 +00:00
Alexandre Petit-Bianco f34ff6d61e Top level ChangeLog:
2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* libjava: Imported from /cvs/java.
	* libffi: Likewise.
	* Boehm-gc: Likewise.

libjava/ChangeLog:

2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
	(ZIP): Points at fastjar instead of zip.
	(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
	(libgcj_la_LDFLAGS): Correctly point at libsupc++.
	(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
	(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
	($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
	($(x_java_source_files:.java=.class):): Likewise.
	(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
	fastar's flags.
	(CLEANFILES): libgcj.jar replaces libgcj.zip.
	(java/lang/ClassLoader.h:): Depends on libgcj.jar.
	(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
	java/lang/String.h:, java/lang/reflect/Constructor.h:,
	java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
	gnu/gcj/runtime/VMClassLoader.h:,
	java/io/ObjectInputStream$$GetField.h:,
	java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
	(Makefile.in): Rebuilt.

gcc/java/ChangeLog:

2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
	jcf-path.c: Likewise.

From-SVN: r38167
2000-12-09 21:32:49 -08:00
Phil Edwards bfcafa4fbe Move the HTML-containing subdirs from 'docs' to 'docs/html'.
2000-12-09  Phil Edwards  <pme@sources.redhat.com>

	Move the HTML-containing subdirs from 'docs' to 'docs/html'.
	* README:  Update the locations of instructions.
	* docs/doxygen/run_doxygen:  New file, stub.

	* docs/Makefile:  Moved...
	* docs/configopts.html:  Likewise.
	* docs/documentation.html:  Likewise.
	* docs/install.html:  Likewise.
	* docs/lib3styles.css:  Likewise.
	* docs/17_intro/BADNAMES:  Likewise.
	* docs/17_intro/BUGS:  Likewise.
	* docs/17_intro/C++STYLE:  Likewise.
	* docs/17_intro/CHECKLIST:  Likewise.
	* docs/17_intro/COPYING:  Likewise.
	* docs/17_intro/DESIGN:  Likewise.
	* docs/17_intro/HEADER_POLICY:  Likewise.
	* docs/17_intro/PROBLEMS:  Likewise.
	* docs/17_intro/RELEASE-NOTES:  Likewise.
	* docs/17_intro/TODO:  Likewise.
	* docs/17_intro/contribute.html:  Likewise.
	* docs/17_intro/headers_cc.txt:  Likewise.
	* docs/17_intro/howto.html:  Likewise.
	* docs/17_intro/libstdc++-assign.txt:  Likewise.
	* docs/17_intro/organization:  Likewise.
	* docs/17_intro/porting-howto.html:  Likewise.
	* docs/18_support/howto.html:  Likewise.
	* docs/19_diagnostics/howto.html:  Likewise.
	* docs/20_util/howto.html:  Likewise.
	* docs/21_strings/gotw29a.txt:  Likewise.
	* docs/21_strings/howto.html:  Likewise.
	* docs/21_strings/stringtok_h.txt:  Likewise.
	* docs/21_strings/stringtok_std_h.txt:  Likewise.
	* docs/22_locale/codecvt.html:  Likewise.
	* docs/22_locale/ctype.html:  Likewise.
	* docs/22_locale/howto.html:  Likewise.
	* docs/22_locale/locale.html:  Likewise.
	* docs/23_containers/howto.html:  Likewise.
	* docs/23_containers/wrappers_h.txt:  Likewise.
	* docs/24_iterators/howto.html:  Likewise.
	* docs/25_algorithms/howto.html:  Likewise.
	* docs/26_numerics/howto.html:  Likewise.
	* docs/27_io/howto.html:  Likewise.
	* docs/27_io/iostreams_hierarchy.pdf:  Likewise.
	* docs/ext/howto.html:  Likewise.
	* docs/faq/index.html:  Likewise.
	* docs/faq/index.txt:  Likewise.
	* docs/html/Makefile:  ...to here.
	* docs/html/configopts.html:  Likewise.
	* docs/html/documentation.html:  Likewise.
	* docs/html/install.html:  Likewise.
	* docs/html/lib3styles.css:  Likewise.
	* docs/html/17_intro/BADNAMES:  Likewise.
	* docs/html/17_intro/BUGS:  Likewise.
	* docs/html/17_intro/C++STYLE:  Likewise.
	* docs/html/17_intro/CHECKLIST:  Likewise.
	* docs/html/17_intro/COPYING:  Likewise.
	* docs/html/17_intro/DESIGN:  Likewise.
	* docs/html/17_intro/HEADER_POLICY:  Likewise.
	* docs/html/17_intro/PROBLEMS:  Likewise.
	* docs/html/17_intro/RELEASE-NOTES:  Likewise.
	* docs/html/17_intro/TODO:  Likewise.
	* docs/html/17_intro/contribute.html:  Likewise.
	* docs/html/17_intro/headers_cc.txt:  Likewise.
	* docs/html/17_intro/howto.html:  Likewise.
	* docs/html/17_intro/libstdc++-assign.txt:  Likewise.
	* docs/html/17_intro/organization:  Likewise.
	* docs/html/17_intro/porting-howto.html:  Likewise.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/21_strings/gotw29a.txt:  Likewise.
	* docs/html/21_strings/howto.html:  Likewise.
	* docs/html/21_strings/stringtok_h.txt:  Likewise.
	* docs/html/21_strings/stringtok_std_h.txt:  Likewise.
	* docs/html/22_locale/codecvt.html:  Likewise.
	* docs/html/22_locale/ctype.html:  Likewise.
	* docs/html/22_locale/howto.html:  Likewise.
	* docs/html/22_locale/locale.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/23_containers/wrappers_h.txt:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/27_io/iostreams_hierarchy.pdf:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Likewise.

From-SVN: r38166
2000-12-10 04:04:56 +00:00
Anthony Green 6e5589e8ad zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_length as int values.
* zipfile.h (ZipDirectory): Declare size, uncompressed_size,
	filestart and filename_length as int values.

From-SVN: r38165
2000-12-10 03:53:33 +00:00
Richard Henderson 7297e9fc9a genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART as SET_DEST have in-out constraints.
* genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
        STRICT_LOW_PART as SET_DEST have in-out constraints.

From-SVN: r38164
2000-12-09 14:06:52 -08:00
Joseph Myers e45046aeda c-common.c (check_function_format): Don't suggest adding format attributes to functions with no parameter to which...
* c-common.c (check_function_format): Don't suggest adding format
	attributes to functions with no parameter to which to add them.

testsuite:
	* gcc.dg/format-miss-2.c: New test.

From-SVN: r38163
2000-12-09 21:26:56 +00:00
Alexandre Petit-Bianco d82a33c6bd configure.in (target_libs): Revert 2000-12-08 patch.
2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* configure.in (target_libs): Revert 2000-12-08 patch.
	(noconfigdirs): Added target-libjava.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00500.html)

From-SVN: r38162
2000-12-09 13:08:13 -08:00
Nick Clifton d3236b4d2a Remove some psurious whitespace
From-SVN: r38161
2000-12-09 20:53:53 +00:00
Nick Clifton 8e56560e46 Mark the generated insn not the set as being DWARF2_FRAME_RELATED_P.
From-SVN: r38160
2000-12-09 20:51:26 +00:00
Jason Merrill b1c1090273 Clean up copy-initialization in overloading code.
* call.c (build_user_type_conversion_1): Die if we are asked to
        convert to the same or a base type.
        (implicit_conversion): Avoid doing so.  Lose reference binding code.
        (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit
        direct-initialization.  Also do direct-init part of copy-init.
        (build_user_type_conversion): Don't provide context to convert_like.
        * cvt.c (ocp_convert): build_user_type_conversion will now provide
        the constructor call for copy-init.

From-SVN: r38159
2000-12-09 14:03:24 -05:00
Jason Merrill 5e818b9351 error.c (dump_function_name): Don't let the user see __comp_ctor.
* error.c (dump_function_name): Don't let the user see __comp_ctor.

        Clean up copy-initialization in overloading code.
        * call.c (build_user_type_conversion_1): Die if we are asked to
        convert to the same or a base type.
        (implicit_conversion): Avoid doing so.  Lose reference binding code.
        (convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit
        direct-initialization.  Also do direct-init part of copy-init.
        (build_user_type_conversion): Don't provide context to convert_like.
        * cvt.c (ocp_convert): build_user_type_conversion will now provide
        the constructor call for copy-init.

        * pt.c (tsubst_decl): Call clone_function_decl here if this is an
        instantiation of a member template.
        (do_decl_instantiation): Not here.

From-SVN: r38158
2000-12-09 13:34:12 -05:00
Laurynas Biveinis 193ad8c673 Makefile.in: use $(build_exeext) for all build system executable targets.
* Makefile.in: use $(build_exeext) for all build
system executable targets.

From-SVN: r38157
2000-12-09 11:27:51 -05:00
DJ Delorie 961046eacb oops, that was a mistake
From-SVN: r38156
2000-12-09 11:25:20 -05:00
Laurynas Biveinis e14f8e28fc * djunpack.bat: removed.
From-SVN: r38155
2000-12-09 11:07:41 -05:00
Laurynas Biveinis fc26516b4f Makefile.in: handle DOS-style absolute paths.
* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise.
* symlink-tree: likewise.

From-SVN: r38154
2000-12-09 11:06:19 -05:00
Laurynas Biveinis 6a52a2ef4b install.texi: remove i[345]86-*-winnt3.5 section.
* install.texi: remove i[345]86-*-winnt3.5 section.
* configur.bat: removed.
* config/msdos: directory removed.

From-SVN: r38153
2000-12-09 11:01:24 -05:00
Toon Moene a40bb4d345 Update to Netlib version 20001205.
2000-12-09  Toon Moene  <toon@moene.indiv.nluug.nl>

	Update to Netlib version 20001205.
	Thanks go to David M. Gay for these updates.

	* libF77/Version.c: Update version information.
	* libF77/z_log.c: Improve accuracy of real(log(z)) for
	z near (+-1,eps) with |eps| small.
	* libF77/s_cat.c: Adjust call when ftnint and ftnlen are
	of different size.
	* libF77/dtime_.c, libF77/etime_.c: Use floating point divide.

	* libI77/Version.c: Update version information.
	* libI77/rsne.c, libI77/xwsne.c: Adjust code for when ftnint
	and ftnlen differ in size.
	* libI77/lread.c: Fix reading of namelist logical values followed
	by <name>= where <name> starts with T or F.

From-SVN: r38152
2000-12-09 15:34:53 +00:00
Neil Booth 9766549120 lineflags.c: New tests.
* gcc.dg/cpp/lineflags.c: New tests.
        * gcc.dg/cpp/poison.c: Update.
        * gcc.dg/cpp/redef2.c: Update.
        * gcc.dg/cpp/skipping.c: New test.

From-SVN: r38151
2000-12-09 12:07:56 +00:00
Neil Booth 28e0f04034 cppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.
* cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
        * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
        * cpplex.c (parse_identifier): Improve diagnostic.
        (_cpp_lex_token): Return unconditionally at the end of a directive.
        * cpplib.c (read_flag): Verify legality of each flag.
        (end_directive): Resotre pfile->skipping before skip_rest_of_line.
        (do_line): Use the new read_flag.
        * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
        check_macro_redefinition, parse_params): Rename var_args to
        variadic.

From-SVN: r38150
2000-12-09 12:06:37 +00:00
Joseph Myers 1b32f732bf cvsignore: Add info files.
* .cvsignore: Add info files.

f:
	* .cvsignore: New file; add info files.

From-SVN: r38149
2000-12-09 10:22:30 +00:00
Jeff Law 7a21743b7e Daily bump.
From-SVN: r38148
2000-12-09 01:45:07 -07:00
Laurynas Biveinis 17f4d7aa73 winnt: Remove obsolete directory.
* config/winnt: Remove obsolete directory.
* install.texi (Configurations): Remove obsolete documentation for Windows NT.

From-SVN: r38147
2000-12-09 04:10:22 +00:00
Alexandre Oliva 1ccfe3fa1f Indentation fix
From-SVN: r38146
2000-12-09 03:42:29 +00:00
Alexandre Petit-Bianco bd8757b313 fastjar: Imported.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * fastjar: Imported.

From-SVN: r38145
2000-12-08 19:08:23 -08:00
Alexandre Petit-Bianco 81522a1f86 Makefile.in (TARGET_CONFIGDIRS): Wrong place.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Makefile.in (TARGET_CONFIGDIRS): Wrong place. Removed note about
	libjava.
	* configure.in (target_libs): Removed `target-libjava'.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00480.html)

From-SVN: r38144
2000-12-08 18:49:29 -08:00
Alexandre Petit-Bianco 5db1f7edca Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.
        (ALL_MODULES): Added fastjar.
        (NATIVE_CHECK_MODULES, INSTALL_MODULES, CLEAN_MODULES): Likewise.
        (all-target-libjava): all-fastjar replaces all-zip.
        (all-fastjar): Added.
        (configure-target-fastjar, all-target-fastjar): Likewise.
        * configure.in (host_tools): Added fastjar.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00479.html)

From-SVN: r38143
2000-12-08 17:39:21 -08:00
Mike Stump 5a2eb52b16 Add - before rms to be more portable.
From-SVN: r38142
2000-12-08 23:18:00 +00:00
Joseph Myers 17db658241 configure.in: Don't define INSTALL_INFO.
* configure.in: Don't define INSTALL_INFO.
	* configure: Regenerate.
	* Makefile.in (INSTALL_INFO): Remove.
	(info): Depend on info files in source directory.
	(cpp.info, gcc.info, c-tree.info): Build info files in source
	directory.
	(distclean): Don't remove info files.
	(maintainer-clean): Remove info files from source directory.
	(install-normal): Depend on install-info.
	(install-info): Install info files from source directory, if they
	exist.
	* texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.

ch:
	* Make-lang.in (CHILL.info): Depend on info files in source
	directory.
	(ch/chill.info): Build info files in source directory.
	(CHILL.install-info): Install info files from source directory.

f:
	* Make-lang.in (f77.info): Depend on info files in source
	directory.
	(f/g77.info): Build info files in source directory; don't build
	them unless BUILD_INFO is "info".
	(f77.install-info): Install info files from source directory.

From-SVN: r38141
2000-12-08 22:54:06 +00:00
Alexandre Oliva 25fa8bdca2 lcm.c (optimize_mode_switching): Check whether an insn is a NOTE before taking its NOTE_LINE_NUMBER.
* lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
before taking its NOTE_LINE_NUMBER.

From-SVN: r38140
2000-12-08 22:28:57 +00:00
Tom Tromey 583e347f78 From Phil Edwards:
* configure: Rebuilt.
	* configure.in: Use echo, not `:', to create .d files.

From-SVN: r38139
2000-12-08 22:27:09 +00:00
Phil Edwards 85a011b076 acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, true iff building libio.
2000-12-08  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO):  New conditional,
	  GLIBCPP_BUILD_LIBIO, true iff building libio.
	* libio/Makefile.am:  Use; set noinst_LTLIBRARIES empty if false.
	* aclocal.m4:  Regenerated.
	* config.h.in:  Regenerated.
	* configure:  Regenerated.
	* libio/Makefile.in:  Regenerated.
	* libmath/Makefile.in:  Regenerated.

From-SVN: r38138
2000-12-08 22:26:49 +00:00
Nick Clifton a7cf60a24f Fix spelling typo
From-SVN: r38137
2000-12-08 19:57:06 +00:00
Richard Henderson 29fe047981 libffi closures for Alpha
From-SVN: r38136
2000-12-08 19:41:15 +00:00
Nick Clifton 859230d482 Add pool ranges to load_indirect_jump pattern
From-SVN: r38135
2000-12-08 19:36:32 +00:00
Nick Clifton 6d3d91336c Add support for interrupt function attribute
From-SVN: r38134
2000-12-08 19:25:33 +00:00
Brad Lucier 2bff3fd527 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
From-SVN: r38133
2000-12-08 18:42:13 +00:00
Warren Levy d5323b9905 StringBuffer.java (insert(int,char[])): Avoid NullPointerException so proper check of offset can be done.
* java/lang/StringBuffer.java (insert(int,char[])): Avoid
	NullPointerException so proper check of offset can be done.

From-SVN: r38132
2000-12-08 13:08:36 +00:00
Warren Levy be17b0fcff FileInputStream.java (close): Check if the fd is valid.
* java/io/FileInputStream.java (close): Check if the fd is valid.
	* java/io/RandomAccessFile.java (close): Ditto.
	* java/net/PlainDatagramSocketImpl.java (close): Ditto.
	* java/net/PlainSocketImpl.java (close): Ditto.

From-SVN: r38131
2000-12-08 10:28:32 +00:00
J"orn Rennecke cf9f5da02f fp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies.
* fp-bit.c (_fpmul_parts): Use USItype variables as inputs
	for multiplies.

From-SVN: r38130
2000-12-08 09:14:03 +00:00
Jeff Law 7213219e03 Daily bump.
From-SVN: r38129
2000-12-08 01:45:07 -07:00
Gabriel Dos Reis 0ba2a514ef Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ctanhl, ctanl.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
	cexpl, clog10l, csinhl, ctanhl, ctanl.
	(EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
	csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
	* libmath/Makefile.in: Regenarate.
	* libmath/ccos.c: Remove.
	* libmath/ccosf.c: Likewise.
	* libmath/ccosl.c: Likewise.
	* libmath/csin.c: Likewise.
	* libmath/csinf.c: Likewise.
	* libmath/csinl.c: Likewise.
	* libmath/ctan.c: Likewise.
	* libmath/ctanf.c: Likewise.
	* libmath/ctanl.c: Likewise.
	* libmath/ccosh.c: Likewise.
	* libmath/ccoshf.c: Likewise.
	* libmath/ccoshl.c: Likewise.
	* libmath/csinh.c: Likewise.
	* libmath/csinhf.c: Likewise.
	* libmath/csinhl.c: Likewise.
	* libmath/ctanh.c: Likewise.
	* libmath/ctanhf.c: Likewise.
	* libmath/ctanhl.c: Likewise.
	* libmath/cexp.c: Likewise.
	* libmath/cexpf.c: Likewise.
	* libmath/cexpl.c: Likewise.
	* libmath/clog10.c: Likewise.
	* libmath/clog10f.c: Likewise.
	* libmath/clog10l.c: Likewise.
	* libmath/complex-stub.h: Remove forward declaration of functions
	mentioned above.

	* include/bits/std_complex.h(tan, tanh): Define primary templates.
	(complex<>): Remove friend declarations for tan<> and tanh<>.
	* src/complex.cc(tan, tanh): Remove specializations.

	* acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
	ccoshf, ccoshl,	csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
	cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
	* aclocal.m4: Regenarate.
	* configure: Regenarate.

From-SVN: r38128
2000-12-08 05:57:48 +00:00
Gabriel Dos Reis ecddf6a806 acinclude.m4: Don't forget to remove check for cpowl as it is no longer needed...
* acinclude.m4: Don't forget to remove check for cpowl as it is no
	longer needed, nor is the corresponding stub existent.
	* aclocal.m4: Regenarate.
	* configure: Regenarate.

From-SVN: r38127
2000-12-08 03:43:22 +00:00
Mike Stump 5e59997cb7 * Makefile.in (local-distclean): Remove leftover built files.
From-SVN: r38126
2000-12-08 03:35:16 +00:00
Mike Stump 2e35898e23 * Makefile.in (distclean): Remove alloca.c hashtab.c.
From-SVN: r38125
2000-12-08 03:02:46 +00:00
Zack Weinberg f6bbde28c4 safe-ctype.h: New file.
include:
	* safe-ctype.h: New file.
libiberty:
	* safe-ctype.c: New file.
	* Makefile.in (CFILES): Add safe-ctype.c.
	(REQUIRED_OFILES): Add safe-ctype.o.

	* argv.c: Define ISBLANK and use it, not isspace.
	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
	before calling TOLOWER(c)/TOUPPER(c).
gcc:
	* Makefile.in (HOST_RTL): Add safe-ctype.o.
	(safe-ctype.o): New rule.
	* system.h: Include safe-ctype.h, not ctype.h.  No need to
	wrap ctype macros.

	* cpphash.h: Zap IStable and related macros.  Define is_* in
	terms of safe-ctype.h macros.
	* cppinit.c: Delete the IStable and all related code.

	* tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
	is_space arrays.  Delete initialize_char_syntax.  Change all
	references to the above arrays to use macros instead.
	* tradcpp.h: Define is_idchar, is_idstart, is_space, and
	is_nvspace in terms of safe_ctype.h's macros.
	* tradcif.y: is_idchar, is_idstart are macros not arrays.

	* config/i370/i370.c, config/winnt/dirent.c,
	config/winnt/fixinc-nt.c, config/winnt/ld.c:
	Use uppercase ctype macros.  If we included ctype.h,
	include safe-ctype.h instead.

	* fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
	ISLOWER(c) before calling TOUPPER(c).
	* fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
	* fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
	wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
gcc/ch:
	* lex.c: Don't bother checking whether ISUPPER(c) before
	calling TOLOWER(c).  Don't bother checking whether isascii(c)
	before testing ISSPACE(c); ISSPACE(c) includes '\n'.
gcc/f:
	* Make-lang.in: Link f/fini with safe-ctype.o.
	* bad.c: Don't test ISUPPER(c) || ISLOWER(c) before calling TOUPPER(c).
	* com.c: Use TOUPPER, not ffesrc_toupper.
	* fini.c: Don't test ISALPHA(c) before calling TOUPPER(c)/TOLOWER(c).
	* intrin.c: Don't test IN_CTYPE_DOMAIN(c).
	* src.c: Delete ffesrc_toupper_ and ffesrc_tolower_ and their
	initializing code; use TOUPPER and TOLOWER instead of
	ffesrc_toupper and ffesrc_tolower.
	* src.h: Don't declare ffesrc_toupper_ or ffesrc_tolower_.
	Don't define ffesrc_toupper or ffesrc_tolower.
gcc/java:
	* jvgenmain.c: Use ISPRINT not isascii.

From-SVN: r38124
2000-12-08 03:00:26 +00:00
Geoffrey Keating f3588f1aad * g++.old-deja/g++.other/eh3.C: New testcase.
From-SVN: r38123
2000-12-08 01:37:13 +00:00
DJ Delorie 54d7f9aa04 c-decl.c (grokdeclarator): preserve previous alignments when rebuilding array types.
* c-decl.c (grokdeclarator): preserve previous alignments when
rebuilding array types.

From-SVN: r38122
2000-12-07 20:10:40 -05:00