public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48699] New: [OOP]  MOVE_ALLOC  of polymorphic variables
@ 2011-04-20 12:07 sfilippone at uniroma2 dot it
  2011-04-20 12:07 ` [Bug fortran/48699] " sfilippone at uniroma2 dot it
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: sfilippone at uniroma2 dot it @ 2011-04-20 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [OOP]  MOVE_ALLOC  of polymorphic variables
           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 24056
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24056
test-case

Hello,
The attached examples fail in rather strange ways, on both current trunk and
4.6.0.

----------------------------------------------
[sfilippo@donald bug31]$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu47/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/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 :
(reconfigured) ../gcc/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 :
(reconfigured) ../gcc/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.0 20110418 (experimental) (GCC) 

[sfilippo@donald bug31]$ gfortran -o testmv1 testmv1.f90
/tmp/ccIl5I0L.o:(.data+0x58): undefined reference to `__copy_foo2_Bar2.1685'
collect2: ld returned 1 exit status

[sfilippo@donald bug31]$ gfortran -c testmv2.f90
testmv2.f90:38.20:

    call move_alloc(sm,dat%sm)
                    1
Error: 'from' argument of 'move_alloc' intrinsic at (1) must be ALLOCATABLE
--------------------------------------------------------------------
The symptoms seem to be about two different things, though.


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

end of thread, other threads:[~2011-12-03 12:01 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 12:07 [Bug fortran/48699] New: [OOP] MOVE_ALLOC of polymorphic variables sfilippone at uniroma2 dot it
2011-04-20 12:07 ` [Bug fortran/48699] " sfilippone at uniroma2 dot it
2011-04-20 13:09 ` burnus at gcc dot gnu.org
2011-04-20 13:21 ` sfilippone at uniroma2 dot it
2011-05-15 12:00 ` janus at gcc dot gnu.org
2011-05-15 12:16 ` janus at gcc dot gnu.org
2011-05-20 20:34 ` [Bug fortran/48699] [OOP] MOVE_ALLOC inside SELECT TYPE janus at gcc dot gnu.org
2011-05-20 21:47 ` janus at gcc dot gnu.org
2011-05-21 19:35 ` janus at gcc dot gnu.org
2011-05-21 19:51 ` janus at gcc dot gnu.org
2011-05-21 20:02 ` [Bug fortran/48699] [4.6/4.7 Regression] " janus at gcc dot gnu.org
2011-05-21 20:57 ` janus at gcc dot gnu.org
2011-05-22  0:12 ` dominiq at lps dot ens.fr
2011-05-29 22:20 ` janus at gcc dot gnu.org
2011-05-30  5:34 ` dominiq at lps dot ens.fr
2011-05-30  9:13 ` sfilippone at uniroma2 dot it
2011-05-30  9:29 ` burnus at gcc dot gnu.org
2011-05-30 10:48 ` burnus at gcc dot gnu.org
2011-06-12 12:41 ` rguenth at gcc dot gnu.org
2011-06-17 20:03 ` janus at gcc dot gnu.org
2011-06-19 21:07 ` janus at gcc dot gnu.org
2011-06-19 21:20 ` janus at gcc dot gnu.org
2011-11-26 15:18 ` burnus at gcc dot gnu.org
2011-12-03 11:34 ` burnus at gcc dot gnu.org
2011-12-03 12:01 ` sfilippone at uniroma2 dot it

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