This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20096] New: gfortran -d8 option not working
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2005 22:35:03 -0000
- Subject: [Bug fortran/20096] New: gfortran -d8 option not working
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Some of my programs need this option, but I finally found out that it is not
working. -d makes no difference in the print out of the c routine, but it should -
[dir:~/tests/gfortran] dir% gfortran -c ptran.f
[dir:~/tests/gfortran] dir% cc -c cend.c
[dir:~/tests/gfortran] dir% gfortran -o ptran ptran.o cend.o
[dir:~/tests/gfortran] dir% ptran
cend 10 20 10 20
STOP 0
[dir:~/tests/gfortran] dir% gfortran -d8 -c ptran.f
[dir:~/tests/gfortran] dir% gfortran -o ptran ptran.o cend.o
[dir:~/tests/gfortran] dir% ptran
cend 10 20 10 20
STOP 0
[dir:~/tests/gfortran] dir% cat ptran.f
program ptran
ixmin = 10
iymin = 10
ixmax = 20
iymax = 20
call cend(ixmin,ixmax,iymin,iymax)
stop
end
[dir:~/tests/gfortran] dir% cat cend.c
int cend_(long *ixmin,long *ixmax,long *iymin,long *iymax)
{
printf("cend %ld %ld %ld %ld \n",*ixmin,*ixmax,*iymin,*iymax);
return 0;
}
--
Summary: gfortran -d8 option not working
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dir at lanl dot gov
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-apple-darwin7.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20096