public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23862] New: Select Fortran source form appropriately for "-pipe"
@ 2005-09-13 16:05 macro at linux-mips dot org
  2005-09-13 16:06 ` [Bug fortran/23862] " macro at linux-mips dot org
  2005-09-13 20:03 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 6+ messages in thread
From: macro at linux-mips dot org @ 2005-09-13 16:05 UTC (permalink / raw)
  To: gcc-bugs

When "-pipe" is used for .F90 and .F95 sources this warning is produced:

Warning: Reading file '<stdin>' as free form.

The reason is the compiler cannot deduce the form from the file name 
suffix as in this case it's only known to the preprocessor.

 Here is an obvious patch following the approach used for .F/.fpp/.FPP and 
.f/.for/.FOR files.

2005-08-22  Maciej W. Rozycki  <macro@linux-mips.org>

	* fortran/lang-specs.h: Pass "-ffree-form" by default for Fortran 
	90 sources.

 Tested successfully in a native bootstrap for "i386-linux-gnu" for GCC
4.0.1.  Inspection of sources shows it is needed for HEAD as well.

-- 
           Summary: Select Fortran source form appropriately for "-pipe"
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: macro at linux-mips dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/23862] Select Fortran source form appropriately for "-pipe"
  2005-09-13 16:05 [Bug fortran/23862] New: Select Fortran source form appropriately for "-pipe" macro at linux-mips dot org
@ 2005-09-13 16:06 ` macro at linux-mips dot org
  2005-09-13 20:03 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: macro at linux-mips dot org @ 2005-09-13 16:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From macro at linux-mips dot org  2005-09-13 16:06 -------
Created an attachment (id=9719)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9719&action=view)
gcc-4.0.1-fortran-form-free.patch


-- 


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


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

* [Bug fortran/23862] Select Fortran source form appropriately for "-pipe"
  2005-09-13 16:05 [Bug fortran/23862] New: Select Fortran source form appropriately for "-pipe" macro at linux-mips dot org
  2005-09-13 16:06 ` [Bug fortran/23862] " macro at linux-mips dot org
@ 2005-09-13 20:03 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 20:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-13 20:03 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |08/msg01290.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-13 20:03:52
               date|                            |


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


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

* [Bug fortran/23862] Select Fortran source form appropriately for "-pipe"
       [not found] <bug-23862-9019@http.gcc.gnu.org/bugzilla/>
  2006-06-21 11:37 ` fxcoudert at gcc dot gnu dot org
  2006-06-24 16:21 ` fxcoudert at gcc dot gnu dot org
@ 2006-07-02 21:22 ` fxcoudert at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-07-02 21:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from fxcoudert at gcc dot gnu dot org  2006-07-02 21:22 -------
Fixed.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|4.2.0                       |
      Known to work|4.1.2                       |4.1.2 4.2.0
         Resolution|                            |FIXED
            Summary|[4.1 only] Select Fortran   |Select Fortran source form
                   |source form appropriately   |appropriately for "-pipe"
                   |for "-pipe"                 |


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


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

* [Bug fortran/23862] Select Fortran source form appropriately for "-pipe"
       [not found] <bug-23862-9019@http.gcc.gnu.org/bugzilla/>
  2006-06-21 11:37 ` fxcoudert at gcc dot gnu dot org
@ 2006-06-24 16:21 ` fxcoudert at gcc dot gnu dot org
  2006-07-02 21:22 ` fxcoudert at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-06-24 16:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2006-06-24 16:06 -------
Subject: Bug 23862

Author: fxcoudert
Date: Sat Jun 24 16:06:28 2006
New Revision: 114970

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114970
Log:
        PR fortran/23862
        * lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless
        -ffixed-form is explicitly specified.

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


-- 


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


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

* [Bug fortran/23862] Select Fortran source form appropriately for "-pipe"
       [not found] <bug-23862-9019@http.gcc.gnu.org/bugzilla/>
@ 2006-06-21 11:37 ` fxcoudert at gcc dot gnu dot org
  2006-06-24 16:21 ` fxcoudert at gcc dot gnu dot org
  2006-07-02 21:22 ` fxcoudert at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-06-21 11:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-06-21 11:14 -------
I'm rediscovering that bug, so I'm assigning this bug to myself in order to not
forget it again :)

One remark: I don't understand exactly why the second part would be needed:

-{"@f95", "%{!E:f951 %i %(cc1_options) %{J*} %{I*}\
+{"@f95", "%{!E:f951 %i %{!ffixed-form:-ffree-form} %(cc1_options) %{J*} %{I*}\
          %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0},

as currently, the @f95 sources (files with .f95 and .f90) are compiled
correctly.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
      Known to fail|                            |4.1.2 4.2.0
   Last reconfirmed|2005-12-15 05:03:07         |2006-06-21 11:14:44
               date|                            |
   Target Milestone|---                         |4.1.2


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


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

end of thread, other threads:[~2006-07-02 21:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-13 16:05 [Bug fortran/23862] New: Select Fortran source form appropriately for "-pipe" macro at linux-mips dot org
2005-09-13 16:06 ` [Bug fortran/23862] " macro at linux-mips dot org
2005-09-13 20:03 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23862-9019@http.gcc.gnu.org/bugzilla/>
2006-06-21 11:37 ` fxcoudert at gcc dot gnu dot org
2006-06-24 16:21 ` fxcoudert at gcc dot gnu dot org
2006-07-02 21:22 ` fxcoudert 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).