[Bug fortran/41359] Wrong line numbers for debugging/profiling

Joost.VandeVondele at pci dot uzh.ch gcc-bugzilla@gcc.gnu.org
Wed Oct 13 11:39:00 GMT 2010


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

Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-07-28 20:01:09         |2010-10-13 20:01:09
                 CC|                            |mikael at gcc dot gnu.org
      Known to fail|                            |

--- Comment #5 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2010-10-13 11:39:01 UTC ---
this still fails with a recent trunk. Mikael, do you plan to commit your patch?

> cat test.f90.gcov
        -:    0:Source:test.f90
        -:    0:Graph:test.gcno
        -:    0:Data:test.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:program main
        -:    2:
        -:    3:   implicit none
        -:    4:
        -:    5:   integer :: a = 7
        -:    6:
        1:    7:   if( a == 0 ) then
    #####:    8:      print *, "a is null"
        -:    9:   else if( a > 0 ) then
        1:   10:      print *, "a is positif"
        -:   11:   else
        2:   12:      print *, "a is negatif"
        -:   13:   end if
        -:   14:
        2:   15:end program



More information about the Gcc-bugs mailing list