public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic
@ 2004-04-12 15:17 aj at gcc dot gnu dot org
  2004-04-12 15:22 ` [Bug libfortran/14923] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: aj at gcc dot gnu dot org @ 2004-04-12 15:17 UTC (permalink / raw)
  To: gcc-bugs

If you compile a file that calls DATE_AND_TIME, e.g.:
CALL DATE_AND_TIME(CDATE(1), CDATE(2), CDATE(3), IDATE)

you get a link time error:
undefined reference to `_gfortran_date_and_time'

The problem is that the DATE_AND_TIME intrisinsic - which is AFAIK mandatory - 
is missing

-- 
           Summary: gfortran misses the DATE_AND_TIME intrinsic
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aj at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
@ 2004-04-12 15:22 ` pinskia at gcc dot gnu dot org
  2004-05-27  5:48 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-12 15:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-12 15:06 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-12 15:06:32
               date|                            |
   Target Milestone|---                         |tree-ssa


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
  2004-04-12 15:22 ` [Bug libfortran/14923] " pinskia at gcc dot gnu dot org
@ 2004-05-27  5:48 ` pinskia at gcc dot gnu dot org
  2004-06-03 18:30 ` tobi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27  5:48 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
  2004-04-12 15:22 ` [Bug libfortran/14923] " pinskia at gcc dot gnu dot org
  2004-05-27  5:48 ` pinskia at gcc dot gnu dot org
@ 2004-06-03 18:30 ` tobi at gcc dot gnu dot org
  2004-06-09 13:26 ` tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-03 18:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-06-03 18:30 -------
This needs a new file in the library (+ the related build changes):
http://gcc.gnu.org/ml/fortran/2004-06/msg00011.html
and a patch:
http://gcc.gnu.org/ml/fortran/2004-06/msg00012.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobi at gcc dot gnu dot org
           Keywords|                            |patch, rejects-valid


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-06-03 18:30 ` tobi at gcc dot gnu dot org
@ 2004-06-09 13:26 ` tobi at gcc dot gnu dot org
  2004-06-12 15:15 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-09 13:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-06-09 13:26 -------
The patch is in, it remains the new file in the library. This, together with a
testcase and the necessary build changes can be found here:
http://gcc.gnu.org/ml/fortran/2004-06/msg00025.html

-- 


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-06-09 13:26 ` tobi at gcc dot gnu dot org
@ 2004-06-12 15:15 ` cvs-commit at gcc dot gnu dot org
  2004-06-12 15:33 ` tobi at gcc dot gnu dot org
  2004-06-13  2:46 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-12 15:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-12 15:15 -------
Subject: Bug 14923

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2004-06-12 15:15:41

Modified files:
	gcc/testsuite  : ChangeLog 
	libgfortran    : ChangeLog Makefile.am Makefile.in libgfortran.h 
Added files:
	gcc/testsuite/gfortran.fortran-torture/execute: date_time_1.f90 

Log message:
	PR fortran/14923
	* intrinsics/date_and_time.c: New file.
	* Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
	* Makefile.in, aclocal.m4: Regenerate.
	* libgfortran.h: Prototype date_and_time().
	testsuite/
	* gfortran.fortran-torture/execute/date_time_1.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3849&r2=1.3850
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/date_time_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.29&r2=1.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.am.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.in.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/libgfortran.h.diff?cvsroot=gcc&r1=1.5&r2=1.6



-- 


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-06-12 15:15 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-12 15:33 ` tobi at gcc dot gnu dot org
  2004-06-13  2:46 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-12 15:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-06-12 15:33 -------
Now implemented.

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


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


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

* [Bug libfortran/14923] gfortran misses the DATE_AND_TIME intrinsic
  2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-06-12 15:33 ` tobi at gcc dot gnu dot org
@ 2004-06-13  2:46 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-13  2:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-06-13  2:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-12 15:17 [Bug libfortran/14923] New: gfortran misses the DATE_AND_TIME intrinsic aj at gcc dot gnu dot org
2004-04-12 15:22 ` [Bug libfortran/14923] " pinskia at gcc dot gnu dot org
2004-05-27  5:48 ` pinskia at gcc dot gnu dot org
2004-06-03 18:30 ` tobi at gcc dot gnu dot org
2004-06-09 13:26 ` tobi at gcc dot gnu dot org
2004-06-12 15:15 ` cvs-commit at gcc dot gnu dot org
2004-06-12 15:33 ` tobi at gcc dot gnu dot org
2004-06-13  2:46 ` pinskia 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).