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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-15 
09:40:40 UTC ---
Missed some parts. Better patch - still completely untested (not even built). A
shorter version would be "%{!E:%{!M*:", which is also completely untested.

--- a/gcc/fortran/lang-specs.h
+++ b/gcc/fortran/lang-specs.h
@@ -56,3 +56,4 @@
           %{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},
 {".F90", "@f95-cpp-input", 0, 0, 0},
@@ -70,3 +71,4 @@
          %{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},

Reply via email to