------- Comment #2 from burnus at gcc dot gnu dot org  2009-08-07 14:23 -------
Hmm, actually your example works here:

(gdb) b 7
Breakpoint 1 at 0x4007a0: file hjff.f90, line 7.
(gdb) run
[...]
Breakpoint 1, dummy () at hjff.f90:7
7                 PRINT *, 'Hello',nerr
(gdb) p nerr
$1 = 666

That's with GCC 4.5.0 20090805 and 6.8.50.20090803-10.1 (openSUSE's version,
which contains patches from Fedora/Jan Kratochvil). I do have the problem
mentioned in PR 40660 comment 2 that the same line appears several times.


-- 


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

Reply via email to