aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/Make-lang.in
AgeCommit message (Collapse)AuthorFilesLines
2003-03-20Makefile.in (STRICT2_WARN): Add @WERROR@.Loren J. Rittle1-1/+1
* Makefile.in (STRICT2_WARN): Add @WERROR@. (GCC_WARN_CFLAGS): Remove $(WERROR). (fixinc.sh-warn): New. * ada/Make-lang.in (ada-warn): Add $(WERROR). * cp/Make-lang.in (cp-warn): Add $(WERROR). * f/Make-lang.in (f-warn): Add $(WERROR). * java/Make-lang.in (java-warn): Add $(WERROR). * treelang/Make-lang.in (treelang-warn): Add $(WERROR). From-SVN: r64606
2003-03-04* Make-lang.in (f77.tags): New target.Tom Tromey1-0/+3
From-SVN: r63804
2003-01-21Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn...Kaveh R. Ghazi1-0/+2
gcc: * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn, insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn, c-parse.o-warn): Add -Wno-error. (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@". * configure.in (--enable-werror): Add new flag. * doc/install.texi (--enable-werror): Document. * configure: Regenerate. * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error. cp: Make-lang.in (cp/decl.o-warn): Add -Wno-error. f: Make-lang.in (f/sta.o-warn): Add -Wno-error. java: Make-lang.in (jvspec.o-warn): Add -Wno-error. From-SVN: r61544
2003-01-16Make-lang.in (f/target.o): Depend on toplev.h.Kaveh R. Ghazi1-1/+1
f: * Make-lang.in (f/target.o): Depend on toplev.h. * target.c: Include toplev.h. java: * Make-lang.in (java/jcf-parse.o): Depend on $(TM_P_H). * jcf-parse.c: Include tm_p.h. gcc: * ra-colorize.c (colorize_one_web): Initialize variable. * regmove.c (fixup_match_1): Likewise. * reload1.c (reload_as_needed): Likewise. * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast. From-SVN: r61394
2003-01-09Make-lang.in (f77.install-common, [...]): Prepend $(DESTDIR) to destination ↵Christian Cornelssen1-24/+24
paths in all (un)installation commands. 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> * Make-lang.in (f77.install-common, f77.install-info, f77.install-man, f77.uninstall): Prepend $(DESTDIR) to destination paths in all (un)installation commands. From-SVN: r61077
2003-01-01Make-lang.in ($(srcdir)/f/BUGS): Add include path for gcc-common.texi.Andreas Jaeger1-3/+3
* f/Make-lang.in ($(srcdir)/f/BUGS): Add include path for gcc-common.texi. ($(srcdir)/f/NEWS): Likewise. From-SVN: r60748
2002-12-23gcc-common.texi: Define DEVELOPMENT.Joseph Myers1-2/+4
* doc/include/gcc-common.texi: Define DEVELOPMENT. ada: * gnat_rm.texi: Include gcc-common.texi. Use GCC version number only. * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info, $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info, $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info, ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi, ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on $(srcdir)/doc/include/gcc-common.texi. f: * root.texi: Include gcc-common.texi. * bugs.texi, news.texi: Don't include root.texi as part of full manual. * g77.texi: Update for use of gcc-common.texi. * Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Depend on $(srcdir)/doc/include/gcc-common.texi. java: * gcj.texi: Include gcc-common.texi. * Make-lang.in ($(srcdir)/java/gcj.info, java/gcj.dvi): Depend on $(srcdir)/doc/include/gcc-common.texi. treelang: * treelang.texi: Include gcc-common.texi. * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi): Depend on gcc-common.texi. Add other missing dependencies. (treelang.dvi): Use texi2dvi. From-SVN: r60446
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg1-49/+58
From-SVN: r60174
2002-09-24update_version: Do not check in files which are unchanged.Zack Weinberg1-12/+7
maintainer-scripts: * update_version: Do not check in files which are unchanged. * gcc_release: Only update the version in gcc/version.c. gcc: * version.c (version_string): Now const char[]. * version.h: Update to match. gcc/ada: * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o. * Makefile.in (TOOLS_LIBS): Add ../../version.o. * gnatvsn.ads: Gnat_Version_String is now a function. * gnatvsn.adb: New file. When asked for Gnat_Version_String, copy the C version_string into a String and return it. * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb, gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb: Remove pragma Ident (Gnat_Version_String). If this was the sole use of package Gnatvsn, remove the with statement too. * gnat1drv.adb: Tweak -gnatv output. gcc/f: * Make-lang.in (g77spec.o): Don't depend on f/version.h. (f/parse.o): Depend on version.h not f/version.h. (g77version.o, f/version.o): Delete all references. * com.c (ffecom_init_0): Fix transposed array indices in bsearch test. * g77spec.c: Don't include f/version.h or refer to ffe_version_string. * parse.c: Use version_string, not ffe_version_string. * version.c, version.h: Delete files. libf2c: * libF77/Version.c: Rename junk to __LIBF77_VERSION__. Add external decls for __LIBI77_VERSION__ and __LIBU77_VERSION__. Delete __G77_LIBF77_VERSION__ (g77__fvers__): Print all three __LIB*77_VERSION__ strings, and __VERSION__ if we have it; nothing else. * libI77/Version.c: Provide only __LIBI77_VERSION__ (formerly junk). * libU77/Version.c: Provide only __LIBU77_VERSION__ (formerly junk). From-SVN: r57461
2002-08-22where.h (struct _ffewhere_file_): Mark GTY.Hans-Peter Nilsson1-3/+3
* where.h (struct _ffewhere_file_): Mark GTY. (ffewhere_file_kill): Remove prototype. * where.c: Include ggc.h. (struct _ffewhere_ll_, struct _ffewhere_root_ll_): Mark GTY. (ffewhere_root_ll_): Ditto. Change type from struct _ffewhere_root_ll_ to struct _ffewhere_root_ll_*. All uses changed. (ffewhere_file_kill): Remove. (ffewhere_file_new): Use GC to allocate ffewhereFile objects. (ffewhere_file_set): Use GC to allocate ffewhereLL_ objects. (ffewhere_init_1): Use GC to allocate ffewhere_root_ll_ sentinel. Include gt-f-where.h. * lex.c (ffelex_current_wf_, ffelex_include_wherefile_): Mark GTY. Include gt-f-lex.h. * std.c (ffestd_S3P4): Don't call ffewhere_file_kill. * config-lang.in (gtfiles): Add f/where.h f/where.c and f/lex.c. * Make-lang.in (gt-f-lex.h gt-f-where.h): Add to dependents of s-gtype. (f/lex.o): Depend on gt-f-lex.h. (f/where.o): Depend on gt-f-where.h. From-SVN: r56502
2002-08-08configure.in (enable_coverage): New enable switch.Nathan Sidwell1-0/+1
* configure.in (enable_coverage): New enable switch. * configure: Rebuilt. * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables. (INTERNAL_CFLAGS): Append COVERAGE_FLAGS. (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS. (mostlyclean): Remove coverage files. * doc/install.texi: Document enable_coverage. * cp/Make-lang.in (c++.mostlyclean): Remove coverage files. * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. * f/Make-lang.in (f.mostlyclean): Remove coverage files. * java/Make-lang.in (java.mostlyclean): Remove coverage files. * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files. From-SVN: r56126
2002-06-05toplev.h (report_error_function): Remove.Gabriel Dos Reis1-1/+2
* toplev.h (report_error_function): Remove. * diagnostic.h (location_t): New datatype. (text_info): Likewise. (diagnostic_info): Likewise. (output_prefix): New macro. (diagnostic_last_function_changed): Likewise. (diagnostic_set_last_function): Likewise. (diagnostic_last_module_changed): Likewise. (diagnostic_set_last_module): Likewise. (report_diagnostic): Now macro. (diagnostic_set_info): Declare. * diagnostic.c (report_problematic_module): Rename to diagnostic_repor_current_module. (set_diagnostic_context): Remove. (count_error): Rename to diagnostic_error_count. (error_function_changed): Remove. (record_last_error_function): Likewise. (error_module_changed): Likewise. (record_last_error_module): Likewise. (context_as_prefix): Rename to diagnostic_build_prefix. (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer. (diagnostic_set_info): New function. * objc/objc-act.c: #include diagnostic.h (error_with_ivar): Adjust call to count_error. (warn_with_method): Likewise. * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h cp/ 2002-06-04 Gabriel Dos Reis <gdr@codesourcery.com> * error.c (cp_diagnostic_starter): Adjust call. (maybe_print_instantiation_context): Change prototype to take a 'diagnostic_info *'. (print_instantiation_full_context): Likewise. (print_instantiation_partial_context): Likewise. (cp_diagnostic_starter): Likewise. (cp_diagnostic_finalizer): Likewise. (cp_print_error_function): Likewise. (cp_printer): Take a secondary parameter as a 'text_info *'. Remove output_state savings. Adjust calls. f/ 2002-06-04 Gabriel Dos Reis <gdr@codesourcery.com> * bad.c (ffebad_start_): Adjust call to count_error. * Make-lang.in (f/bad.o): Depend on diagnostic.h * bad.c: #include diagnostic.h From-SVN: r54291
2002-06-04Merge from pch-branch up to tag pch-commit-20020603.Geoffrey Keating1-2/+5
From-SVN: r54232
2002-05-28tree.h: Forward-declare struct realvaluetype.Zack Weinberg1-4/+4
* tree.h: Forward-declare struct realvaluetype. (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not contain it. (TREE_REAL_CST_PTR): New accessor. (TREE_REAL_CST): Update. * real.h: Include machmode.h. (realvaluetype): Make it struct realvaluetype, not a typedef. (build_real): Prototype here. * tree.c: Include real.h. (build_real): Allocate the REAL_VALUE_TYPE as a separate object in GC memory, set TREE_REAL_CST_PTR to point to it. (build_real_from_int_cst): Use build_real. * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a REAL_CST. * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c, fold-const.c, print-tree.c, real.c, cp/mangle.c, cp/tree.c, f/bld.c, f/com.c, f/expr.c, f/target.c, java/decl.c, java/jcf-parse.c, java/parse.y, java/typeck.c: Include real.h. * Makefile.in, cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in: Update dependency lists. From-SVN: r53959
2002-05-16Makefile.in: Allow for PWDCMD to override hardcoded pwd.Rainer Orth1-1/+1
* Makefile.in: Allow for PWDCMD to override hardcoded pwd. * config-ml.in: Likewise. * configure: Likewise. * configure.in: Likewise. boehm-gc: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Regenerate. * configure: Regenerate. config: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. contrib: * test_installed: Allow for PWDCMD to override hardcoded pwd. * test_summary: Likewise. gcc: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * fixinc/check.tpl: Likewise. * fixinc/fixinc.dgux: Likewise. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/fixincl.sh: Likewise. * fixproto: Likewise. * configure: Regenerate. gcc/ada: * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. * Makefile.in: Likewise. gcc/f: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/java: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/po: * exgettext: Allow for PWDCMD to override hardcoded pwd. gcc/treelang: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. libf2c: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Likewise. * configure: Regenerate. libjava: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. libstdc++-v3: * Makefile.am: Allow for PWDCMD to override hardcoded pwd. * acinclude.m4: Likewise. * docs/html/Makefile: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. zlib: * configure.in: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. * ChangeLog: Move entries to ChangeLog.gcj. From-SVN: r53523
2002-04-08Make-lang.in (f/target.o): Depend on diagnostic.h.Hans-Peter Nilsson1-2/+2
* Make-lang.in (f/target.o): Depend on diagnostic.h. * target.c: Include diagnostic.h. (ffetarget_memcpy_): Call sorry if host and target endians are not matching. From-SVN: r52043
2002-01-23bad.c: Include intl.h.Zack Weinberg1-2/+2
* bad.c: Include intl.h. (FFEBAD_MSGS1, FFEBAD_MSGS2): Replace by FFEBAD_MSG, SHORT, LONG. Adjust definitions to work with exgettext. (ffebad_start_): Translate all error messages. (ffebad_finish): Mark constant strings for translation. * bad.h: Use FFEBAD_MSG. Adjust prototype of ffebad_start_ and definitions of ffebad_start_msg, ffebad_start_msg_lex to work with exgettext. * bad.def: Use FFEBAD_MSG, SHORT, LONG throughout. * com.c: Include intl.h. (lang_print_error_function): Always use ffeinfo_kind_message to get the kind label for a non-nested construct. Translate it. Translate constant strings. * info.c (FFEINFO_KIND): Adjust definition to work with exgettext. * info-k.def: Block xgettext from slurping copyright notice into gcc.pot. Adjust strings for their sole use, in com.c. * Make-lang.in (f/bad.o, f/com.o): Depend on intl.h. From-SVN: r49123
2001-12-16Make-lang.in (f/version.o): Depend on f/version.h.Kaveh R. Ghazi1-1/+1
* Make-lang.in (f/version.o): Depend on f/version.h. * version.c: Include ansidecl.h and f/version.h. From-SVN: r48069
2001-12-01configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, ↵Kaveh R. Ghazi1-10/+3
strrchr, isascii, gettimeofday. * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday. * config.in, configure: Regenerate. f: * Make-lang.in: Delete references to proj.[co], proj-h.[co]. * proj.c: Delete file. From-SVN: r47501
2001-11-30Purge cruft now we have build libiberty.Zack Weinberg1-4/+4
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR, HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR, USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT, USE_HOST_STRSTR): Delete variables. (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o, hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o, $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules. (LIBIBERTY, BUILD_LIBIBERTY): New variables. (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY). (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY). (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY). (HOST_LIBS): Ditto. (HOST_RTL): Remove hashtab.o safe-ctype.o. (OBJS): Remove splay-tree.o. (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a. (distclean): No need to delete splay-tree.c obstack.c hashtab.c safe-ctype.c. (mostlyclean): Delete build copies of print-rtl.c bitmap.c errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1). * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR): Delete. * configure.in: Don't use them. Set and substitute @FORBUILD@. * config.in, configure: Regenerate. * doprint.c: Move to libiberty/_doprnt.c. * doc/configterms.texi: Document that libiberty is now built up to three times. Fix typo. * f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS) and link with $(HOST_LIBS), not safe-ctype.o. From-SVN: r47475
2001-11-29configure.in (target_list): Add generated-manpages.Joseph Myers1-11/+8
* configure.in (target_list): Add generated-manpages. * configure: Regenerate. * Makefile.in (generated-manpages): Depend on lang.generated-manpages. * objc/Make-lang.in (objc.generated-manpages): New dummy target. ada: * Make-lang.in (ada.generated-manpages): New dummy target. ch: * Make-lang.in (CHILL.generated-manpages): New dummy target. cp: * Make-lang.in (c++.generated-manpages): New dummy target. f: * Make-lang.in (f77.generated-manpages): New target. ($(srcdir)/f/g77.1): Don't check $(GENERATED_MANPAGES). Allow manpage generation to fail. (f77.info): Don't depend on $(srcdir)/f/g77.1. (f77.install-man): Depend on $(GENERATED_MANPAGES) rather than directly on $(srcdir)/g77.1. java: * Make-lang.in (java.generated-manpages): New dummy target. From-SVN: r47442
2001-11-20* Make-lang.in: Complete ``Build g77.1 in $(srcdir)''.Loren J. Rittle1-1/+1
From-SVN: r47198
2001-11-20Index: f/ChangeLogGeoffrey Keating1-2/+4
* g77spec.c (lang_specific_driver) [ENABLE_SHARED_LIBGCC]: Add libgcc_s.so if libf2c is used. * Make-lang.in (g77spec.o): Use DRIVER_DEFINES. Index: testsuite/ChangeLog * lib/g77.exp: Don't specify --rpath-link. From-SVN: r47195
2001-11-18Make-lang.in: Remove all references to LANGUAGES and the stamp files that ↵Toon Moene1-107/+38
depend on its value. 2001-11-18 Toon Moene <toon@moene.indiv.nluug.nl> * Make-lang.in: Remove all references to LANGUAGES and the stamp files that depend on its value. From-SVN: r47152
2001-11-14texi2pod.pl: Handle @ifnottex, @iftex and @display.Joseph Myers1-8/+8
contrib: * texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var in verbatim blocks specially. Handle @unnumbered, @unnumberedsec and @center. Allow [a-z] after @enumerate. Handle 0 and numbers greater than 9 in enumerations. gcc: * Makefile.in (POD2MAN): Don't include --section=1. (manext): Rename to man1ext. All users changed. (man7ext): New. (man7dir): New. (generated-manpages): Also depend on $(docdir)/gfdl.7, $(docdir)/gpl.7, and $(docdir)/fsf-funding.7. ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include --section=1 in calls to $(POD2MAN). ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New. (maintainer-clean, install, uninstall): Handle the new man pages. ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi. (installdirs): Create man7dir. * doc/cpp.texi: Include GFDL in this manual. In the man page, refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/invoke.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/include/fdl.texi, doc/include/funding.texi, doc/include/gpl.texi: Adjust for conversion by texi2pod.pl. * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7. gcc/cp: * Make-lang.in: Change all uses of $(manext) to $(man1ext). gcc/f: * Make-lang.in: Change all uses of $(manext) to $(man1ext). From-SVN: r46998
2001-11-14g77.1: Remove from CVS.Toon Moene1-9/+7
2001-11-14 Toon Moene <toon@moene.indiv.nluug.nl> * g77.1: Remove from CVS. * Make-lang.in: Build g77.1 in $(srcdir). Add --section=1 to POD2MAN command line. * invoke.texi: Correct copyright years. Add more sections to man page. Add GFDL. From-SVN: r46996
2001-11-08configure.in: Add AC_ARG_PROGRAM to support program name transformation with ↵Andreas Franck1-2/+2
--program-prefix... * configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix, --program-suffix and --program-transform-name. * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME, PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME, GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME, PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. (GCC_TARGET_INSTALL_NAME): Define. (install-driver): Use the transformed target alias name. * Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME, DEMANGLER_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. (GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define. (c++.install-common): Use the transformed target alias names. * Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. * Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle program_transform_name the way suggested by autoconf. (java.install-common): Also transform auxiliary program names with program_transform_name. From-SVN: r46856
2001-11-08Make-lang.in: Add rules for building g77.1.Toon Moene1-4/+23
2001-11-08 Toon Moene <toon@moene.indiv.nluug.nl> * Make-lang.in: Add rules for building g77.1. * invoke.texi: Add man page stuff. Move indexing from g77.texi to here. * g77.texi: Remove indexing specific to invoke.texi. * news.texi: Document that g77.1 is now a generated file. From-SVN: r46840
2001-11-06Clean up langhooksNeil Booth1-1/+1
* alias.c:: Include langhooks.h. * emit-rtl.c: Similarly. * toplev.c: Similarly. * tree-inline.c: Similarly. * langhooks-def.h: New, the old langhooks.h. Give the default hooks a common prefix. * langhooks.h: Contents extracted from toplev.h. * toplev.h: Move langhook stuff to langhooks.h. * langhooks.c: Give default hooks a common prefix. * c-lang.c: Include langhooks-def.h. * ada/misc.c: Similarly. * cp/cp-lang.c: Similarly. * f/com.c: Similarly. * java/lang.c: Similarly. * objc/objc-act.c: Similarly. * Makefile.in: Update. * ada/Makefile.in: Similarly. * cp/Make-lang.in: Similarly. * f/Make-lang.in: Similarly. * java/Make-lang.in: Similarly. * objc/Make-lang.in: Similarly. From-SVN: r46813
2001-11-04g77.texi: Split off invoke.texi (preliminary to using it to generate a man ↵Toon Moene1-2/+2
page). 2001-11-04 Toon Moene <toon@moene.indiv.nluug.nl> * g77.texi: Split off invoke.texi (preliminary to using it to generate a man page). * Make-lang.in: Reflect in build rules. From-SVN: r46775
2001-10-22* Make-lang.in (f/intdoc): Depend on safe-ctype.o.Zack Weinberg1-2/+3
From-SVN: r46410
2001-10-17Makefile.in (misc.o): Depend on langhooks.h.Richard Henderson1-1/+2
ada/ * Makefile.in (misc.o): Depend on langhooks.h. * misc.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. (LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. f/ * Make-lang.in (f/com.o): Depend on langhooks.h. * com.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New. (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. java/ * Make-lang.in (java/lang.o): Depend on langhooks.h. From-SVN: r46318
2001-10-03Make-lang.in: Remove reference to FORTRAN_INIT.Toon Moene1-1/+0
2001-10-03 Toon Moene <toon@moene.indiv.nluug.nl> gcc/f/ * Make-lang.in: Remove reference to FORTRAN_INIT. * g77spec.c: Add reference to FORTRAN_INIT. libf2c/ * Makefile.in: Add "AR" reference, change from frtbegin.o to libfrtbegin.a. * libF77/Makefile.in: Ditto. From-SVN: r45985
2001-09-30Make libf2c a shared library (gcc/f directory).Juergen Pfeifer1-0/+1
2001-09-29 Juergen Pfeifer <juergen.pfeifer@gmx.net> Make libf2c a shared library (gcc/f directory). * Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c. * g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o. 2001-09-29 Juergen Pfeifer <juergen.pfeifer@gmx.net> Toon Moene <toon@moene.indiv.nluug.nl> Make libf2c a shared library (libf2c directory). * aclocal.m4: Get definition of libtool. * Makefile.in: Use libtool. * configure.in: Use libtool. * configure: Regenerated. * libF77/Makefile.in: Use libtool; treat main program contained in libF77/main.c specially. * libF77/configure.in: Use libtool. * libF77/configure: Regenerated. * libI77/Makefile.in: Use libtool. * libI77/configure.in: Use libtool. * libI77/configure: Regenerated. * libU77/Makefile.in: Use libtool. * libU77/configure.in: Use libtool. * libU77/configure: Regenerated. * libU77/date_.c: Adapt for -fPIC compiling. * libU77/vxtidate_.c: Ditto. From-SVN: r45913
2001-07-11Makefile.in (c-lex.o): Wrap long lines.Neil Booth1-1/+1
* Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h. * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug hooks directly. * dbxout.c (dbx_debug_hooks): Add new hooks. (dbxout_start_new_source_file): Rename dbxout_start_source_file, make static. (dbxout_resume_previous_source_file): Rename dbxout_end_source_file, make static. * dbxout.h (dbxout_start_new_source_file, dbxout_resume_previous_source_file): Delete. * debug.c (do_nothing_debug_hooks): Add new hooks. (debug_nothing_init_finish): Rename debug_nothing_file_charstar. (debug_nothing_int_charstar, debug_nothing_int): New. * debug.h (gcc_debug_hooks): New hooks define, undef, start_source_file and end_source_file. (debug_nothing_init_finish): Rename debug_nothing_file_charstar. (debug_nothing_int_charstar, debug_nothing_int): New. * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. (dwarf2out_start_source_file, dwarf2out_end_source_file, dwarf2out_define, dwarf2out_undef): Make static. * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file, dwarf2out_define, dwarf2out_undef): Remove. * dwarfout.c (dwarf_debug_hooks): Add new hooks. (dwarfout_start_source_file, dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Make static. (dwarfout_start_source_file_check, dwarfout_end_source_file_check): New. (dwarfout_define, dwarfout_finish): Update. * dwarfout.h (dwarfout_start_new_source_file, dwarfout_resume_previous_source_file, dwarfout_define, dwarfout_undef): Remove. * sdbout.c (sdb_debug_hooks): Add new hooks. (sdbout_start_new_source_file): Rename sdbout_start_source_file, make static. (sdbout_resume_previous_source_file): Rename sdbout_end_source_file, make static, take an arg. * sdbout.h (sdbout_start_new_source_file, sdbout_resume_previous_source_file): Delete. * toplev.c (debug_start_source_file, debug_end_source_file, debug_define, debug_undef): Delete. * toplev.h (debug_start_source_file, debug_end_source_file, debug_define, debug_undef): Delete. * java/jcf-parse.c: Include debug.h. (parse_class_file): Update to use debug hooks directly. * java/Make-lang.in (jcf-parse.o): Depend on debug.h. From-SVN: r43952
2001-07-04include: New directory.Joseph Myers1-4/+8
* doc/include: New directory. * doc/fdl.texi: Move to doc/include/fdl.texi. * doc/texinfo.tex: Move to doc/include/texinfo.tex. * doc/include/funding.texi, doc/include/gpl.texi: New files. * doc/gcc.texi: Use funding.texi and gpl.texi. * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info, $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi): Update dependencies and use -I $(docdir)/include. f: * g77.texi: Use gpl.texi and funding.texi. Remove Look and Feel section. Add Funding Free Software to invariant sections. * Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Update dependencies and use doc/include in search path. java: * gcj.texi: Use gpl.texi. * Make-lang.in ($(srcdir)/java/gcj.info, java/gcj.dvi): Update dependencies and use doc/include in search path. From-SVN: r43757
2001-06-28diagnostic.c (default_print_error_function): Tweak.Gabriel Dos Reis1-1/+1
* diagnostic.c (default_print_error_function): Tweak. (report_error_function): Likewise. * toplev.h (default_print_error_function): Move to... * diagnostic.h: ...here. Add a `diagnostic_context *' parameter. * tree.h (print_error_function): Move to... * diagnostic.h: ...here. Add a `diagnostic_context *' parameter. ch/ * lang.c: #include diagnostic.h (chill_print_error_function): Add a dummy `diagnostic_context *'. * Makefile.in (lang.o): Depend on diagnostic.h cp/ * error.c (lang_print_error_function): Add a `diagnostic_context *' parameter. Tweak. f/ * Make-lang.in (f/com.o): Depend on diagnostic.h * com.c: #include diagnostic.h (lang_print_error_function): Take a 'diagnostic_context *'. java/ * lang.c: #include diagnostic.h (lang_print_error): Add a `diagnostic_context *' parameter. (java_dummy_print): Likewise. * Make-lang.in (JAVA_LEX_C): Depend on diagnostic.h From-SVN: r43638
2001-06-10g77install.texi: Remove.Toon Moene1-2/+2
2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl> * g77install.texi: Remove. * Make-lang.in: Remove all mention of g77install.texi. * g77.texi: Add documentation on how to get output always flushed and how to increase the maximum unit number. Remove all mention of g77install.texi. * bugs.texi: Add documentation on how to change the threshold for putting local arrays on the stack. From-SVN: r43139
2001-06-01c-tree.texi, [...]: Move to doc subdirectory.DJ Delorie1-4/+4
* c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi, extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi, objc.texi, rtl.texi, tm.texi, texinfo.tex: Move to doc subdirectory. * install.texi: Move to doc/install-old.texi. * gcc.texi: Move to doc, refer to install-old.texi. * Makefile.in: Reflect move of docs to doc/. * f/Make-lang.in: Ditto. * java/Make-lang.in: Ditto. * doc/.cvsignore: New. From-SVN: r42779
2001-05-27Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi.Theodore Papadopoulo1-14/+8
* Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi. (f/g77.dvi): Use TEXI2DVI instead of custom tex calls. Create the dvi file in the f directory. From-SVN: r42659
2001-05-20re PR other/567 ("make dvi" fails)Joseph Myers1-2/+2
ch: * Make-lang.in (chill.dvi): Remove bogus dependencies. Don't cd to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS. Don't move chill.dvi after creating it. Fixes PR other/567 and PR other/1018. f: * Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS. From-SVN: r42345
2001-05-19Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes.Toon Moene1-1/+1
2001-05-19 Toon Moene <toon@moene.indiv.nluug.nl> * Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes. * g77.texi: Use the GFDL. From-SVN: r42313
2001-05-13Makefile.in (STAMP): New macro.Mark Mitchell1-9/+15
* Makefile.in (STAMP): New macro. Replace all uses of `touch' with $(STAMP). * fixinc/Makefile.in: Likewise. * Make-lang.in: Replace all uses of `touch' with $(STAMP). * Makefile.in.in (STAMP): New macro. Replace all uses of `touch' with $(STAMP). From-SVN: r42041
2001-03-27Makefile.in (SYSTEM_H): Define.Kaveh R. Ghazi1-41/+41
* Makefile.in (SYSTEM_H): Define. Depend on $(SYSTEM_H), not system.h. * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h. cp: * Make-lang.in: Depend on $(SYSTEM_H), not system.h. f: * Make-lang.in: Depend on $(SYSTEM_H), not system.h. java: * Make-lang.in: Depend on $(SYSTEM_H), not system.h. From-SVN: r40883
2001-01-28configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.Kaveh R. Ghazi1-2/+2
* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h. * Makefile.in: Remove all dependencies on defaults.h. * builtins.c: Don't include defaults.h. * c-common.c: Likewise. * c-decl.c: Likewise. * c-pragma.c: Likewise. * c-typeck.c: Likewise. * combine.c: Likewise. * i386.c: Likewise. * frame-ia64.c: Likewise. * cppexp.c: Likewise. * crtstuff.c: Likewise. * dbxout.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * final.c: Likewise. * frame-dwarf2.c: Likewise. * libgcc2.c: Likewise. * optabs.c: Likewise. * profile.c: Likewise. * sdbout.c: Likewise. * toplev.c: Likewise. * tradcif.y: Likewise. * tree.c: Likewise. * varasm.c: Likewise. ch: * Makefile.in: Remove all dependencies on defaults.h. * decl.c: Don't include defaults.h. * timing.c: Likewise. cp: * Make-lang.in: Remove all dependencies on defaults.h. * call.c: Don't include defaults.h. * decl.c: Likewise. * decl2.c: Likewise. * except.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. f: * Make-lang.in: Remove all dependencies on defaults.h. * com.c: Don't include defaults.h. java: * Make-lang.in: Remove all dependencies on defaults.h. * decl.c: Don't include defaults.h. * expr.c: Likewise. * parse.y: Likewise. From-SVN: r39308
2000-12-08configure.in: Don't define INSTALL_INFO.Joseph Myers1-6/+6
* 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-08safe-ctype.h: New file.Zack Weinberg1-2/+2
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-11-23gcc toplevel:J"orn Rennecke1-1/+2
* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE. (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE. (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise. (splay-tree.o, hash.o): Likewise. GCONFIG_H: New. (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H). (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise. (hashtab.o): Likewise. (gcov.o): Depend on $(CONFIG_H). * configure.in: #include insn-codes.h in tm.h. f: * Make-lang.in (g77spec.o): Depend on $(CONFIG_H). java: * Make-lang.in (jvspec.o): Depend on $(CONFIG_H). cp: * Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H). From-SVN: r37680
2000-11-22* Make-lang.in: Add $(build_exeext) to f/fini targetDavid Billinghurst1-1/+1
From-SVN: r37656
2000-11-18Make-lang.in (INTDOC_DEPS): New macro.Alexandre Oliva1-3/+14
* Make-lang.in (INTDOC_DEPS): New macro. (f/intdoc.texi): Depend on $(INTDOC_DEPS). Build f/intdoc. (f/intdoc): Likewise. Add $(build_exeext). From-SVN: r37543