[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work on Darwin

2013-02-18 Thread tkoenig at netcologne dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #48 from tkoenig at netcologne dot de 2013-02-18 21:29:22 UTC --- Am 18.02.2013 20:15, schrieb dominiq at lps dot ens.fr: > Are you suggesting to "fix" the non working named pipes on Darwin by removing > them everywhere? Actu

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work on Darwin

2013-02-18 Thread tkoenig at netcologne dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #47 from tkoenig at netcologne dot de 2013-02-18 21:24:31 UTC --- Am 18.02.2013 21:16, schrieb jb at gcc dot gnu.org: >> Look at this piece of code: >> > >> > /* Seek to the head and overwrite the bogus length with the real

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work on Darwin

2013-02-18 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #46 from Janne Blomqvist 2013-02-18 20:16:28 UTC --- (In reply to comment #44) > If unformatted sequential ever worked, it was by chance. > > Look at this piece of code: > > /* Seek to the head and overwrite the bogus le

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work on Darwin

2013-02-18 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #45 from Dominique d'Humieres 2013-02-18 19:15:43 UTC --- > ... > I would therefore suggest to resolve this PR by issuing a well-defined > error if we encounter a pipe on opening. Are you suggesting to "fix" the non working

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work on Darwin

2013-02-18 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #44 from Thomas Koenig 2013-02-18 18:44:02 UTC --- If unformatted sequential ever worked, it was by chance. Look at this piece of code: /* Seek to the head and overwrite the bogus length with the real length. */

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work on Darwin

2013-02-17 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #43 from Dominique d'Humieres 2013-02-17 20:10:52 UTC --- I finally had a look at this PR. First the test on comment #41 works on x86_64-apple-darwin10 r196109: macbook] f90/bug% mkfifo pipe [macbook] f90/bug% read_f & [1]

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-25 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 Thomas Koenig changed: What|Removed |Added Status|REOPENED|NEW AssignedTo|tkoenig a

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-23 Thread tkoenig at netcologne dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #41 from tkoenig at netcologne dot de 2012-12-23 15:09:59 UTC --- Am 23.12.2012 15:16, schrieb dominiq at lps dot ens.fr: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 > > --- Comment #40 from Dominique d'Humieres >

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #40 from Dominique d'Humieres 2012-12-23 14:16:52 UTC --- > Unfortunately, I cannot really debug this without access to a machine > where it fails. Would it be possible to write a simple C test that can be run on the differen

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 Thomas Koenig changed: What|Removed |Added Target||x86_64-apple-darwin10

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #38 from Dominique d'Humieres 2012-12-22 21:23:07 UTC --- > Can you tell me what happens if you apply this patch? The behavior stays unchanged;-(

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread tkoenig at netcologne dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #37 from tkoenig at netcologne dot de 2012-12-22 20:16:07 UTC --- Hi Dominique, > The best I can do (without understanding it) is > > (1) if I use dtruss (should be equivalent to strace) on a, I get > > [macbook] f90/bug% 2

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #36 from Dominique d'Humieres 2012-12-22 19:13:23 UTC --- > Can you strace (or whatever) the code and tell me what lseek() > returns? Is it really EINVAL like the error message suggests? The best I can do (without understand

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread tkoenig at netcologne dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #35 from tkoenig at netcologne dot de 2012-12-22 15:38:08 UTC --- > I still see > > status from open is0 > status from open is0 > At line 7 of file pr30162_1.f (unit = 20, file = 'np') > Fortran ru

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #34 from Dominique d'Humieres 2012-12-22 12:02:52 UTC --- I still see status from open is0 status from open is0 At line 7 of file pr30162_1.f (unit = 20, file = 'np') Fortran runtime error: Illegal

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-22 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #32 from Thomas Koenig 2012-12-22 10:46:42 UTC --- Author: tkoenig Date: Sat Dec 22 10:46:37 2012 New Revision: 194694 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194694 Log: 2012-12-22 Thomas Koenig PR

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-21 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #31 from Thomas Koenig 2012-12-21 20:50:52 UTC --- Author: tkoenig Date: Fri Dec 21 20:50:48 2012 New Revision: 194679 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194679 Log: 2012-12-21 Thomas Koenig PR

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-15 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 Thomas Koenig changed: What|Removed |Added Status|REOPENED|ASSIGNED AssignedTo|unas

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-12-14 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #30 from Thomas Koenig 2012-12-14 23:07:34 UTC --- This seems to do the trick. Index: unix.c === --- unix.c (Revision 194507) +++ unix.c (Arbeitskopi

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-11-25 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #29 from Janne Blomqvist 2012-11-25 15:08:24 UTC --- (In reply to comment #28) > (In reply to comment #27) > > (In reply to comment #26) > > > Is this caused by > > > > > > http://gcc.gnu.org/viewcvs?view=revision&revision=

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-11-24 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #28 from Thomas Koenig 2012-11-24 12:05:57 UTC --- (In reply to comment #27) > (In reply to comment #26) > > Is this caused by > > > > http://gcc.gnu.org/viewcvs?view=revision&revision=180701 > > > > ? > > > > Maybe we

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-11-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-11-10 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #27 from Janne Blomqvist 2012-11-10 20:21:41 UTC --- (In reply to comment #26) > Is this caused by > > http://gcc.gnu.org/viewcvs?view=revision&revision=180701 > > ? > > Maybe we need to remember if we have a special fi

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-11-10 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #26 from Thomas Koenig 2012-11-10 14:38:03 UTC --- Is this caused by http://gcc.gnu.org/viewcvs?view=revision&revision=180701 ? Maybe we need to remember if we have a special file after all, or just ignore the error on

[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

2012-10-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org Targ