This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36376] -cpp -save-temps passes unknown options to f951
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2008 08:30:30 -0000
- Subject: [Bug fortran/36376] -cpp -save-temps passes unknown options to f951
- References: <bug-36376-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dfranke at gcc dot gnu dot org 2008-06-07 08:30 -------
There are two ways to solve this:
(1) move "-fpch-preprocess" from gcc.c(cpp_options) into, say, cpp_c_options
and add cpp_c_options everywhere where cpp_options are used but fortran
(2) duplicate gcc.c(cpp_options) into fortran/lang-specs.h but omit
"-fpch-preprocess"
Which solution would be preferable?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36376