[Patch, fortran] [1/22] Various minor fixups
Mikael Morin
mikael.morin@sfr.fr
Tue Oct 5 10:11:00 GMT 2010
2010-10-04 Mikael Morin <mikael@gcc.gnu.org>
* cpp.c (gfc_cpp_post_options): Don't create a cpp reader if
preprocessing is disabled.
-------------- next part --------------
diff --git a/cpp.c b/cpp.c
index 908c92a..c21d263 100644
--- a/cpp.c
+++ b/cpp.c
@@ -510,10 +510,10 @@ gfc_cpp_post_options (void)
|| gfc_cpp_option.dump_includes))
gfc_fatal_error("To enable preprocessing, use -cpp");
- cpp_in = cpp_create_reader (CLK_GNUC89, NULL, line_table);
if (!gfc_cpp_enabled ())
return;
+ cpp_in = cpp_create_reader (CLK_GNUC89, NULL, line_table);
gcc_assert (cpp_in);
/* The cpp_options-structure defines far more flags than those set here.
More information about the Fortran
mailing list