This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34549] New: cshifting by a real value
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2007 20:58:49 -0000
- Subject: [Bug fortran/34549] New: cshifting by a real value
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is quite amusing (and also, presumably, easy to fix :-)
$ cat cshift-real.f90
program main
implicit none
real, dimension(2,2) :: r
data r /1.0, 2.0, 3.0, 4.0/
print *,cshift(r,shift=2.3,dim=1)
end program main
$ gfortran cshift-real.f90
$
We get the expected error message for eoshift.
--
Summary: cshifting by a real value
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34549