[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-09-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2006-09-15 13:35 --- Fixed on 4.2, will not go to 4.1 *** This bug has been marked as a duplicate of 29053 *** -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-19 Thread jvdelisle at gcc dot gnu dot org
-- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last recon

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-19 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2006-08-19 16:52 --- I think this confirms the problem is in __gthrw_(pthread_mutex_unlock) (mutex) on FreeBSD. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28747

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-19 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2006-08-19 15:55 --- Jerry,     On Fedora Core 5 x86_64 with the svn pull from  a few days back and last stream patch I get the follow diff between the code generated with -O0 and -O1...         call    _gfortran_st_write_done

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2006-08-19 03:29 --- Here is a comparison of no optimization and with -O1. Does this code look the same on x86-64 that is not FreeBSD? Code with no optimization: This does not work. call_gfortran_st_write_done m

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2006-08-18 20:54 --- Here is a debug trace showing the steps leading up to the mutation of the dtp pointer. StevebB on IRC indicated that the assembly output on linux x86-64 natch the freebsd version I posted here and the problem doe

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-08-18 16:29 --- Using -fdump-tree-final_cleanup all looks OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28747

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-18 16:15 --- (In reply to comment #1) > Middle-end or backend problem? Can you look at the dump that is produced by -fdump-tree-final_cleanup and see if it is correct? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28747

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2006-08-18 16:12 --- Simplified test case used in discussion above. program streamtest implicit none real, dimension(2,3) :: anarray open(10, file="teststream", access="stream", form="unformatted") anarray = 3.14159 write(1

[Bug libfortran/28747] Empty write STREAM I/O file positioning problem

2006-08-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2006-08-18 16:08 --- Created an attachment (id=12093) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12093&action=view) assembly output for reduced case There is wrong code generated setting up the parameters for the second call