This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [6/6] Fortran dynamic arrays #2: Fortran array testcase


Jan Kratochvil schrieb:
Hi,

and a testcase for the Fortran dynamic arrays.

It requires the already patched gcc-4.3 to PASS.

Missing `g77' discussed at:
	http://sources.redhat.com/ml/gdb-patches/2007-11/msg00327.html

The .TRUE. Fortran value parsing could get probably fixed by another patch
(workarounded in the testcase).


Regards, Jan


Hi Jan,


I also saw cases when gfortran emitted wrong or incomplete debug data but it gets
better with 4.3.

Just a small comment to your testcase:

+if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } {
+    untested "Couldn't compile ${srcfile}"
+    return -1
+}

I'm not able to compile your .f90 testcase with f77. What I did is to invoke gfortran instead, hoping
4.3 gets better :-)

+if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug compiler=gfortran quiet}] != "" } {
+    untested "Couldn't compile ${srcfile}"
+    return -1
+}

Regards,
Markus

--
 Markus Deuling
 GNU Toolchain for Linux on Cell BE
 deuling@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]