public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25020]  New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...)
@ 2005-11-24 15:54 anlauf at gmx dot de
  2005-11-26  3:26 ` [Bug fortran/25020] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: anlauf at gmx dot de @ 2005-11-24 15:54 UTC (permalink / raw)
  To: gcc-bugs

Hi,

it would be nice if gfortran implemented a facility like
NAG's F90_UNIX module.  The program

implicit none
call abort ()
end

compiles and links with gfc -std=gnu but not with -std=f95

With the NAG compiler one can write

USE f90_unix, ONLY: abort
implicit none
call abort ()
end

have access to the intrinsics and be happy.

See

http://www.nag.co.uk/nagware/np/r50_doc/nag_modules.html
http://www.nag.co.uk/nagware/np/r50_doc/f90_unix.html

for details.

Cheers,
-ha


-- 
           Summary: NAG extension: module F90_UNIX providing access to UNIX
                    functions (abort ...)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug fortran/25020] NAG extension: module F90_UNIX providing access to UNIX functions (abort ...)
  2005-11-24 15:54 [Bug fortran/25020] New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...) anlauf at gmx dot de
@ 2005-11-26  3:26 ` pinskia at gcc dot gnu dot org
  2005-12-20  8:29 ` anlauf at gmx dot de
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-26  3:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-26 03:26 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-26 03:26:23
               date|                            |


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


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

* [Bug fortran/25020] NAG extension: module F90_UNIX providing access to UNIX functions (abort ...)
  2005-11-24 15:54 [Bug fortran/25020] New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...) anlauf at gmx dot de
  2005-11-26  3:26 ` [Bug fortran/25020] " pinskia at gcc dot gnu dot org
@ 2005-12-20  8:29 ` anlauf at gmx dot de
  2006-10-30 12:18 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: anlauf at gmx dot de @ 2005-12-20  8:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from anlauf at gmx dot de  2005-12-20 08:29 -------
(In reply to comment #0)

I have written a portable version of the module F90_UNIX,
which runs under several platforms but need to be configured
manually.  It is available from:

http://home.arcor.de/harald.anlauf/f90_unix.tar.gz

Tested with different compilers on different platforms.
Works best with compilers that support the Fortran 2003
IMPORT statement (PR 24549) and the BIND(C) construct for
interoperability with C, but these features are not required.

Cheers,
-ha


-- 


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


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

* [Bug fortran/25020] NAG extension: module F90_UNIX providing access to UNIX functions (abort ...)
  2005-11-24 15:54 [Bug fortran/25020] New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...) anlauf at gmx dot de
  2005-11-26  3:26 ` [Bug fortran/25020] " pinskia at gcc dot gnu dot org
  2005-12-20  8:29 ` anlauf at gmx dot de
@ 2006-10-30 12:18 ` fxcoudert at gcc dot gnu dot org
  2007-01-14 11:02 ` fxcoudert at gcc dot gnu dot org
  2007-02-16 16:05 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-10-30 12:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-10-30 12:18 -------
Once my patch for pre-compiled intrinsic modules is reviewed (which should be
soon) and when ISO_C_BINDING is integrated (which might take a little longer),
it will be almost trivial to integrate your module in gfortran.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2006-10-25 08:30:14         |2006-10-30 12:18:39
               date|                            |


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


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

* [Bug fortran/25020] NAG extension: module F90_UNIX providing access to UNIX functions (abort ...)
  2005-11-24 15:54 [Bug fortran/25020] New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...) anlauf at gmx dot de
                   ` (2 preceding siblings ...)
  2006-10-30 12:18 ` fxcoudert at gcc dot gnu dot org
@ 2007-01-14 11:02 ` fxcoudert at gcc dot gnu dot org
  2007-02-16 16:05 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-01-14 11:02 UTC (permalink / raw)
  To: gcc-bugs



-- 

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
   Last reconfirmed|2006-10-30 12:18:39         |2007-01-14 11:02:28
               date|                            |


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


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

* [Bug fortran/25020] NAG extension: module F90_UNIX providing access to UNIX functions (abort ...)
  2005-11-24 15:54 [Bug fortran/25020] New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...) anlauf at gmx dot de
                   ` (3 preceding siblings ...)
  2007-01-14 11:02 ` fxcoudert at gcc dot gnu dot org
@ 2007-02-16 16:05 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-02-16 16:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2007-02-16 16:05 -------
Harald, if you were to assign copyright of your code (or modified code) to the
FSF by filing a copyright assignment, we could integrate that into gfortran. [I
don't think you have a copyright assignment, do you?]

So, if you want to integrate it, please ask on the list how to get sent the
form (it comes by snail mail, so it takes some time to receive and send back).
Otherwise, please close this PR.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|fxcoudert at gcc dot gnu dot|unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

end of thread, other threads:[~2007-02-16 16:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-24 15:54 [Bug fortran/25020] New: NAG extension: module F90_UNIX providing access to UNIX functions (abort ...) anlauf at gmx dot de
2005-11-26  3:26 ` [Bug fortran/25020] " pinskia at gcc dot gnu dot org
2005-12-20  8:29 ` anlauf at gmx dot de
2006-10-30 12:18 ` fxcoudert at gcc dot gnu dot org
2007-01-14 11:02 ` fxcoudert at gcc dot gnu dot org
2007-02-16 16:05 ` 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).