- 02 Jul, 2003 1 commit
-
-
* c-common.h (c_common_init_options): New prototype. * c-opts.c (deferred_size): Remove. (defer_opt): Array is now pre-allocated. (c_common_init_options): Pre-allocate deferred_opts. Make lang_flags unsigned. (push_command_line_options): Free deferred_opts. * hooks.c (hook_uint_uint_constcharptrptr_0): New. * hooks.h (hook_uint_uint_constcharptrptr_0): New. * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update. * langhooks.h (struct lang_hooks): New prototype for init_options. * main.c (main): Cast argv. * opts.c (handle_option, handle_options): Update prototypes. (decode_options): save_argc, save_argv are not global. Constify. * opts.h (decode_options): New prototype. * toplev.c (general_init): New protoype. (save_argv): Make static. (save_argc): Remove. (print_switch_values, general_init): Constify. (toplev_main): Save argv. * toplev.h (toplev_main): Update prototype. (save_argc, save_argv): Remove. ada: * misc.c (save_argc, save_argv): Make static. (gnat_init_options): New prototype. (gnat_init_options): Update. f: * top.c (ffe_init_options): Update prototype. * top.h (ffe_init_options): Update prototype. java: * lang.c (java_init_options): Update prototype. treelang: * tree1.c (treelang_init_options): Update prototype. * treelang.h (treelang_init_options): Update prototype. From-SVN: r68850
Neil Booth committed
-
- 14 Jun, 2003 1 commit
-
-
* Makefile.in: Update to use common.opt and lang_opt_files. (c-options.c, c-options.h): Remove. (options.c, options.h): Add. * c-opts.c: Include options.h not c-options.h. * common.opt: New file. * configure, configure.in: Add lang_opt_files. * opts.c: Include flags.h and diagnostic.h. (common_handle_option): New. (handle_option): Update to recognize common options and all language-dependent options. * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New. (struct cl_option): Make flags of type int. * opts.h: Flag option with front ends to which it applies. Handle duplicate options. * toplev.c (filename): Remove. (independent_decode_option): Don't handle filenames and -quiet. (process_options, do_compile): Update. ada: * Make-lang.in: Update to use options.c and options.h. * misc.c: Include options.h not aoptions.h. (gnat_handle_option): Abort on unrecognized switch. (gnat_init_options): Request Ada switches. cp: * Make-lang.in: Remove c-options.o. f: * Make-lang.in: Update to use options.c and options.h. * top.c: Include options.h not f-options.h. (gnat_handle_option): Abort on unrecognized switch. (ffe_init_options): From com.c. Request F77 options. (ffe_handle_options): Abort on unrecognized switch. * com.c (ffe_init_options): Move to top.c. * top.h (fee_init_options): New. java: * Make-lang.in: Update to use options.c and options.h. * lang.c: Include options.h not j-options.h. (java_handle_option): Abort on unrecognized option. (java_init_options): Request Java switches. treelang: * Make-lang.in: Update to use options.c and options.h. * tree1.c: Include options.h not t-options.h. (treelang_init_options): New. (treelang_handle_option): Abort on unrecognized switch. * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override. * treetree.h (treelang_init_options): New. From-SVN: r67941
Neil Booth committed
-
- 08 Jun, 2003 1 commit
-
-
* Make-lang.in (F77_OBJS, f77.mostlyclean, f/com.o): Update. (f/f-options.c, f/f-options.h): New. * com.c: Include opts.h and f-options.h. (ffecom_decode_include_option_): Remove. (LANG_HOOKS_HANDLE_OPTION): New. (LANG_HOOKS_DECODE_OPTION): Drop. (struct file_name_list, ffecom_decode_include_option, ffecom_open_include_): Constify. * com.h (ffecom_decode_include_option): Update. * lang.opt: New. * top.c: Include f-options.h, opts.h. (ffe_is_digit_string_): Constify. (ffe_decode_option): Transform to ffe_handle_option. * top.h (ffe_decode_option): Replace with ffe_handle_option. From-SVN: r67628
Neil Booth committed
-
- 09 Nov, 2001 1 commit
-
-
g77spec.c (lang_specific_driver): Adjust behavior of -v and --version for consistency with other front ends. * g77spec.c (lang_specific_driver): Adjust behavior of -v and --version for consistency with other front ends. Remove large #if 0 block. Do not add libraries to argv if there are no input files. (add_version_magic): Delete all references and dependent code. * lang-options.h: Delete -fnull-version. * lang-specs.h: Delete f77-version spec. * lex.c: Delete logic conditional on ffe_is_null_version() and now-unused label. * top.c: Delete ffe_is_null_version_ variable. (ffe_decode_option): Delete -fnull-version case. * top.h: Delete declaration of ffe_is_null_version_ and ffe_is_null_version(), ffe_set_is_null_version() macros. From-SVN: r46883
Zack Weinberg committed
-
- 26 May, 2001 1 commit
-
-
From-SVN: r42615
Richard Henderson committed
-
- 26 Feb, 2000 1 commit
-
-
From-SVN: r32182
Jeff Law committed
-
- 16 Oct, 1999 1 commit
-
-
* top.h (ffe_is_subscript_check_): Remove extern decl. (ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros. * top.c (ffe_is_subscript_check_): Remove global variable. (ffe_decode_option): Remove "(no-)bounds-check" flag handling. Set flag_bounds_check for "(no-)fortran-bounds-check". * com.c (ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/ (ffecom_char_args_x_): Ditto. From-SVN: r30037
Greg McGary committed
-
- 15 May, 1999 1 commit
-
-
From-SVN: r26948
Craig Burley committed
-
- 22 Apr, 1999 1 commit
-
-
From-SVN: r26592
Craig Burley committed
-
- 15 Feb, 1999 1 commit
-
-
From-SVN: r25221
Craig Burley committed
-
- 01 Feb, 1999 1 commit
-
-
1999-02-01 Zack Weinberg <zack@rabi.columbia.edu> * top.c: Don't define ffe_is_ident_. Don't process -f(no-)ident here. * top.h: Remove declaration of ffe_is_ident_ and macros ffe_is_ident() and ffe_set_is_ident(). * lex.c: Use flag_no_ident instead of ffe_is_ident(). From-SVN: r24957
Zack Weinberg committed
-
- 15 Jul, 1998 1 commit
-
-
Mon Jul 13 18:02:29 1998 Craig Burley <burley@gnu.org> Cleanups vis-a-vis g77-0.5.24: * g77spec.c (lang_specific_driver): Tabify source. * top.c (ffe_decode_option): Use fixed macro to set internal-checking flag. * top.h (ffe_set_is_do_internal_checks): Fix macro. From-SVN: r21177
Craig Burley committed
-
- 15 Jun, 1998 1 commit
-
-
Thu May 28 21:32:18 1998 Craig Burley <burley@gnu.org> Restore circa-0.5.22 capabilities of `g77' driver: * Make-lang.in (g77spec.o): Depend on f/version.h. (g77version.o): New rule to compile g77 version info. (g77$(exeext)): Depend on and link in g77version.o. * g77spec.c: Rewrite to be more like 0.5.22 version of g77.c, making filtering of command line smarter so mixed Fortran and C (etc.) can be compiled, verbose version info can be obtained, etc. * lang-specs.h (f77-version): New "language" to support "g77 -v" command under new gcc 2.8 regime. * lex.c (ffelex_file_fixed): If -fnull-version, just substitute a "source file" that prints out version info. * top.c, top.h: Support -fnull-version. * lang-specs.h: Use "%O" instead of OO macro to specify object extension. Remove old stringizing cruft. * Make-lang.in (g77.c, g77spec.o, g77.o, g77$(exeext), g77-cross$(exeext), f771, $(srcdir)/f/g77.info, $(srcdir)/f/g77.dvi, $(srcdir)/f/intdoc.texi, f77.install-common, f77.install-info, f77.install-man, f77.uninstall, $(G77STAGESTUFF), f77.stage1, f77.stage2, f77.stage3, f77.stage4, f77.distdir): Don't do anything unless user specified "f77" or "F77" in $LANGUAGES either during configuration or explicitly. For convenience of various tests and to work around lack of the assignment "LANGUAGES=$(BOOT_LANGUAGES)" in the "make stage1" command of "make bootstrap" in gcc, use a touch file named "lang-f77" to communicate whether this is the case. * Make-lang.in (F77_FLAGS_TO_PASS): Delete this macro, replace with minimal expansion of its former self in each of the two instances where it was used. * Makefile.in (HOST_CC): Delete this definition. * com.c (index, rindex): Delete these declarations. * proj.h: (isascii): Delete this. * Make-lang.in (f77.install-common): Warn if `f77-install-ok' flag-file exists, since it no longer triggers any activity. Rename libf2c.a and f2c.h to libg2c.a and g2c.h, normalize and simplify g77/libg2c build process: * Make-lang.in: Remove all support for overwriting /usr/bin/f77 etc., or whatever the actual names are via $(prefix) and $(local_prefix). (g++ overwrites /usr/bin/c++, but then it's often the only C++ compiler on the system; f77 often exists on systems that are installing g77.) (f77.realclean): Remove obsolete target. (g77.c, g77$(exeext)): Minor changes to look more like g++'s stuff. (f771): Now built with srcdir=gcc/f, not srcdir=gcc, to be more like g++ and such. (f/Makefile): Removed, as g++ doesn't need this rule. (f77.install-common): No longer install f77, etc. (f77.install-man): No longer install f77.1. (f77.uninstall): No longer uninstall f77, f77.1, etc. (f77.stage1, f77.stage2, f77.stage3, f77.stage4): Do work only if "f77" appears in $(LANGUAGES). (Note: gcc's Makefile.in's bootstrap target should set LANGUAGES=$(BOOT_LANGUAGES) when making the stage1 target.) * Makefile.in: Update vis-a-vis gcc/cp/Makefile.in. (none): Remove. (g77-only): Relocate. (all.indirect, f771, *.o): Now assumes current directory is this dir (gcc/f), not the parent directory. (TAGS): Remove "echo 'parse.y,0' >> TAGS ;" line. * config-lang.in: Delete commented-out code. Fix stagestuff definition. Add more stuff to diff_excludes definition. Don't create any directories. Set outputs to f/Makefile, to get variable substition to happen (what does that really do, anyway?!). * g77spec.c: Rename libf2c to libg2c. * com.h: Remove all of the gcc back-end decls, since egcs should have all of them correct. * com.c: Include "proj.h" before anything else, as that's how things are supposed to work. * ste.c: Ditto. * bad.c: Include "flags.j" here, since some diagnostics check flag_pedantic_errors. * Makefile.in (f/*.o): Rebuild dependencies via deps-kinda. * output.j: New source file. * Make-lang.in (F77_SRCS): Update accordingly. * Makefile.in (OUTPUT_H): Ditto. (deps-kinda): Ditto. * com.c: Include "output.j" here. * lex.c: Ditto. From-SVN: r20506
Craig Burley committed
-
- 10 Jun, 1998 1 commit
-
-
Wed Jun 10 13:17:32 1998 Dave Brolley <brolley@cygnus.com> * top.h (ffe_decode_option): New argc/argv interface. * top.c (ffe_decode_option): New argc/argv interface. * parse.c (yyparse): New argc/argv interface for ffe_decode_option. * com.c (lang_decode_option): New argc/argv interface. From-SVN: r20409
Dave Brolley committed
-
- 19 May, 1998 1 commit
-
-
From-SVN: r19876
Dave Love committed
-
- 12 Aug, 1997 1 commit
-
-
From-SVN: r14772
Jeff Law committed
-