[patch, fortran] PR35156: deprecate -M

Daniel Franke franke.daniel@gmail.com
Fri Apr 25 09:28:00 GMT 2008


A very similar patch was already ok'ed [1], I just cleaned it up a bit. If 
there are no objections, I'll commit it on Tobias' behalf in 24 hours.


:ADDPATCH fortran:

2008-01-29  Tobias Burnus  <burnus@net-b.de>
	    Daniel Franke <franke.daniel@gmail.com>

        PR fortran/35156
        * gfortranspec.c (lang_specific_driver): Deprecate -M option;
        fix ICE when "-M" is last argument and make "-M<dir>" work.
        * options.c (gfc_handle_module_path_options): Use -J instead
        of -M in error messages.
        * invoke.texi: Mark -M as depecated.


Regression tested on i686-pc-linux-gnu.

Regards

	Daniel


[1] http://gcc.gnu.org/ml/fortran/2008-01/msg00366.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr35156.diff
Type: text/x-diff
Size: 2454 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080425/c8ab354d/attachment.bin>


More information about the Fortran mailing list