public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kargl at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/39664] [4.5 Regression] Revision 145571 breaks stdio
Date: Mon, 06 Apr 2009 22:46:00 -0000	[thread overview]
Message-ID: <20090406224627.25379.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39664-682@http.gcc.gnu.org/bugzilla/>



------- 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[hjl@gnu-16 pr39664]$ cat foo.c
> #include <stdio.h>
> 
> int
> main ()
> {
>    
> printf("--------------------------------------------------------------------------------\n"); 
>     printf("Done.\n");
> 
>   return 0;
> }
> jl@gnu-16 pr39664]$ /export/gnu/import/rrs/145571/usr/bin/gcc -O2   -c -o foo.o
> foo.c
> [hjl@gnu-16 pr39664]$ /export/gnu/import/rrs/145571/usr/bin/gfortran -o foo
> foo.o
> [hjl@gnu-16 pr39664]$ LD_LIBRARY_PATH=/export/gnu/import/rrs/145571/usr/lib64 
> ./foo > 1
> [hjl@gnu-16 pr39664]$ cat 1
> [hjl@gnu-16 pr39664]$ LD_LIBRARY_PATH=/export/gnu/import/rrs/145571/usr/lib64 
> ./foo 
> --------------------------------------------------------------------------------
> Done.
> [hjl@gnu-16 pr39664]$ 
> 

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
--------------------------------------------------------------------------------
Done.
troutmask:sgk[208] gfc4x --version
GNU Fortran (GCC) 4.5.0 20090406 (experimental)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39664


  parent reply	other threads:[~2009-04-06 22:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 15:41 [Bug fortran/39664] New: [4.5 Regression] 436.cactusADM in SPEC CPU 2006 is miscompiled hjl dot tools at gmail dot com
2009-04-06 15:43 ` [Bug libfortran/39664] " hjl dot tools at gmail dot com
2009-04-06 19:49 ` burnus at gcc dot gnu dot org
2009-04-06 19:53 ` [Bug libfortran/39664] [4.5 Regression] Revision 145571 caused 436.cactusADM in SPEC CPU 2006 to fail hjl dot tools at gmail dot com
2009-04-06 21:34 ` hjl dot tools at gmail dot com
2009-04-06 22:15 ` hjl dot tools at gmail dot com
2009-04-06 22:20 ` [Bug libfortran/39664] [4.5 Regression] Revision 145571 breaks stdio hjl dot tools at gmail dot com
2009-04-06 22:22 ` pinskia at gcc dot gnu dot org
2009-04-06 22:41 ` hjl dot tools at gmail dot com
2009-04-06 22:44 ` hjl dot tools at gmail dot com
2009-04-06 22:46 ` kargl at gcc dot gnu dot org [this message]
2009-04-06 22:48 ` pinskia at gcc dot gnu dot org
2009-04-06 22:53 ` hjl dot tools at gmail dot com
2009-04-06 22:57 ` hjl dot tools at gmail dot com
2009-04-06 23:08 ` hjl at gcc dot gnu dot org
2009-04-06 23:16 ` hjl dot tools at gmail dot com
2009-05-27  1:23 ` jvdelisle at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090406224627.25379.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).