[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request to test a G77 bug on 64-bit platforms



On Thu, 2005-09-22 at 10:47 -0400, Kevin B. McCarty wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi folks,
> 
> Could I request someone to test for the presence of a G77 bug on 64-bit
> platforms?  Please install g77 and gcc on a *Sid* machine and ensure
> that gcc is a symlink to gcc-4.0 and g77 is a symlink to g77-3.4. Unpack
> the attached tarball and run "make" inside, then let me know the
> results.  This is a test for GCC PR15937, here:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15397
> 
> The result should look something like this:
> 
>  funct1: return value =   1.11109996
>  in test1: retval from fortran call is   1.11109996
> funct2: return value = 1.111100
>  in test1: retval from c(float) call is   1.11109996
> funct2: return value = 2
>  in test1: retval from c(int)   call is  2

dannf@krebs:/tmp/test$ make
gcc -Wall -c test.c -o testc.o
g77 -Wall -c test.F -o testf.o
g77 testc.o testf.o -o a.out
./a.out
 funct1: return value =   1.11109996
 in test1: retval from fortran call is   1.11109996
funct2: return value = 1.111100
 in test1: retval from c(float) call is   1.11109996
funct2: return value = 2
 in test1: retval from c(int)   call is  2

> 
> Please also post the output of dpkg -l gcc gcc-4.0 g77 g77-3.4

dannf@krebs:/tmp/test$ dpkg -l gcc gcc-4.0 g77 g77-3.4
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  g77            3.4.4-5        The GNU Fortran 77 compiler
ii  g77-3.4        3.4.4-8        The GNU Fortran 77 compiler
ii  gcc            4.0.1-3        The GNU C compiler
ii  gcc-4.0        4.0.1-8        The GNU C compiler




Reply to: