[6/6] Fortran dynamic arrays #2: Fortran array testcase
Markus Deuling
deuling@de.ibm.com
Tue Mar 11 08:49:00 GMT 2008
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
More information about the Gdb-patches
mailing list