public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran
       [not found] <bug-12040-4717@http.sourceware.org/bugzilla/>
@ 2011-06-29 14:45 ` cvs-commit at gcc dot gnu.org
  2011-06-29 17:51 ` cvs-commit at gcc dot gnu.org
  2011-06-29 17:52 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-06-29 14:45 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-06-29 14:44:48 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2011-06-29 14:44:45

Modified files:
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/lib: ada.exp gdb.exp 
Added files:
    gdb/testsuite/lib: future.exp 

Log message:
    PR testsuite/12040:
    * lib/future.exp: New file, mostly extracted from ada.exp.
    Rewrote compatibility code to use rename.
    (gdb_find_gfortran): New proc.
    (gdb_default_target_compile): Refresh from dejagnu; plus a pending
    gfortran patch.
    * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
    Move to future.exp.
    * lib/gdb.exp: Always load future.exp.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2756&r2=1.2757
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/future.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/ada.exp.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/gdb.exp.diff?cvsroot=src&r1=1.180&r2=1.181

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran
       [not found] <bug-12040-4717@http.sourceware.org/bugzilla/>
  2011-06-29 14:45 ` [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran cvs-commit at gcc dot gnu.org
@ 2011-06-29 17:51 ` cvs-commit at gcc dot gnu.org
  2011-06-29 17:52 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-06-29 17:51 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-06-29 17:50:52 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2011-06-29 17:50:47

Modified files:
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.fortran: array-element.exp complex.exp 
                               derived-type.exp library-module.exp 
                               logical.exp module.exp multi-dim.exp 
                               subarray.exp 

Log message:
    PR testsuite/12040:
    * gdb.fortran/array-element.exp: Use f90, not f77.
    * gdb.fortran/complex.exp: Use f90, not f77.
    * gdb.fortran/derived-type.exp: Use f90, not f77.
    * gdb.fortran/library-module.exp: Use f90, not f77.
    * gdb.fortran/logical.exp: Use f90, not f77.
    * gdb.fortran/module.exp: Use f90, not f77.
    * gdb.fortran/multi-dim.exp: Use f90, not f77.
    * gdb.fortran/subarray.exp: Use f90, not f77.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2758&r2=1.2759
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/array-element.exp.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/complex.exp.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/derived-type.exp.diff?cvsroot=src&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/library-module.exp.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/logical.exp.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/module.exp.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/multi-dim.exp.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.fortran/subarray.exp.diff?cvsroot=src&r1=1.11&r2=1.12

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran
       [not found] <bug-12040-4717@http.sourceware.org/bugzilla/>
  2011-06-29 14:45 ` [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran cvs-commit at gcc dot gnu.org
  2011-06-29 17:51 ` cvs-commit at gcc dot gnu.org
@ 2011-06-29 17:52 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-06-29 17:52 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |FIXED
   Target Milestone|---                         |7.4

--- Comment #4 from Tom Tromey <tromey at redhat dot com> 2011-06-29 17:51:32 UTC ---
Fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran
  2010-09-19 13:48 [Bug fortran/12040] New: " hjl dot tools at gmail dot com
@ 2010-09-19 13:55 ` hjl dot tools at gmail dot com
  0 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-19 13:55 UTC (permalink / raw)
  To: gdb-prs


------- 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-29 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12040-4717@http.sourceware.org/bugzilla/>
2011-06-29 14:45 ` [Bug fortran/12040] GDB Fortran tests use g77 instead of gfortran cvs-commit at gcc dot gnu.org
2011-06-29 17:51 ` cvs-commit at gcc dot gnu.org
2011-06-29 17:52 ` tromey at redhat dot com
2010-09-19 13:48 [Bug fortran/12040] New: " hjl dot tools at gmail dot com
2010-09-19 13:55 ` [Bug fortran/12040] " hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).