public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36376]  New: -cpp -save-temps passes unknown options to f951
@ 2008-05-29 18:37 dfranke at gcc dot gnu dot org
  2008-06-07  8:31 ` [Bug fortran/36376] " dfranke at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-05-29 18:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/ml/fortran/2008-05/msg00354.html, issue 1:

When I compile a .F90 file with -save-temps, I get:
f951: warning: command line option "-fpch-preprocess" is valid for
C/C++/ObjC/ObjC++ but not for Fortran


-- 
           Summary: -cpp -save-temps passes unknown options to f951
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: dfranke at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/36376] -cpp -save-temps passes unknown options to f951
  2008-05-29 18:37 [Bug fortran/36376] New: -cpp -save-temps passes unknown options to f951 dfranke at gcc dot gnu dot org
@ 2008-06-07  8:31 ` dfranke at gcc dot gnu dot org
  2008-12-09 19:55 ` dfranke at gcc dot gnu dot org
  2008-12-09 19:58 ` dfranke at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-06-07  8:31 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/36376] -cpp -save-temps passes unknown options to f951
  2008-05-29 18:37 [Bug fortran/36376] New: -cpp -save-temps passes unknown options to f951 dfranke at gcc dot gnu dot org
  2008-06-07  8:31 ` [Bug fortran/36376] " dfranke at gcc dot gnu dot org
@ 2008-12-09 19:55 ` dfranke at gcc dot gnu dot org
  2008-12-09 19:58 ` dfranke at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-12-09 19:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dfranke at gcc dot gnu dot org  2008-12-09 19:54 -------
Subject: Bug 36376

Author: dfranke
Date: Tue Dec  9 19:53:02 2008
New Revision: 142608

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142608
Log:
2008-12-09  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/36376
        PR fortran/37468
        * lang-specs.h: Pass on -i* options to f951 to (probably) report
        them as unknown. Duplicate gcc.c (cpp_options), but omit
        -fpch-preprocess on -save-temps.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/lang-specs.h


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/36376] -cpp -save-temps passes unknown options to f951
  2008-05-29 18:37 [Bug fortran/36376] New: -cpp -save-temps passes unknown options to f951 dfranke at gcc dot gnu dot org
  2008-06-07  8:31 ` [Bug fortran/36376] " dfranke at gcc dot gnu dot org
  2008-12-09 19:55 ` dfranke at gcc dot gnu dot org
@ 2008-12-09 19:58 ` dfranke at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-12-09 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dfranke at gcc dot gnu dot org  2008-12-09 19:55 -------
Fixed in trunk. Closing.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-09 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-29 18:37 [Bug fortran/36376] New: -cpp -save-temps passes unknown options to f951 dfranke at gcc dot gnu dot org
2008-06-07  8:31 ` [Bug fortran/36376] " dfranke at gcc dot gnu dot org
2008-12-09 19:55 ` dfranke at gcc dot gnu dot org
2008-12-09 19:58 ` dfranke at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).