public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented
@ 2004-09-23 10:56 anlauf at hep dot tu-darmstadt dot de
  2004-09-23 13:40 ` [Bug libfortran/17631] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: anlauf at hep dot tu-darmstadt dot de @ 2004-09-23 10:56 UTC (permalink / raw)
  To: gcc-bugs

Hi,

MVBITS appears to not to be implemented.

program gfcbug13
  implicit none
  integer :: to
  to = 0
  call mvbits (from=1, frompos=0, len=1, to=to, topos=1)
  if (to /= 2) then
     print *, "Error, TO =", to
  end if
end program gfcbug13


The example fails to link with error message:

gfcbug13.f90: undefined reference to `__gfortran_mvbits'
collect2: ld returned 1 exit status

Cheers,
-ha

-- 
           Summary: libfortran: intrinsic subroutine MVBITS not implemented
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at hep dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-cygwin


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


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

* [Bug libfortran/17631] libfortran: intrinsic subroutine MVBITS not implemented
  2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
@ 2004-09-23 13:40 ` pinskia at gcc dot gnu dot org
  2004-09-23 18:53 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 13:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 13:40 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-23 13:40:07
               date|                            |


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


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

* [Bug libfortran/17631] libfortran: intrinsic subroutine MVBITS not implemented
  2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
  2004-09-23 13:40 ` [Bug libfortran/17631] " pinskia at gcc dot gnu dot org
@ 2004-09-23 18:53 ` pinskia at gcc dot gnu dot org
  2004-09-23 19:11 ` tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 18:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 18:53 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02414.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug libfortran/17631] libfortran: intrinsic subroutine MVBITS not implemented
  2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
  2004-09-23 13:40 ` [Bug libfortran/17631] " pinskia at gcc dot gnu dot org
  2004-09-23 18:53 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 19:11 ` tobi at gcc dot gnu dot org
  2004-10-04 20:49 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-23 19:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-09-23 19:11 -------
Patch as posted is wrong, but the followup has the fix.

-- 


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


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

* [Bug libfortran/17631] libfortran: intrinsic subroutine MVBITS not implemented
  2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
                   ` (2 preceding siblings ...)
  2004-09-23 19:11 ` tobi at gcc dot gnu dot org
@ 2004-10-04 20:49 ` cvs-commit at gcc dot gnu dot org
  2004-10-04 21:03 ` tobi at gcc dot gnu dot org
  2004-10-04 21:19 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-04 20:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-04 20:49 -------
Subject: Bug 17631

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-10-04 20:49:39

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

Log message:
	PR fortran/17631
	fortran/
	* intrinsic.c (add_sym_5): Remove.
	(add_subroutines): Add resolution function for MVBITS.
	* intrinsic.h (gfc_resolve_mvbits): Declare resolution function for
	MVBITS
	* iresolve.c (gfc_resolve_mvbits): New function.
	(gfc_resolve_random_number): Remove empty line at end of function.
	libgfortran/
	* Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
	* intrinsics/mvbits.h: New file.
	testsuite/
	* gfortran.fortran-torture/execute/intrinsic_mvbits.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.223&r2=1.224
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gcc&r1=1.23&r2=1.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.h.diff?cvsroot=gcc&r1=1.16&r2=1.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.97&r2=1.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.am.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.in.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4383&r2=1.4384
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_mvbits.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug libfortran/17631] libfortran: intrinsic subroutine MVBITS not implemented
  2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
                   ` (3 preceding siblings ...)
  2004-10-04 20:49 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-04 21:03 ` tobi at gcc dot gnu dot org
  2004-10-04 21:19 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-10-04 21:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-10-04 21:03 -------
Fixed.

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


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


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

* [Bug libfortran/17631] libfortran: intrinsic subroutine MVBITS not implemented
  2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
                   ` (4 preceding siblings ...)
  2004-10-04 21:03 ` tobi at gcc dot gnu dot org
@ 2004-10-04 21:19 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-04 21:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-10-04 21:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-23 10:56 [Bug libfortran/17631] New: libfortran: intrinsic subroutine MVBITS not implemented anlauf at hep dot tu-darmstadt dot de
2004-09-23 13:40 ` [Bug libfortran/17631] " pinskia at gcc dot gnu dot org
2004-09-23 18:53 ` pinskia at gcc dot gnu dot org
2004-09-23 19:11 ` tobi at gcc dot gnu dot org
2004-10-04 20:49 ` cvs-commit at gcc dot gnu dot org
2004-10-04 21:03 ` tobi at gcc dot gnu dot org
2004-10-04 21:19 ` 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).