https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59398
Dominique d'Humieres changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
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
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?
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
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
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
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
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
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.
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
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.
11 matches
Mail list logo