Problem occurs when using gdb.  All works fine with GNU Fortran 95 (GCC) 4.1.1
(Gentoo 4.1.1-r1) but not with GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r2). 
(I'm assuming the bug was not introduced by Gentoo.)  Get failure like this
test.f
      i = 1
      print '(''i='', i1)', i
      end
gfortran -g -o test test.f
gdb test
b test.f:2
run
p i
With the result
Could not find the frame base for "MAIN__".

I have also posted this on the gentoo bug site.


-- 
           Summary: GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r2 not
                    compatible with gdb
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fkrogh#gcc at mathalacarte dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29872

Reply via email to