[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-10 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-10 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #15 from Paul Thomas 2011-01-11 05:19:24 UTC --- Author: pault Date: Tue Jan 11 05:19:20 2011 New Revision: 168650 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168650 Log: 2011-01-11 Paul Thomas PR fortran/47051

[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-09 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #14 from Paul Thomas 2011-01-10 07:31:42 UTC --- (In reply to comment #13) > I'll submit tomorrow. Done http://gcc.gnu.org/ml/fortran/2011-01/msg00075.html Paul

[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-09 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #13 from Paul Thomas 2011-01-09 21:02:50 UTC --- Created attachment 22936 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22936 This patch fixes the PR I need to go through this with a fine toothed comb. It regtests OK and repre

[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-04 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Paul Thomas changed: What|Removed |Added AssignedTo|unassigned at gcc dot |pault at gcc dot gnu.org

[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-02 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Thomas Koenig changed: What|Removed |Added Blocks||32834 --- Comment #11 from Thomas Koenig

[Bug fortran/47051] [4.6 Regression] Wrong reallocate

2011-01-02 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Joost VandeVondele changed: What|Removed |Added Keywords||wrong-code Summary|Wrong

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-30 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #8 f

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-29 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot |

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-23 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #6 fro

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-23 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #5 from Joost VandeVondele 2010-12-23 15:32:14 UTC --- (In reply to comment #4) Hi Dominique, I have read exactly this: > 3 If the variable is an unallocated allocatable array, expr shall have the > same > rank. If the variable is

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #4 from Dominique d'Humieres 2010-12-23 15:13:46 UTC --- I have raised a similar question in http://gcc.gnu.org/ml/fortran/2010-11/msg4.html answered in the following posts in this thread. The relevant part of the standard (from

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-23 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #3 from Joost VandeVondele 2010-12-23 13:56:29 UTC --- OK, more checking. F2003 specifies that the lhs should only be deallocated if it differs in shape. a and b have the same shape here.

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-23 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #2 from Joost VandeVondele 2010-12-23 13:46:50 UTC --- (In reply to comment #1) > > ... so I would not expect this. > > Why? that would imply that F95 code and F2003 code are not compatible ? Or was this not allowed in F95 (certainl

[Bug fortran/47051] [4.6 Regression] wrong reallocate

2010-12-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051 --- Comment #1 from Dominique d'Humieres 2010-12-23 13:36:40 UTC --- > ... so I would not expect this. Why?