This is the mail archive of the gdb-prs@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]

[Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran


------- Additional Comments From hjl dot tools at gmail dot com  2010-09-19 13:55 -------
We have

gdb.fortran/array-element.exp:    executable {debug f77}] != ""} {
gdb.fortran/complex.exp:     executable {debug f77 quiet}] != "" } {
gdb.fortran/derived-type.exp:  executable {debug f77}] != ""} {
gdb.fortran/library-module.exp:if  { [gdb_compile_shlib
"${srcdir}/${subdir}/${srclibfile}" $objdir/$subdir/$libfile {debug f77}] != "" } {
gdb.fortran/library-module.exp:if  { [gdb_compile [list $srcdir/$subdir/$srcfile
$objdir/$subdir/$libfile] $objdir/$subdir/$binfile executable {debug f77}] != "" } {
gdb.fortran/logical.exp:if { [prepare_for_testing "${test}.exp" "${test}"
"${srcfile}" {debug f77 quiet}] } {
gdb.fortran/module.exp:if { [prepare_for_testing $testfile.exp $testfile
$srcfile {debug f77}] } {
gdb.fortran/subarray.exp:  executable {debug f77}] != ""} {

They are complete bogus for 2 reasons:

1. Many tests are Fortran 90. You don't use Fortran 77
compiler to compile Fortran 90 code.
2. g77 is obsoleted by gfortran many years ago. We should
always use gfortran if it is available.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=12040

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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