public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60286] New: INQUIRE reports STDOUT as not writable
@ 2014-02-20  9:00 a.vogt at fulguritus dot com
  2014-02-20  9:29 ` [Bug fortran/60286] " a.vogt at fulguritus dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: a.vogt at fulguritus dot com @ 2014-02-20  9:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60286
           Summary: INQUIRE reports STDOUT as not writable
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: a.vogt at fulguritus dot com

Created attachment 32178
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32178&action=edit
Minumum Example

The INQUIRE statement reports STDOUT as not writable: Compiling the minumum
example attached results in: 

./a.out 
 writable? NO 

with gfortran (4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)), and into 

./a.out 
 writable? YES  

using ifort (13.1.3). This was also discussed on the mailing list in 2009
(http://gcc.gnu.org/ml/fortran/2009-03/msg00102.html), but I couldn't find any
corresponding bug report. 

gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-isl=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/cloog-install
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)

ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R)
64, Version 13.1.3.192 Build 20130607
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-21  8:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20  9:00 [Bug fortran/60286] New: INQUIRE reports STDOUT as not writable a.vogt at fulguritus dot com
2014-02-20  9:29 ` [Bug fortran/60286] " a.vogt at fulguritus dot com
2014-02-20 10:12 ` burnus at gcc dot gnu.org
2014-02-21  7:37 ` burnus at gcc dot gnu.org
2014-02-21  7:38 ` burnus at gcc dot gnu.org
2014-02-21  8:43 ` a.vogt at fulguritus dot com

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).