This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/9395] can not acces allocatable array in fortran90


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

--- Comment #7 from Joachim Protze <joachim.protze at zih dot tu-dresden.de> 2011-02-25 13:59:14 UTC ---
Created attachment 5266
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5266
fortran program with bigger 3d-array

It seems, that we now have infinite loops in some cases (for 300x300x300
array):

(gdb) p buffer(10,10,:10)
$1 = (3010, 93010, 183010, 273010, 363010, 453010, 543010, 633010, 723010,
813010, 903010)
(gdb) p buffer(10,9:10,10)
$2 = (902710, 903010)

but:
(gdb) p buffer(10,10,9:10)
-> hangs, should just display the last two values of $1

With 200x200x200 array the last one gives correct answer.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]