public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/43969]  New: [OOP]  CLASS(foo), ALLOCATABLE component bad initialization
@ 2010-05-03 10:11 sfilippone at uniroma2 dot it
  2010-05-03 10:12 ` [Bug fortran/43969] " sfilippone at uniroma2 dot it
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sfilippone at uniroma2 dot it @ 2010-05-03 10:11 UTC (permalink / raw)
  To: gcc-bugs

Hello,
The attached code asserts that an ALLOCATABLE inner component starts its life
as ALLOCATED, which is contrary to everything I know about allocatables. 
----------------------------- log -----------------------------------
[sfilippo@donald bug16]$ gfortran -v 
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu46/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran : (reconfigured) ../gcc/configure
--prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran : (reconfigured)
../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu46
--enable-languages=c,c++,fortran,lto --no-create --no-recursion
Thread model: posix
gcc version 4.6.0 20100430 (experimental) (GCC) 
[sfilippo@donald bug16]$ gfortran -o testd16 testd16.f03
[sfilippo@donald bug16]$ ./testd16 
 Check on allocated:  T
-----------------------------------------------------------------------------
Salvatore


-- 
           Summary: [OOP]  CLASS(foo), ALLOCATABLE component bad
                    initialization
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfilippone at uniroma2 dot it
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2010-06-17 22:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-03 10:11 [Bug fortran/43969] New: [OOP] CLASS(foo), ALLOCATABLE component bad initialization sfilippone at uniroma2 dot it
2010-05-03 10:12 ` [Bug fortran/43969] " sfilippone at uniroma2 dot it
2010-05-03 10:37 ` sfilippone at uniroma2 dot it
2010-05-15 10:25 ` janus at gcc dot gnu dot org
2010-05-15 10:47 ` [Bug fortran/43969] [OOP] ALLOCATABLE with polymorphic variables janus at gcc dot gnu dot org
2010-05-15 11:33 ` [Bug fortran/43969] [OOP] ALLOCATED() " sfilippone at uniroma2 dot it
2010-05-15 13:53 ` janus at gcc dot gnu dot org
2010-05-15 14:18 ` [Bug fortran/43969] [OOP] ALLOCATED() with polymorphic arrays janus at gcc dot gnu dot org
2010-06-17 22:38 ` janus at gcc dot gnu dot 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).