Bug 20096 - gfortran -d8 option not working
Summary: gfortran -d8 option not working
Status: RESOLVED DUPLICATE of bug 13464
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 22:35 UTC by Dale Ranta
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: powerpc-apple-darwin7.8.0
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Ranta 2005-02-19 22:35:01 UTC
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;
}
Comment 1 Andrew Pinski 2005-02-19 23:13:54 UTC

*** This bug has been marked as a duplicate of 13464 ***