--- Comment #16 from jvdelisle at gcc dot gnu dot org 2009-05-27 01:22
---
Subject: Bug 39664
Author: jvdelisle
Date: Wed May 27 01:21:22 2009
New Revision: 147887
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147887
Log:
2009-05-23 Jerry DeLisle
Backport from main
--- Comment #15 from hjl dot tools at gmail dot com 2009-04-06 23:16
---
Fixed.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
Status|UNCONFI
--- Comment #14 from hjl at gcc dot gnu dot org 2009-04-06 23:08 ---
Subject: Bug 39664
Author: hjl
Date: Mon Apr 6 23:07:51 2009
New Revision: 145636
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145636
Log:
2009-04-06 H.J. Lu
PR libgfortran/39664
* io/uni
--- Comment #13 from hjl dot tools at gmail dot com 2009-04-06 22:57
---
(In reply to comment #10)
>
> Works for me.
> troutmask:sgk[204] ~/work/4x/bin/gcc -c g.c
> troutmask:sgk[205] gfc4x -o z g.o
> troutmask:sgk[206] ./z > zxc
> troutmask:sgk[207] cat zxc
> -
--- Comment #12 from hjl dot tools at gmail dot com 2009-04-06 22:53
---
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00464.html
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
-
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-04-06 22:47
---
(In reply to comment #9)
> This patch seems to work for the small testcase:
This patch looks correct based on the old code:
- if (s->fd != STDOUT_FILENO && s->fd != STDERR_FILENO && s->fd !=
STDIN_FILENO)
-{
--- Comment #10 from kargl at gcc dot gnu dot org 2009-04-06 22:46 ---
(In reply to comment #6)
> Revision 145571 breaks stdio when the output was redirected to a file:
>
> [h[...@gnu-16 pr39664]$ cat foo.c
> #include
>
> int
> main ()
> {
>
> printf("-
--- Comment #9 from hjl dot tools at gmail dot com 2009-04-06 22:43 ---
This patch seems to work for the small testcase:
Index: io/unix.c
===
--- io/unix.c (revision 145571)
+++ io/unix.c (working copy)
@@ -344,7 +344,1
--- Comment #8 from hjl dot tools at gmail dot com 2009-04-06 22:41 ---
(In reply to comment #7)
> I don't know if this is really a bug. The interaction between Fortran I/O and
> C FILE I/O is not defined anywhere.
Does it mean that gcc doesn't support mixing C codes which contain stdi
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-06 22:22 ---
I don't know if this is really a bug. The interaction between Fortran I/O and
C FILE I/O is not defined anywhere.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39664
--- Comment #6 from hjl dot tools at gmail dot com 2009-04-06 22:20 ---
Revision 145571 breaks stdio when the output was redirected to a file:
[h[...@gnu-16 pr39664]$ cat foo.c
#include
int
main ()
{
printf("-
11 matches
Mail list logo