This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug fortran/18373] Array of double precision complex numbers
- From: "bernhard.heckel at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 26 Apr 2016 11:46:20 +0000
- Subject: [Bug fortran/18373] Array of double precision complex numbers
- Auto-submitted: auto-generated
- References: <bug-18373-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18373
Bernhard Heckel <bernhard.heckel at intel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
CC| |bernhard.heckel at intel dot com
Version|4.8 |7.11
Ever confirmed|1 |0
--- Comment #1 from Bernhard Heckel <bernhard.heckel at intel dot com> ---
Works for me in GDB 7.11, Gfortran 4.8.3, Red Hat 7.1
*** Test snippet ***
program testprog
complex*16 :: cplx_arr(5)
cplx_arr(:) = CMPLX(0,0)
cplx_arr(2) = CMPLX(2,2)
write (*,*) "cplx_arr: ", cplx_arr
end program
*** Output in GDB ***
Breakpoint 1, testprog () at Bug18373.f90:22
22 write (*,*) "cplx_arr: ", cplx_arr
(gdb) whatis cplx_arr
type = complex(kind=8) (5)
(gdb) p cplx_arr
$1 = ((0,0), (2,2), (0,0), (0,0), (0,0))
(gdb) p cplx_arr(2)
$2 = (2,2)
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.