public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47051] New: [4.6 Regression] wrong reallocate
@ 2010-12-23 13:27 Joost.VandeVondele at pci dot uzh.ch
  2010-12-23 13:36 ` [Bug fortran/47051] " dominiq at lps dot ens.fr
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2010-12-23 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] wrong reallocate
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Joost.VandeVondele@pci.uzh.ch


In the following a reallocation seems to happen, changing the bounds of a.
However the size of a and b are the same, so I would not expect this.

 INTEGER, DIMENSION(:), ALLOCATABLE :: a,b
 ALLOCATE(a(-1:1),b(1:3))
 b=0
 a=b
 write(6,*) LBOUND(a)
 IF(LBOUND(a,1).NE.-1) STOP "BUG"
END


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

end of thread, other threads:[~2011-01-11  5:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-23 13:27 [Bug fortran/47051] New: [4.6 Regression] wrong reallocate Joost.VandeVondele at pci dot uzh.ch
2010-12-23 13:36 ` [Bug fortran/47051] " dominiq at lps dot ens.fr
2010-12-23 13:47 ` Joost.VandeVondele at pci dot uzh.ch
2010-12-23 13:56 ` Joost.VandeVondele at pci dot uzh.ch
2010-12-23 15:13 ` dominiq at lps dot ens.fr
2010-12-23 15:32 ` Joost.VandeVondele at pci dot uzh.ch
2010-12-23 17:51 ` pault at gcc dot gnu.org
2010-12-28 16:01 ` rguenth at gcc dot gnu.org
2010-12-29 14:18 ` jakub at gcc dot gnu.org
2010-12-30  3:20 ` jvdelisle at gcc dot gnu.org
2010-12-30 14:43 ` mikael at gcc dot gnu.org
2010-12-30 16:54 ` [Bug fortran/47051] Wrong reallocate tkoenig at gcc dot gnu.org
2011-01-02 11:55 ` [Bug fortran/47051] [4.6 Regression] " Joost.VandeVondele at pci dot uzh.ch
2011-01-02 22:17 ` tkoenig at gcc dot gnu.org
2011-01-04 19:24 ` pault at gcc dot gnu.org
2011-01-09 21:32 ` pault at gcc dot gnu.org
2011-01-10  8:51 ` pault at gcc dot gnu.org
2011-01-11  6:20 ` pault at gcc dot gnu.org
2011-01-11  6:32 ` pault 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).