public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/54874] New: OOP: polymorphic allocation with SOURCE
@ 2012-10-09  9:58 sfilippone at uniroma2 dot it
  2012-10-09 10:02 ` [Bug fortran/54874] " sfilippone at uniroma2 dot it
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: sfilippone at uniroma2 dot it @ 2012-10-09  9:58 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54874
           Summary: OOP: polymorphic allocation with SOURCE
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sfilippone@uniroma2.it


Created attachment 28396
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28396
test case

Hi,
I am getting the following output from the test case. It seems wrong, I do not
see why allocating the polymorphic component in p%vect(4) should change the
entries p%vect(1:3)
This may or may not be a duplicate of 54784. 

------------------------------------------------
[sfilippo@jacobi bug34]$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu47/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.7.2/configure --prefix=/usr/local/gnu47
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc
Thread model: posix
gcc version 4.7.2 (GCC) 
[sfilippo@jacobi bug34]$ gfortran -o testpolyvect testpolyvect.f90
[sfilippo@jacobi bug34]$ ./testpolyvect 

 level            1
 New inner descr

 level            1
 New inner descr
 level            2
 New inner descr

 level            1
 New inner descr
 level            2
 New inner descr
 level            3
 New inner descr

 level            1
 Base inner descr
 level            2
 Base inner descr
 level            3
 Base inner descr
 level            4
 Base inner descr
------------------------------------------------------------


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

end of thread, other threads:[~2012-10-10 11:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09  9:58 [Bug fortran/54874] New: OOP: polymorphic allocation with SOURCE sfilippone at uniroma2 dot it
2012-10-09 10:02 ` [Bug fortran/54874] " sfilippone at uniroma2 dot it
2012-10-09 10:37 ` sfilippone at uniroma2 dot it
2012-10-09 10:48 ` dominiq at lps dot ens.fr
2012-10-09 11:03 ` sfilippone at uniroma2 dot it
2012-10-09 14:43 ` [Bug fortran/54874] [OOP] " janus at gcc dot gnu.org
2012-10-09 14:46 ` sfilippone at uniroma2 dot it
2012-10-09 14:47 ` janus at gcc dot gnu.org
2012-10-09 16:02 ` sfilippone at uniroma2 dot it
2012-10-09 16:15 ` janus at gcc dot gnu.org
2012-10-09 17:13 ` janus at gcc dot gnu.org
2012-10-09 19:42 ` janus at gcc dot gnu.org
2012-10-09 22:11 ` janus at gcc dot gnu.org
2012-10-10 10:29 ` janus at gcc dot gnu.org
2012-10-10 11:37 ` sfilippone at uniroma2 dot it
2012-10-10 11:49 ` janus 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).