public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56800] New: [fortran-dev Regression] move_alloc_13.f90 failure
@ 2013-04-01 14:57 tkoenig at gcc dot gnu.org
  2013-04-01 17:05 ` [Bug fortran/56800] " tkoenig at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2013-04-01 14:57 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56800
           Summary: [fortran-dev Regression] move_alloc_13.f90 failure
    Classification: Unclassified
           Product: gcc
           Version: fortran-dev
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tkoenig@gcc.gnu.org


The move_alloc_13 failure on the fortran-dev branch can be reduced
to a wrong setting of sm to zero in:

ig25@linux-fd1f:~/Krempel/Branch> cat mv.f90
type t
end type t
type, extends(t) :: t2
  integer :: a
end type t2

class(t), allocatable :: y(:), z(:)

allocate(y(1), source=[t2(2)])

end
ig25@linux-fd1f:~/Krempel/Branch> gfortran -fdump-tree-original mv.f90

[...]

        __builtin_memset (y._data.base_addr, 0, 4);
        y._data.dtype = 41;
        y._data.dim[0].lower_bound = 1;
        y._data.dim[0].extent = 2 - y._data.dim[0].lower_bound;
        y._data.dim[0].sm = 0;
        y._data.offset = -1;


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

end of thread, other threads:[~2013-05-07 10:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-01 14:57 [Bug fortran/56800] New: [fortran-dev Regression] move_alloc_13.f90 failure tkoenig at gcc dot gnu.org
2013-04-01 17:05 ` [Bug fortran/56800] " tkoenig at gcc dot gnu.org
2013-04-01 18:01 ` burnus at gcc dot gnu.org
2013-04-01 21:35 ` burnus at gcc dot gnu.org
2013-04-27 13:42 ` dominiq at lps dot ens.fr
2013-04-30 21:57 ` burnus at gcc dot gnu.org
2013-05-07 10:00 ` burnus at gcc dot gnu.org
2013-05-07 10:01 ` 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).