This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47486] gfortran -M exits with fatal error when -o option is used


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47486

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-15 09:33:45 UTC ---
Untested patch:

--- a/gcc/fortran/lang-specs.h
+++ b/gcc/fortran/lang-specs.h
@@ -68,7 +68,8 @@
 {"@f95",
     "f951 %i %{E:%{!cpp:%egfortran does not support -E without -cpp}}\
          %{cpp:" F951_CPP_OPTIONS ";:  " CPP_FORWARD_OPTIONS  "} \
-         %{!E:" F951_OPTIONS "}", 0, 0, 0},
+         %{!E:%{!M:%{!MM:%{!MT:%{!MQ:%{MD|MMD:" F951_OPTIONS "}}}}}}",
+          0, 0, 0},


 #undef CPP_ONLY_OPTIONS


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]