Launchpad has imported 12 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61173.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2014-05-13T12:59:31+00:00 Dominiq wrote: Compiling the following test from https://gcc.gnu.org/ml/fortran/2014-05/msg00046.html module bd character(len=256), dimension(:), allocatable, save :: source contains subroutine init_data allocate(source(3)) deallocate(source) allocate(source(2)) source=[" 1 1 1"," 4 4 4"] end subroutine init_data end module bd program read_internal use bd integer :: x(6),i,iostat character(len=512) :: iomsg call init_data read(source,*,iostat=iostat,iomsg=iomsg) (x(i), i=1,6) if( iostat /= 0 ) then write(*,*) "Error: ",trim(iomsg) else write(*,*) (x(i), i=1,6) end if end program read_internal with 4.9.0 or trunk gives at runtime the following error Error: End of file r208320 (2014-03-04) gives 1 1 1 4 4 4 and r208478 (2014-03-11) gives the error. This likely due to r208438 (pr38199). Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/0 ------------------------------------------------------------------------ On 2014-05-13T14:03:38+00:00 Keith Refson wrote: I just worked out why the testcase originally failed to reproduce the problem. libgfortran.so was dynamically linking against the older version in /lib64 not the version in /usr/local/gcc-4.9/lib. This fails as expected in my testcase after all. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/1 ------------------------------------------------------------------------ On 2014-05-13T14:11:33+00:00 Dominiq wrote: > I just worked out why the testcase originally failed to reproduce the problem. > libgfortran.so was dynamically linking against the older version in /lib64 > not the version in /usr/local/gcc-4.9/lib. This fails as expected in my > testcase after all. Indeed a problem I know (I do the bisection with self contained versions). Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/2 ------------------------------------------------------------------------ On 2014-05-14T00:37:56+00:00 Jvdelisle2 wrote: I will start working on this, this weekend. Thanks for report and test case Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/3 ------------------------------------------------------------------------ On 2014-05-24T13:42:06+00:00 Jvdelisle2 wrote: Patch here: https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02065.html Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/4 ------------------------------------------------------------------------ On 2014-05-24T19:26:34+00:00 Jvdelisle2 wrote: Author: jvdelisle Date: Sat May 24 19:26:02 2014 New Revision: 210898 URL: http://gcc.gnu.org/viewcvs?rev=210898&root=gcc&view=rev Log: 2014-05-23 Jerry DeLisle <[email protected]> PR libfortran/61173 * io/list_read.c (eat_spaces): If the next character pointed to is a space, don't seek, must be at the end. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/list_read.c Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/5 ------------------------------------------------------------------------ On 2014-05-24T19:31:10+00:00 Jvdelisle2 wrote: Author: jvdelisle Date: Sat May 24 19:30:38 2014 New Revision: 210899 URL: http://gcc.gnu.org/viewcvs?rev=210899&root=gcc&view=rev Log: 2014-05-24 Jerry DeLisle <[email protected]> PR libfortran/61173 gfortran.dg/arrayio_14.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/arrayio_14.f90 Modified: trunk/gcc/testsuite/ChangeLog Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/6 ------------------------------------------------------------------------ On 2014-06-03T13:55:25+00:00 Keith Refson wrote: Is it possible to say which version of gcc will contain the fix? It is not in the "gfortran.com" snapshot dated 20140528. Will this go in to the 4.9.1 release? Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/7 ------------------------------------------------------------------------ On 2014-06-04T02:03:01+00:00 Jvdelisle2 wrote: I will backport to 4.9 in the next few days so it will get into 4.9.1 I am not sure how your snapshot is set up. If it is using dynamically loaded library, you may be getting the newer gfortran calling an older libgfortran in the library search path. So try with -static to see if that works. It should be in the 4.10 trunk by the date you gave for the snapshot. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/8 ------------------------------------------------------------------------ On 2014-06-07T17:36:06+00:00 Jvdelisle2 wrote: Author: jvdelisle Date: Sat Jun 7 17:35:35 2014 New Revision: 211345 URL: http://gcc.gnu.org/viewcvs?rev=211345&root=gcc&view=rev Log: 2014-06-07 Jerry DeLisle <[email protected]> Backport from trunk. PR libfortran/61173 * io/list_read.c (eat_spaces): If the next character pointed to is a space, don't seek, must be at the end. Modified: branches/gcc-4_9-branch/libgfortran/ChangeLog branches/gcc-4_9-branch/libgfortran/io/list_read.c Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/9 ------------------------------------------------------------------------ On 2014-06-07T17:40:02+00:00 Jvdelisle2 wrote: Author: jvdelisle Date: Sat Jun 7 17:39:31 2014 New Revision: 211346 URL: http://gcc.gnu.org/viewcvs?rev=211346&root=gcc&view=rev Log: 2014-06-07 Jerry DeLisle <[email protected]> Backport from trunk. PR libfortran/61173 * gfortran.dg/arrayio_14.f90: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/arrayio_14.f90 Modified: branches/gcc-4_9-branch/gcc/testsuite/ChangeLog Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/10 ------------------------------------------------------------------------ On 2014-06-07T17:41:03+00:00 Jvdelisle2 wrote: Fixed on 4.9, and closing. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/1330099/comments/11 ** Changed in: gcc-defaults Status: Unknown => Fix Released ** Changed in: gcc-defaults Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1330099 Title: gfortran 4.8.2-19ubuntu: Erroneous "end of file" with internal read To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-defaults/+bug/1330099/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
