[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-09-11 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #11 from Thomas Koenig 2011-09-11 09:16:08 UTC --- Author: tkoenig Date: Sun Sep 11 09:16:03 2011 New Revision: 178757 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178757 Log: 2011-09-11 Thomas Koenig Backport fron t

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-09-10 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #10 from Thomas Koenig 2011-09-10 14:07:01 UTC --- Author: tkoenig Date: Sat Sep 10 14:06:57 2011 New Revision: 178748 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178748 Log: 2011-09-10 Thomas Koenig PR fortran/4947

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-07-06 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-07-06 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #8 from Thomas Koenig 2011-07-06 18:50:50 UTC --- Author: tkoenig Date: Wed Jul 6 18:50:46 2011 New Revision: 175929 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175929 Log: 2011-07-06 Thomas Koenig Partial backport

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-28 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #7 from Thomas Koenig 2011-06-28 18:59:06 UTC --- Author: tkoenig Date: Tue Jun 28 18:59:04 2011 New Revision: 175594 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175594 Log: 2011-06-28 Thomas Koenig PR fortran/49479

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-27 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #6 from Thomas Koenig 2011-06-27 19:02:12 UTC --- A patch suggested by comment #4 fixes the failure. Regression-testing.

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-21 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #5 from Tobias Burnus 2011-06-21 09:30:32 UTC --- Actually, thinking about it: "RESHAPE(allocatable_array, shape)" is *not* allocatable. trans-expr.c has: 147 if (!sym->attr.pointer && !sym->attr.allocatable 148 && sym->as

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-21 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #4 from Tobias Burnus 2011-06-21 08:58:31 UTC --- (In reply to comment #3) > I think gfortran's convention is - and also TR 29113 requires - that the > addr_expr is not NULL if the variable is allocated - even if it is zero sized. Th

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-20 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 Tobias Burnus changed: What|Removed |Added Keywords||wrong-code CC|

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/49479] [4.6/4.7 Regression] reshape / optionals / zero sized arrays

2011-06-20 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49479 --- Comment #1 from Joost VandeVondele 2011-06-20 20:04:47 UTC --- the difference (I think) seems to be in the present check that has become if (data != 0B && (integer(kind=4)[0:] * restrict) data->data != 0B) instead of the original if (data