[Bug fortran/59398] Wrong bounds for allocatable result and for

2016-01-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/59398] Wrong bounds for allocatable result and for

2015-08-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC||pault at

[Bug fortran/59398] Wrong bounds for allocatable result and for

2014-12-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #9 from Dominique d'Humieres dominiq at lps dot ens.fr --- Any progress or should this PR be closed as INVALID?

[Bug fortran/59398] Wrong bounds for allocatable result and for

2014-01-08 Thread loximann at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #8 from Sergio Losilla loximann at gmail dot com --- Steve argues that it does not say whether its actual bounds are a characteristic. If you assume that only the shape matters, then the gfortran behavior is not a bug. I think it

[Bug fortran/59398] Wrong bounds for allocatable result and for

2014-01-06 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug fortran/59398] Wrong bounds for allocatable result and for

2014-01-06 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #7 from Harald Anlauf anlauf at gmx dot de --- (In reply to Dominique d'Humieres from comment #6) (In reply to Harald Anlauf from comment #1) Thus the assignment from the allocatable function result is broken. Is it true? I

[Bug fortran/59398] Wrong bounds for allocatable result and for

2013-12-09 Thread loximann at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #5 from Sergio Losilla loximann at gmail dot com --- (In reply to Harald Anlauf from comment #3) OK, so we seem to agree that gfortran is not assigning the correct bounds, right? shape(-3:3) == shape (-2:4) == shape(1:7) Shape is

[Bug fortran/59398] Wrong bounds for allocatable result and for

2013-12-05 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 Harald Anlauf anlauf at gmx dot de changed: What|Removed |Added CC||anlauf at gmx dot de

[Bug fortran/59398] Wrong bounds for allocatable result and for

2013-12-05 Thread loximann at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #2 from Sergio Losilla loximann at gmail dot com --- There should be no need to deallocate. From the excerpt you copied: If the variable is an allocated allocatable variable, it is deallocated if expr is an array of different shape.

[Bug fortran/59398] Wrong bounds for allocatable result and for

2013-12-05 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #3 from Harald Anlauf anlauf at gmx dot de --- (In reply to Sergio Losilla from comment #2) There should be no need to deallocate. From the excerpt you copied: If the variable is an allocated allocatable variable, it is deallocated

[Bug fortran/59398] Wrong bounds for allocatable result and for

2013-12-05 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398 --- Comment #4 from Harald Anlauf anlauf at gmx dot de --- I also tested the modified case with NAG 5.3.2(951). It agrees with gfortran. I now wonder whether there is something special about allocatable function results.