------- Comment #8 from dfranke at gcc dot gnu dot org  2009-04-04 18:12 -------
The session from the report now looks like:

$ gfortran-svn -g pr24790.f
dan...@silence ~/pr $ gdb -q a.out
(gdb) break sub_
Breakpoint 1 at 0x804855c: file pr24790.f, line 5.
(gdb) break sqr_
Breakpoint 2 at 0x80485eb: file pr24790.f, line 13.
(gdb) run
Starting program: /home/daniel/pr/a.out

Breakpoint 1, sub (a=(), n=10) at pr24790.f:5
5               subroutine sub(a,n)
(gdb) p a
$1 = ()
(gdb) p n
$2 = 10
(gdb) cont
Continuing.

Breakpoint 2, sqr (m=1) at pr24790.f:14
14                sqr = m * m
(gdb) p m
$3 = 1


Closing as fixed. Thanks, Jakub!


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.3.3
      Known to work|                            |4.5.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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

Reply via email to