public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50109] New: Formatted namelist read with multiple "!" fails with: Cannot match namelist object name !
@ 2011-08-17 19:12 hanson at physics dot auburn.edu
  2011-08-17 19:38 ` [Bug fortran/50109] " kargl at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hanson at physics dot auburn.edu @ 2011-08-17 19:12 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50109
           Summary: Formatted namelist read with multiple "!" fails with:
                    Cannot match namelist object name !
    Classification: Unclassified
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hanson@physics.auburn.edu


Created attachment 25037
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25037
Fortran source files to show the bug.

A namelist read of the file 

$indata
NFP = 5,
!  
! 
!  
/

results in:
Fortran runtime error: Cannot match namelist object name !

I have produced the error with gcc 4.6.0:
gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10.4.0
Configured with: ../gcc-4.6-20101106/configure --enable-languages=fortran
Thread model: posix
gcc version 4.6.0 20101106 (experimental) (GCC) 

and on gcc 4.4.3:
 f95 -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 

I'm sorry, I rely on others to install compilers, so I can't test it on other
versions.

This seems very similar to Bug 49791

Attached is a short code which produces the error.


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

end of thread, other threads:[~2011-08-19 13:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-17 19:12 [Bug fortran/50109] New: Formatted namelist read with multiple "!" fails with: Cannot match namelist object name ! hanson at physics dot auburn.edu
2011-08-17 19:38 ` [Bug fortran/50109] " kargl at gcc dot gnu.org
2011-08-17 20:36 ` hanson at physics dot auburn.edu
2011-08-17 20:50 ` hanson at physics dot auburn.edu
2011-08-17 21:31 ` [Bug fortran/50109] [4.3/4.4/4.5/4.6 Regression] " burnus at gcc dot gnu.org
2011-08-18  9:37 ` burnus at gcc dot gnu.org
2011-08-18 14:28 ` burnus at gcc dot gnu.org
2011-08-18 16:13 ` burnus at gcc dot gnu.org
2011-08-19  9:17 ` burnus at gcc dot gnu.org
2011-08-19  9:17 ` burnus at gcc dot gnu.org
2011-08-19 12:01 ` burnus at gcc dot gnu.org
2011-08-19 13:34 ` [Bug fortran/50109] [4.3/4.4/4.5/4.6/4.7 " burnus at gcc dot gnu.org
2011-08-19 14:07 ` burnus at gcc dot gnu.org

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