gcc.git
23 years agozipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_len...
Anthony Green [Sun, 10 Dec 2000 03:53:33 +0000 (03:53 +0000)]
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

23 years agogenrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART as SET_DE...
Richard Henderson [Sat, 9 Dec 2000 22:06:52 +0000 (14:06 -0800)]
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

23 years agoc-common.c (check_function_format): Don't suggest adding format attributes to functio...
Joseph Myers [Sat, 9 Dec 2000 21:26:56 +0000 (21:26 +0000)]
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

23 years agoconfigure.in (target_libs): Revert 2000-12-08 patch.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 21:08:13 +0000 (21:08 +0000)]
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

23 years agoRemove some psurious whitespace
Nick Clifton [Sat, 9 Dec 2000 20:53:53 +0000 (20:53 +0000)]
Remove some psurious whitespace

From-SVN: r38161

23 years agoMark the generated insn not the set as being DWARF2_FRAME_RELATED_P.
Nick Clifton [Sat, 9 Dec 2000 20:51:26 +0000 (20:51 +0000)]
Mark the generated insn not the set as being DWARF2_FRAME_RELATED_P.

From-SVN: r38160

23 years agoClean up copy-initialization in overloading code.
Jason Merrill [Sat, 9 Dec 2000 19:03:24 +0000 (14:03 -0500)]
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

23 years agoerror.c (dump_function_name): Don't let the user see __comp_ctor.
Jason Merrill [Sat, 9 Dec 2000 18:34:12 +0000 (13:34 -0500)]
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

23 years agoMakefile.in: use $(build_exeext) for all build system executable targets.
Laurynas Biveinis [Sat, 9 Dec 2000 16:27:51 +0000 (16:27 +0000)]
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

23 years agooops, that was a mistake
DJ Delorie [Sat, 9 Dec 2000 16:25:20 +0000 (11:25 -0500)]
oops, that was a mistake

From-SVN: r38156

23 years ago* djunpack.bat: removed.
Laurynas Biveinis [Sat, 9 Dec 2000 16:07:41 +0000 (16:07 +0000)]
* djunpack.bat: removed.

From-SVN: r38155

23 years agoMakefile.in: handle DOS-style absolute paths.
Laurynas Biveinis [Sat, 9 Dec 2000 16:06:19 +0000 (16:06 +0000)]
Makefile.in: handle DOS-style absolute paths.

* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise.
* symlink-tree: likewise.

From-SVN: r38154

23 years agoinstall.texi: remove i[345]86-*-winnt3.5 section.
Laurynas Biveinis [Sat, 9 Dec 2000 16:01:24 +0000 (16:01 +0000)]
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

23 years agoUpdate to Netlib version 20001205.
Toon Moene [Sat, 9 Dec 2000 15:34:53 +0000 (16:34 +0100)]
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

23 years agolineflags.c: New tests.
Neil Booth [Sat, 9 Dec 2000 12:07:56 +0000 (12:07 +0000)]
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

23 years agocppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.
Neil Booth [Sat, 9 Dec 2000 12:06:37 +0000 (12:06 +0000)]
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

23 years agocvsignore: Add info files.
Joseph Myers [Sat, 9 Dec 2000 10:22:30 +0000 (10:22 +0000)]
cvsignore: Add info files.

* .cvsignore: Add info files.

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

From-SVN: r38149

23 years agoDaily bump.
Jeff Law [Sat, 9 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38148

23 years agowinnt: Remove obsolete directory.
Laurynas Biveinis [Sat, 9 Dec 2000 04:10:22 +0000 (04:10 +0000)]
winnt: Remove obsolete directory.

* config/winnt: Remove obsolete directory.
* install.texi (Configurations): Remove obsolete documentation for Windows NT.

From-SVN: r38147

23 years agoIndentation fix
Alexandre Oliva [Sat, 9 Dec 2000 03:42:29 +0000 (03:42 +0000)]
Indentation fix

From-SVN: r38146

23 years agofastjar: Imported.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 03:08:23 +0000 (03:08 +0000)]
fastjar: Imported.

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

        * fastjar: Imported.

From-SVN: r38145

23 years agoMakefile.in (TARGET_CONFIGDIRS): Wrong place.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 02:49:29 +0000 (02:49 +0000)]
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

23 years agoMakefile.in (TARGET_CONFIGDIRS): Added note about libjava.
Alexandre Petit-Bianco [Sat, 9 Dec 2000 01:39:21 +0000 (01:39 +0000)]
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

23 years agoAdd - before rms to be more portable.
Mike Stump [Fri, 8 Dec 2000 23:18:00 +0000 (23:18 +0000)]
Add - before rms to be more portable.

From-SVN: r38142

23 years agoconfigure.in: Don't define INSTALL_INFO.
Joseph Myers [Fri, 8 Dec 2000 22:54:06 +0000 (22:54 +0000)]
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

23 years agolcm.c (optimize_mode_switching): Check whether an insn is a NOTE before taking its...
Alexandre Oliva [Fri, 8 Dec 2000 22:28:57 +0000 (22:28 +0000)]
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

23 years agoFrom Phil Edwards:
Tom Tromey [Fri, 8 Dec 2000 22:27:09 +0000 (22:27 +0000)]
From Phil Edwards:

* configure: Rebuilt.
* configure.in: Use echo, not `:', to create .d files.

From-SVN: r38139

23 years agoacinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, true...
Phil Edwards [Fri, 8 Dec 2000 22:26:49 +0000 (22:26 +0000)]
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

23 years agoFix spelling typo
Nick Clifton [Fri, 8 Dec 2000 19:57:06 +0000 (19:57 +0000)]
Fix spelling typo

From-SVN: r38137

23 years agolibffi closures for Alpha
Richard Henderson [Fri, 8 Dec 2000 19:41:15 +0000 (19:41 +0000)]
libffi closures for Alpha

From-SVN: r38136

23 years agoAdd pool ranges to load_indirect_jump pattern
Nick Clifton [Fri, 8 Dec 2000 19:36:32 +0000 (19:36 +0000)]
Add pool ranges to load_indirect_jump pattern

From-SVN: r38135

23 years agoAdd support for interrupt function attribute
Nick Clifton [Fri, 8 Dec 2000 19:25:33 +0000 (19:25 +0000)]
Add support for interrupt function attribute

From-SVN: r38134

23 years ago* tradcpp.c (do_include): Make pointer differences 64-bit clean.
Brad Lucier [Fri, 8 Dec 2000 18:42:13 +0000 (18:42 +0000)]
* tradcpp.c (do_include): Make pointer differences 64-bit clean.

From-SVN: r38133

23 years agoStringBuffer.java (insert(int,char[])): Avoid NullPointerException so proper check...
Warren Levy [Fri, 8 Dec 2000 13:08:36 +0000 (13:08 +0000)]
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

23 years agoFileInputStream.java (close): Check if the fd is valid.
Warren Levy [Fri, 8 Dec 2000 10:28:32 +0000 (10:28 +0000)]
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

23 years agofp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies.
J"orn Rennecke [Fri, 8 Dec 2000 09:14:03 +0000 (09:14 +0000)]
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

23 years agoDaily bump.
Jeff Law [Fri, 8 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38129

23 years agoMakefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ctanhl...
Gabriel Dos Reis [Fri, 8 Dec 2000 05:57:48 +0000 (05:57 +0000)]
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

23 years agoacinclude.m4: Don't forget to remove check for cpowl as it is no longer needed...
Gabriel Dos Reis [Fri, 8 Dec 2000 03:43:22 +0000 (03:43 +0000)]
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

23 years ago* Makefile.in (local-distclean): Remove leftover built files.
Mike Stump [Fri, 8 Dec 2000 03:35:16 +0000 (03:35 +0000)]
* Makefile.in (local-distclean): Remove leftover built files.

From-SVN: r38126

23 years ago* Makefile.in (distclean): Remove alloca.c hashtab.c.
Mike Stump [Fri, 8 Dec 2000 03:02:46 +0000 (03:02 +0000)]
* Makefile.in (distclean): Remove alloca.c hashtab.c.

From-SVN: r38125

23 years agosafe-ctype.h: New file.
Zack Weinberg [Fri, 8 Dec 2000 03:00:26 +0000 (03:00 +0000)]
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

23 years ago* g++.old-deja/g++.other/eh3.C: New testcase.
Geoffrey Keating [Fri, 8 Dec 2000 01:37:13 +0000 (01:37 +0000)]
* g++.old-deja/g++.other/eh3.C: New testcase.

From-SVN: r38123

23 years agoc-decl.c (grokdeclarator): preserve previous alignments when rebuilding array types.
DJ Delorie [Fri, 8 Dec 2000 01:10:40 +0000 (20:10 -0500)]
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

23 years agowtr-aggr-init-1.c, [...]: Update.
Neil Booth [Thu, 7 Dec 2000 23:21:09 +0000 (23:21 +0000)]
wtr-aggr-init-1.c, [...]: Update.

        * gcc.dg/wtr-aggr-init-1.c, wtr-escape-1.c, wtr-int-type-1.c,
        wtr-label-1.c, wtr-static-1.c, wtr-strcat-1.c, wtr-suffix-1.c,
        wtr-switch-1.c, wtr-unary-plus-1.c, wtr-union-init-1.c
        wtr-union-init-2.c, wtr-union-init-3.c: Update.
        * gcc.dg/cpp/extratokens.c, tr-warn4.c, tr-warn5.c, tr-warn6.c:
        Update.

From-SVN: r38121

23 years agocppfiles.c (struct include_file): Move from cpphash.h.
Neil Booth [Thu, 7 Dec 2000 23:17:56 +0000 (23:17 +0000)]
cppfiles.c (struct include_file): Move from cpphash.h.

        * cppfiles.c (struct include_file): Move from cpphash.h.
        (_cpp_never_reread): New function.
        (open_file, read_include_file): Use it.
        (stack_include_file): Set the buffer's sysp according to the
        path in which the file was found.
        (find_include_file): Don't set sysp.
        (cpp_make_system_header, actual_directory): Update.
        (_cpp_execute_include): Do #include_next lookup handling here,
        not in cpplib.c.  Use _cpp_never_reread.
        * cpphash.h (struct_include_file): Remove.
        (struct cpp_buffer): New member sysp.
        (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
        (_cpp_never_reread): New.
        * cpplib.c (read_line_number): Rename read_flag.  Rework slightly.
        (end_directive): Clear line_extension flag.
        (_cpp_handle_directive): Set line_extension flag for #number.
        (do_include_next): Handle path lookup in _cpp_execute_include.
        (do_line): Cleanup to use read_flag.  Don't allow flags in #line.
        (_cpp_do_file_change): Update.
        (do_pragma_once): Use cpp_never_reread.  Clean up.
        * cpplib.h (struct lexer_state): New member line_extension.

From-SVN: r38120

23 years agoformat-nonlit-1.c, [...]: Use __SIZE_TYPE__ instead of int for type of integers cast...
Joseph Myers [Thu, 7 Dec 2000 23:03:21 +0000 (23:03 +0000)]
format-nonlit-1.c, [...]: Use __SIZE_TYPE__ instead of int for type of integers cast to pointers.

* gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: Use
__SIZE_TYPE__ instead of int for type of integers cast to
pointers.

From-SVN: r38119

23 years agoFix typo.
Mike Stump [Thu, 7 Dec 2000 22:36:56 +0000 (22:36 +0000)]
Fix typo.

From-SVN: r38118

23 years agotexi2pod.pl: If multiple @c man sections with the same tag appear...
Zack Weinberg [Thu, 7 Dec 2000 22:11:12 +0000 (22:11 +0000)]
texi2pod.pl: If multiple @c man sections with the same tag appear...

* texi2pod.pl: If multiple @c man sections with the same tag
appear, concatenate them in the final output.  When skipping,
ignore block commands that can't cause skipping, and honor
those that can.  Ensure that verbatim blocks are separate
paragraphs.

From-SVN: r38117

23 years ago* Makefile.in (distclean): When cleaning, remove testsuite.
Mike Stump [Thu, 7 Dec 2000 22:04:07 +0000 (22:04 +0000)]
* Makefile.in (distclean): When cleaning, remove testsuite.

From-SVN: r38116

23 years agoctype_base.h (ctype_base): Change space mask.
Benjamin Kosnik [Thu, 7 Dec 2000 20:49:10 +0000 (20:49 +0000)]
ctype_base.h (ctype_base): Change space mask.

2000-12-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.

* config/os/generic/bits/ctype_noninline.h (ctype): Remove default
arguments in definition.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.

* include/bits/locale_facets.h: Tweak.

From-SVN: r38115

23 years agoflow.c (calculate_global_regs_live): Force the stack pointer live after reload as...
Richard Henderson [Thu, 7 Dec 2000 19:29:24 +0000 (11:29 -0800)]
flow.c (calculate_global_regs_live): Force the stack pointer live after reload as well.

        * flow.c (calculate_global_regs_live): Force the stack pointer live
        after reload as well.

From-SVN: r38114

23 years agouse "exeext" for variables and "build_exeext" for substitution
Bruce Korb [Thu, 7 Dec 2000 14:42:39 +0000 (14:42 +0000)]
use "exeext" for variables and "build_exeext" for substitution

From-SVN: r38113

23 years agoclass.c (check_field_decls): Don't special case anonymous fields in error messages.
Nathan Sidwell [Thu, 7 Dec 2000 14:26:37 +0000 (14:26 +0000)]
class.c (check_field_decls): Don't special case anonymous fields in error messages.

* class.c (check_field_decls): Don't special case anonymous
fields in error messages.
(note_name_declared_in_class): Use %D on diagnostic.

* tree.c (pod_type_p): Use strip_array_types.
(cp_valid_lang_attribute): Likewise.
* typeck.c (cp_type_quals): Strip arrays separately, to avoid
multiple evaluations.
(cp_has_mutable_p): Use strip_array_types.

From-SVN: r38112

23 years agocp-tree.h (sufficient_parms_p): Declare new function.
Nathan Sidwell [Thu, 7 Dec 2000 14:17:53 +0000 (14:17 +0000)]
cp-tree.h (sufficient_parms_p): Declare new function.

* cp-tree.h (sufficient_parms_p): Declare new function.
* call.c (sufficient_parms_p): New function, broken out of ...
(add_function_candidate): ... here. Use it.
(add_conv_candidate): Use it.
* decl.c (grok_ctor_properties): Use it.

From-SVN: r38111

23 years agooptimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.
Jakub Jelinek [Thu, 7 Dec 2000 09:19:10 +0000 (10:19 +0100)]
optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.

* optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.

* g++.old-deja/g++.other/cleanup4.C: New test.

From-SVN: r38110

23 years agoDaily bump.
Jeff Law [Thu, 7 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38109

23 years ago* gcc_update: Don't touch tradcif.c or java/parse.h.
Joseph Myers [Thu, 7 Dec 2000 08:13:13 +0000 (08:13 +0000)]
* gcc_update: Don't touch tradcif.c or java/parse.h.

From-SVN: r38108

23 years ago* Changelog: Forgotten commit.
Neil Booth [Thu, 7 Dec 2000 08:03:07 +0000 (08:03 +0000)]
* Changelog: Forgotten commit.

From-SVN: r38107

23 years agoc-common.c (warn_format_security): New variable.
Joseph Myers [Thu, 7 Dec 2000 07:56:44 +0000 (07:56 +0000)]
c-common.c (warn_format_security): New variable.

* c-common.c (warn_format_security): New variable.
(check_format_info): Warn about non-literal formats with no format
arguments if either -Wformat-nonliteral or -Wformat-security is
specified.
(set_Wformat): Set warn_format_security for settings other than 1.
* c-common.h (warn_format_security): Declare.
* c-decl.c (c_decode_option): Decode -Wformat-security and
-Wno-format-security.
* invoke.texi: Document -Wformat-security.
* toplev.c (documented_lang_options): Include -Wformat-security
and -Wno-format-security.

cp:
* decl2.c (lang_decode_option): Handle -Wformat-security.

testsuite:
* format-sec-1.c: New test.

From-SVN: r38106

23 years agoc-common.c (check_format_info): Warn for non-constant format strings with strftime...
Joseph Myers [Thu, 7 Dec 2000 07:52:20 +0000 (07:52 +0000)]
c-common.c (check_format_info): Warn for non-constant format strings with strftime formats if -Wformat-nonliteral.

* c-common.c (check_format_info): Warn for non-constant format
strings with strftime formats if -Wformat-nonliteral.  Where the
format can convert arguments, if the format is not a string
literal and there are no arguments to the format, give a different
warning message from the general non-string-literal case.

testsuite:
* gcc.dg/format-nonlit-3.c: New test.

From-SVN: r38105

23 years agoc-common.c (format_wanted_type): Add reading_from_flag.
Joseph Myers [Thu, 7 Dec 2000 07:40:45 +0000 (07:40 +0000)]
c-common.c (format_wanted_type): Add reading_from_flag.

* c-common.c (format_wanted_type): Add reading_from_flag.
(print_char_table): Mark %s and %S formats with flag "R".
(check_format_info_main): Set up reading_from_flag appropriately.
If aflag, always set writing_in_flag rather than relying on the
format used being a scanf format and so having it set.
(check_format_types): Check for formats reading through null
pointers.

testsuite:
* gcc.dg/c90-printf-1.c: Add test for printf formats reading
through a null pointer.

From-SVN: r38104

23 years agoinvoke.texi (-Wformat): Document what format features are checked.
Joseph Myers [Thu, 7 Dec 2000 07:38:13 +0000 (07:38 +0000)]
invoke.texi (-Wformat): Document what format features are checked.

* invoke.texi (-Wformat): Document what format features are
checked.

From-SVN: r38103

23 years agopt.c (verify_class_unification): New function.
Kriang Lerdsuwanakij [Thu, 7 Dec 2000 07:17:09 +0000 (07:17 +0000)]
pt.c (verify_class_unification): New function.

* pt.c (verify_class_unification): New function.
(get_class_bindings): Use it.
(try_class_unification): Tidy.
(unify): Handle when argument of a template-id is not
template parameter dependent.
(template_args_equal): Handle when TREE_CODE's do not match.

* g++.old-deja/g++.oliva/partspec1.C: Remove XFAIL.
* g++.old-deja/g++.pt/partial4.C: New test.

From-SVN: r38102

23 years agoc-common.c (parse_in): Make a cpp_reader *.
Neil Booth [Thu, 7 Dec 2000 07:14:42 +0000 (07:14 +0000)]
c-common.c (parse_in): Make a cpp_reader *.

        * c-common.c (parse_in): Make a cpp_reader *.
        * cppfiles.c (_cpp_fake_include): Remove.
        * cpphash.h: Similarly.
        * cpplib.c (do_line): Don't call _cpp_fake_include.  A valid
        #line always creates a callback; FC_RENAME if there are no
        #line flags.
        * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
        The first EOF must be our get_char buffer.

From-SVN: r38101

23 years agolocale_facets.h (ctype): Remove _Ctype_nois and _Ctype and replace with common __ctyp...
Benjamin Kosnik [Thu, 7 Dec 2000 06:44:49 +0000 (06:44 +0000)]
locale_facets.h (ctype): Remove _Ctype_nois and _Ctype and replace with common __ctype_abstract_base.

2000-12-06  Benjamin Kosnik  <bkoz@kredhat.com>

* include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
_Ctype and replace with common __ctype_abstract_base.
(ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
* config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
And here.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/generic/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* src/locale-inst.cc: Clean instantiations.
* src/locale.cc (ctype<char>): Add definitions here.
(ctype<wchar_t>::_M_wmask): Move definitions here.

* config/os/generic/bits/ctype_inline.h (ctype<char>::is):
Implement in a generic way, with only "C" functionality and no
knowlege of the target os.
* config/os/generic/bits/os_defines.h: Change comments to C++ style.
* testsuite/22_locale/ctype_char_members.cc (test01): Add tests.

* include/bits/codecvt.h (ctype_byname): Remove specializations,
as not required.
* include/bits/localefwd.h (codecvt_byname): And here.
* src/codecvt.cc: Remove codecvt_byname specializations.

* include/c/bits/std_cstdio.h: Include c++config.h.

From-SVN: r38100

23 years ago* config/h8300/h8300.h: Fix formatting.
Kazu Hirata [Thu, 7 Dec 2000 03:14:30 +0000 (03:14 +0000)]
* config/h8300/h8300.h: Fix formatting.

From-SVN: r38095

23 years agoconfig.gcc (a29k*-*-rtems*, [...]): New targets.
Joel Sherrill [Thu, 7 Dec 2000 02:42:02 +0000 (02:42 +0000)]
config.gcc (a29k*-*-rtems*, [...]): New targets.

        * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
        h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
        * config.gcc (*-rtems*): Add support for gthr-rtems.h.
        * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
        config/h8300/rtems.h, config/mips/rtems.h: New files.

From-SVN: r38094

23 years agoconfig.gcc: Reorganize handling of *-*-gnu*, to share target specific make details...
Mark Kettenis [Thu, 7 Dec 2000 02:35:41 +0000 (02:35 +0000)]
config.gcc: Reorganize handling of *-*-gnu*, to share target specific make details with Linux.

* config.gcc: Reorganize handling of *-*-gnu*, to share target
specific make details with Linux.  Update comments to clarify
        the distinction between GNU/Linux and GNU/Hurd.

From-SVN: r38093

23 years agoc-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
Rodney Brown [Thu, 7 Dec 2000 02:31:47 +0000 (02:31 +0000)]
c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.

    * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
    * collect2.c (scan_libraries): Remove unused `ch'.
    (COFF specific stuff): Prototype ldgetname.  Declare and prototype
    ldbtread and ldclose.

From-SVN: r38092

23 years agocontrib.texi: Fix my email address.
Jeffrey A Law [Thu, 7 Dec 2000 02:26:59 +0000 (02:26 +0000)]
contrib.texi: Fix my email address.

        * contrib.texi: Fix my email address.  Update Per's
        list of contributions.

From-SVN: r38091

23 years ago* gcc.c-torture/execute/ieee/hugeval.x: New.
J. David Anglin [Thu, 7 Dec 2000 02:05:33 +0000 (02:05 +0000)]
* gcc.c-torture/execute/ieee/hugeval.x: New.

From-SVN: r38090

23 years agoForgot to commit with last change.
Jeff Law [Thu, 7 Dec 2000 02:01:22 +0000 (19:01 -0700)]
Forgot to commit with last change.

From-SVN: r38089

23 years agoosf.h: Standarize copyright statement.
Rodney Brown [Thu, 7 Dec 2000 01:58:25 +0000 (01:58 +0000)]
osf.h: Standarize copyright statement.

* config/alpha/osf.h: Standarize copyright statement.
* config/arc/arc.h: Likewise.
* config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
* config/arm/arm.c config/arm/arm.h: Likewise.
* config/elxsi/elxsi.h: Likewise.
* config/i386/sco.h: Likewise.
* config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
* config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
* config/m68k/sun3.h: Likewise.
* config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
* config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/sparc/sysv4.h: Likewise.
* config/we32k/we32k.c config/we32k/we32k.h: Likewise.
* fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
* cpplib.h cppexp.c cselib.h profile.c: Likewise.
* longlong.h: Likewise.
* libgcc2.c: Likewise.

From-SVN: r38088

23 years agoactions.h: Standarize copyright statement.
Rodney Brown [Thu, 7 Dec 2000 01:55:52 +0000 (01:55 +0000)]
actions.h: Standarize copyright statement.

        * actions.h: Standarize copyright statement.
        * except.c inout.c lang.c lex.c lex.h loop.c nloop.c: Likewise.
        * parse.c tasking.c tasking.h timing.c xtypeck.c: Likewise.

From-SVN: r38087

23 years ago* getopt.h obstack.h: Standarize copyright statement.
Rodney Brown [Thu, 7 Dec 2000 01:54:13 +0000 (01:54 +0000)]
* getopt.h obstack.h: Standarize copyright statement.

From-SVN: r38086

23 years agomachmode.def: Use correct definition for BITSIZE on targets where BITS_PER_UNIT ...
Jeff Law [Thu, 7 Dec 2000 01:47:31 +0000 (18:47 -0700)]
machmode.def: Use correct definition for BITSIZE on targets where BITS_PER_UNIT != 8.

* machmode.def: Use correct definition for BITSIZE on targets where
BITS_PER_UNIT != 8.

From-SVN: r38085

23 years ago* thr-rtems.c: New file. Stub to compile.
Ralf Corsepius [Thu, 7 Dec 2000 01:40:42 +0000 (01:40 +0000)]
* thr-rtems.c: New file. Stub to compile.

From-SVN: r38084

23 years agoMake the fixinc/Makefile.* files more similar
Bruce Korb [Thu, 7 Dec 2000 01:32:11 +0000 (01:32 +0000)]
Make the fixinc/Makefile.* files more similar

From-SVN: r38083

23 years agopa.c: Include expr.h before c-tree.h.
J. David Anglin [Thu, 7 Dec 2000 01:06:47 +0000 (01:06 +0000)]
pa.c: Include expr.h before c-tree.h.

        * pa.c: Include expr.h before c-tree.h.
        (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
        instead of reverse_condition.
        (print_operand): Correct predicates for GT, GE, LT and LE.  Add
        predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
        ORDERED.
        (cmpib_comparison_operator): Add GEU and LTU codes.
        * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
        * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
        bordered): New float conditional branch patterns.

From-SVN: r38082

23 years agoGridBagConstraints.java: Filled in values for static final fields.
Tom Tromey [Thu, 7 Dec 2000 00:46:13 +0000 (00:46 +0000)]
GridBagConstraints.java: Filled in values for static final fields.

* java/awt/GridBagConstraints.java: Filled in values for static
final fields.

From-SVN: r38081

23 years ago* final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
J"orn Rennecke [Thu, 7 Dec 2000 00:13:23 +0000 (00:13 +0000)]
* final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.

From-SVN: r38080

23 years agoacinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result...
Phil Edwards [Wed, 6 Dec 2000 21:44:50 +0000 (21:44 +0000)]
acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result is present.

2000-12-06  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*):  Pre-test
  whether the cached result is present.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.
* Makefile.in:  Regenerate.
* libio/Makefile.in:  Regenerate.
* libmath/Makefile.in:  Regenerate.
* libsupc++/Makefile.in:  Regenerate.
* src/Makefile.in:  Regenerate.

From-SVN: r38079

23 years ago* java/util/BitSet.java: Updated copyright notice.
Tom Tromey [Wed, 6 Dec 2000 21:26:32 +0000 (21:26 +0000)]
* java/util/BitSet.java: Updated copyright notice.

From-SVN: r38078

23 years agoRemoved erroneous ChangeLog line
Tom Tromey [Wed, 6 Dec 2000 21:23:00 +0000 (21:23 +0000)]
Removed erroneous ChangeLog line

From-SVN: r38077

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 6 Dec 2000 21:22:23 +0000 (21:22 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/awt/GridBagConstraints.java: New file.

From-SVN: r38076

23 years agoCollator.java (decomposeCharacter, [...]): Now package-private, not protected.
Tom Tromey [Wed, 6 Dec 2000 21:14:14 +0000 (21:14 +0000)]
Collator.java (decomposeCharacter, [...]): Now package-private, not protected.

* java/text/Collator.java (decomposeCharacter, decmp, strength):
Now package-private, not protected.
* java/text/DateFormatSymbols.java (equals): Now private.
* java/text/DecimalFormatSymbols.java (safeGetChar): Now private.
* java/util/BitSet.java: Class no longer final.
* java/util/Set.java (toArray(Object[])): New method.

From-SVN: r38075

23 years agoconfigure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir.
Richard Earnshaw [Wed, 6 Dec 2000 21:04:19 +0000 (21:04 +0000)]
configure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir.

* configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
os_include_dir.

From-SVN: r38074

23 years ago* gcc.dg/cpp/backslash2.c
Neil Booth [Wed, 6 Dec 2000 20:14:32 +0000 (20:14 +0000)]
* gcc.dg/cpp/backslash2.c

From-SVN: r38073

23 years agocpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline...
Sylvain Pion [Wed, 6 Dec 2000 20:12:59 +0000 (21:12 +0100)]
cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline, when inside a comment.

        * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
        backslash and newline, when inside a comment.

From-SVN: r38072

23 years agoparse.y (end_artificial_method_body): Fixed typo.
Alexandre Petit-Bianco [Wed, 6 Dec 2000 20:02:02 +0000 (20:02 +0000)]
parse.y (end_artificial_method_body): Fixed typo.

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

        * parse.y (end_artificial_method_body): Fixed typo.

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

From-SVN: r38071

23 years ago[multiple changes]
Alexandre Petit-Bianco [Wed, 6 Dec 2000 18:55:42 +0000 (10:55 -0800)]
[multiple changes]

2000-10-18  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (OP1): Update `last_bc'.
        (struct jcf_block): Fixed indentation and typo in comments.  New
        field `last_bc'.
        (generate_bytecode_insns): Insert `nop' if `jsr' immediately
        follows `monitorenter'.
        * parse.y (patch_synchronized_statement): New local `tmp'. Call
        `patch_string'.
        Fixes gcj/232.

2000-10-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * check-init.c (check_init): Fixed leading comment. Use
        LOCAL_FINAL_P.
        * decl.c (push_jvm_slot): Use MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
        (give_name_to_locals): Likewise.
        (lang_mark_tree): Handle FIELD_DECL. Register `am' and `wfl'
        fields in lang_decl_var.
        * java-tree.h (DECL_FUNCTION_SYNTHETIC_CTOR,
        DECL_FUNCTION_ALL_FINAL_INITIALIZED): New macros.
        (FIELD_INNER_ACCESS): Removed ugly cast, macro rewritten.
        (FIELD_INNER_ACCESS_P, DECL_FIELD_FINAL_IUD, DECL_FIELD_FINAL_LIIC,
        DECL_FIELD_FINAL_IERR, DECL_FIELD_FINAL_WFL): New macros.
        (LOCAL_FINAL): Rewritten.
        (LOCAL_FINAL_P, FINAL_VARIABLE_P, CLASS_FINAL_VARIABLE_P
        MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): New macros.
        (struct lang_decl): Fixed comments. Added `synthetic_ctor' and
        `init_final' fields.
        (struct lang_decl_var): Fixed leading comment. Added `am', `wfl',
        `final_uid', `final_liic', `final_ierr' and `local_final' fields.
        (TYPE_HAS_FINAL_VARIABLE): New macro.
        (struct lang_type): Added `afv' field.
        * parse.y (check_static_final_variable_assignment_flag): New function.
        (reset_static_final_variable_assignment_flag): Likewise.
        (check_final_variable_local_assignment_flag): Likewise.
        (reset_final_variable_local_assignment_flag): Likewise.
        (check_final_variable_indirect_assignment): Likewise.
        (check_final_variable_global_assignment_flag): Likewise.
        (add_inner_class_fields): Use LOCAL_FINAL_P.
        (register_fields): Handle local finals and final variables.
        (craft_constructor): Set DECL_FUNCTION_SYNTHETIC_CTOR.
        (declare_local_variables): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
        (source_start_java_method): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC
        on local finals.
        (java_complete_expand_methods): Loop to set
        TYPE_HAS_FINAL_VARIABLE. Call
        `reset_final_variable_local_assignment_flag' and
        `check_final_variable_local_assignment_flag' accordingly before
        and after constructor expansion. Call
        `reset_static_final_variable_assignment_flag'
        before expanding <clinit> and after call
        `check_static_final_variable_assignment_flag' if the
        current_class isn't an interface. After all methods have been
        expanded, call `check_final_variable_global_assignment_flag' and
        `check_static_final_variable_assignment_flag' if the current class
        is an interface.
        (maybe_yank_clinit): Fixed typo in comment.
        (build_outer_field_access_methods): Removed old sanity check. Use
        FIELD_INNER_ACCESS_P. Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
        Don't create access methods for finals.
        (resolve_field_access): Use `CLASS_FINAL_VARIABLE_P'.
        (java_complete_tree): Likewise. Reset DECL_FIELD_FINAL_IUD if
        existing DECL_INIT has been processed.
        (java_complete_lhs): Likewise.
        (check_final_assignment): Filter input on `lvalue''s TREE_CODE.
        Test for COMPONENT_REF to get to the FIELD_DECL. Implemented new
        logic.
        (patch_assignment): Use LOCAL_FINAL_P.
        (fold_constant_for_init): Reset DECL_FIELD_FINAL_IUD if
        DECL_INITIAL is nullified.
        Fixes gcj/163.

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

        * parse.y (pop_current_osb): New function.
        (array_type:): Use `dims:', changed actions
        accordingly. Suggested by Anthony Green.
        (array_creation_expression:): Used pop_current_osb.
        (cast_expression:): Likewise.
        (search_applicable_method_list): Fixed indentation.

2000-10-08  Anthony Green  <green@redhat.com>

        * parse.y (array_type_literal): Remove production.
        (type_literals): Refer to array_type, not array_type_literal.

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

From-SVN: r38070

23 years agoinvoke.texi: Use @table @samp instead of @itemize @minus for table of language standards.
Joseph Myers [Wed, 6 Dec 2000 18:50:49 +0000 (18:50 +0000)]
invoke.texi: Use @table @samp instead of @itemize @minus for table of language standards.

* invoke.texi: Use @table @samp instead of @itemize @minus for
table of language standards.  Fix use of @pxref.  From Zack
Weinberg.  Also exclude specs documentation from generated
manpage, and create separate ENVIRONMENT section.

From-SVN: r38069

23 years agogcse.c (compute_pre_data): Kill trapping expressions in destination blocks of abnorma...
Michael Matz [Wed, 6 Dec 2000 18:45:31 +0000 (18:45 +0000)]
gcse.c (compute_pre_data): Kill trapping expressions in destination blocks of abnormal edges.

        * gcse.c (compute_pre_data): Kill trapping expressions in
        destination blocks of abnormal edges.

From-SVN: r38068

23 years agolang-specs.h (c++): When invoking the stand-alone preprocessor for -save-temps...
Alexandre Oliva [Wed, 6 Dec 2000 17:19:32 +0000 (17:19 +0000)]
lang-specs.h (c++): When invoking the stand-alone preprocessor for -save-temps...

* lang-specs.h (c++): When invoking the stand-alone preprocessor
for -save-temps, pass all relevant -Defines to it, and then don't
pass them to cc1plus.

From-SVN: r38067

23 years agoRebuilt again, something went wrong last time
Alexandre Oliva [Wed, 6 Dec 2000 17:16:32 +0000 (17:16 +0000)]
Rebuilt again, something went wrong last time

From-SVN: r38066

23 years agostdio-opt-1.c: Add more checks.
Kaveh R. Ghazi [Wed, 6 Dec 2000 13:05:28 +0000 (13:05 +0000)]
stdio-opt-1.c: Add more checks.

* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks.
* testsuite/gcc.c-torture/execute/stdio-opt-2.c: New test.

From-SVN: r38065

23 years agoDaily bump.
Jeff Law [Wed, 6 Dec 2000 08:45:14 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38064

23 years agoRegenerate to pick up libtool fix. Per Alexandre Oliva.
Robert Lipe [Wed, 6 Dec 2000 04:06:15 +0000 (04:06 +0000)]
Regenerate to pick up libtool fix.   Per Alexandre Oliva.

From-SVN: r38063

23 years agomn10300.c (mn10300_print_reg_list): Added.
Richard Sandiford [Wed, 6 Dec 2000 03:56:43 +0000 (03:56 +0000)]
mn10300.c (mn10300_print_reg_list): Added.

2000-12-05  Richard Sandiford  <r.sandiford@redhat.com>

* config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
(mn10300_get_live_callee_saved_regs): Likewise.
(mn10300_gen_multiple_store): Likewise.
(store_multiple_operation): Likewise.
(expand_prologue): Use mn10300_gen_multiple_store().
* config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
(mn10300_get_live_callee_saved_regs): Likewise.
(mn10300_gen_multiple_store): Likewise.
(store_multiple_operation): Likewise.
* config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
tied to store_multiple_operation().

From-SVN: r38062