[patch, fortran] Remove undocumented -fno-backend option.

Brooks Moses brooks.moses@codesourcery.com
Fri Nov 10 03:50:00 GMT 2006


This is another "simplicity is better" patch.  The -fno-backend option 
appears to be essentially a duplicate of -fsyntax-only, except that it 
still calls the linker, thereby producing an error about lack of a main 
program.  Also, it's undocumented; I'm guessing it's just a vestige of 
debugging during early g95 development.  The following patch removes it.

Regression-tested on i686-pc-linux-gnu.  Ok for trunk?

--------------------------------------------------------------------
2006-10-09  Brooks Moses  <brooks.moses@codesourcery.com>

	* lang.opt: Remove -fno-backend option.
	* gfortran.h (gfc_option_t): Remove flag_no_backend.
	* options.c (gfc_init_options): Remove flag_no_backend.
	(gfc_handle_option): Remove -fno-backend option handler.
	* parse.c (gfc_parse_file): Remove references to
	gfc_option.flag_no_backend.

--------------------------------------------------------------------

- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-backend.diff
Type: text/x-patch
Size: 2006 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061110/8aa00d6a/attachment.bin>


More information about the Fortran mailing list