aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-12-09install.texi: remove i[345]86-*-winnt3.5 section.Laurynas Biveinis8-303/+104
* install.texi: remove i[345]86-*-winnt3.5 section. * configur.bat: removed. * config/msdos: directory removed. From-SVN: r38153
2000-12-09Update to Netlib version 20001205.Toon Moene10-18/+193
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-09lineflags.c: New tests.Neil Booth5-4/+51
* 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-09cppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.Neil Booth6-56/+72
* 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-09cvsignore: Add info files.Joseph Myers4-0/+12
* .cvsignore: Add info files. f: * .cvsignore: New file; add info files. From-SVN: r38149
2000-12-09Daily bump.Jeff Law5-5/+5
From-SVN: r38148
2000-12-09winnt: Remove obsolete directory.Laurynas Biveinis16-1730/+6
* config/winnt: Remove obsolete directory. * install.texi (Configurations): Remove obsolete documentation for Windows NT. From-SVN: r38147
2000-12-09Indentation fixAlexandre Oliva1-1/+1
From-SVN: r38146
2000-12-08fastjar: Imported.Alexandre Petit-Bianco32-0/+7361
2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * fastjar: Imported. From-SVN: r38145
2000-12-08Makefile.in (TARGET_CONFIGDIRS): Wrong place.Alexandre Petit-Bianco3-5/+6
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-08Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.Alexandre Petit-Bianco3-2/+23
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-08Add - before rms to be more portable.Mike Stump2-9/+9
From-SVN: r38142
2000-12-08configure.in: Don't define INSTALL_INFO.Joseph Myers9-1395/+2132
* 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-08lcm.c (optimize_mode_switching): Check whether an insn is a NOTE before ↵Alexandre Oliva2-1/+8
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-08From Phil Edwards:Tom Tromey3-282/+299
* configure: Rebuilt. * configure.in: Use echo, not `:', to create .d files. From-SVN: r38139
2000-12-08acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, ↵Phil Edwards8-1099/+1079
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-08Fix spelling typoNick Clifton1-2/+2
From-SVN: r38137
2000-12-08libffi closures for AlphaRichard Henderson4-159/+295
From-SVN: r38136
2000-12-08Add pool ranges to load_indirect_jump patternNick Clifton2-3/+7
From-SVN: r38135
2000-12-08Add support for interrupt function attributeNick Clifton5-447/+735
From-SVN: r38134
2000-12-08* tradcpp.c (do_include): Make pointer differences 64-bit clean.Brad Lucier2-2/+6
From-SVN: r38133
2000-12-08StringBuffer.java (insert(int,char[])): Avoid NullPointerException so proper ↵Warren Levy2-1/+8
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-08FileInputStream.java (close): Check if the fd is valid.Warren Levy5-8/+15
* 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-08fp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies.J"orn Rennecke2-8/+13
* fp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies. From-SVN: r38130
2000-12-08Daily bump.Jeff Law5-5/+5
From-SVN: r38129
2000-12-08Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ↵Gabriel Dos Reis33-2291/+176
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-08acinclude.m4: Don't forget to remove check for cpowl as it is no longer ↵Gabriel Dos Reis4-1037/+1033
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* Makefile.in (local-distclean): Remove leftover built files.Mike Stump2-0/+9
From-SVN: r38126
2000-12-08* Makefile.in (distclean): Remove alloca.c hashtab.c.Mike Stump2-1/+5
From-SVN: r38125
2000-12-08safe-ctype.h: New file.Zack Weinberg40-1574/+1641
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* g++.old-deja/g++.other/eh3.C: New testcase.Geoffrey Keating2-0/+36
From-SVN: r38123
2000-12-07c-decl.c (grokdeclarator): preserve previous alignments when rebuilding ↵DJ Delorie2-0/+7
array types. * c-decl.c (grokdeclarator): preserve previous alignments when rebuilding array types. From-SVN: r38122
2000-12-07wtr-aggr-init-1.c, [...]: Update.Neil Booth17-16/+25
* 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
2000-12-07cppfiles.c (struct include_file): Move from cpphash.h.Neil Booth5-95/+123
* 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
2000-12-07format-nonlit-1.c, [...]: Use __SIZE_TYPE__ instead of int for type of ↵Joseph Myers3-2/+8
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
2000-12-07Fix typo.Mike Stump1-1/+1
From-SVN: r38118
2000-12-07texi2pod.pl: If multiple @c man sections with the same tag appear...Zack Weinberg2-33/+53
* 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
2000-12-07* Makefile.in (distclean): When cleaning, remove testsuite.Mike Stump2-0/+5
From-SVN: r38116
2000-12-07ctype_base.h (ctype_base): Change space mask.Benjamin Kosnik13-37/+44
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
2000-12-07flow.c (calculate_global_regs_live): Force the stack pointer live after ↵Richard Henderson2-3/+8
reload as well. * flow.c (calculate_global_regs_live): Force the stack pointer live after reload as well. From-SVN: r38114
2000-12-07use "exeext" for variables and "build_exeext" for substitutionBruce Korb4-11/+16
From-SVN: r38113
2000-12-07class.c (check_field_decls): Don't special case anonymous fields in error ↵Nathan Sidwell4-21/+21
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
2000-12-07cp-tree.h (sufficient_parms_p): Declare new function.Nathan Sidwell4-21/+31
* 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
2000-12-07optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.Jakub Jelinek4-0/+43
* 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
2000-12-07Daily bump.Jeff Law5-5/+5
From-SVN: r38109
2000-12-07* gcc_update: Don't touch tradcif.c or java/parse.h.Joseph Myers2-2/+5
From-SVN: r38108
2000-12-07* Changelog: Forgotten commit.Neil Booth1-0/+11
From-SVN: r38107
2000-12-07c-common.c (warn_format_security): New variable.Joseph Myers10-6/+72
* 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
2000-12-07c-common.c (check_format_info): Warn for non-constant format strings with ↵Joseph Myers4-2/+51
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
2000-12-07c-common.c (format_wanted_type): Add reading_from_flag.Joseph Myers4-15/+54
* 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