This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/54070] Wrong code with allocatable deferred-length (array) function results


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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-07-24 14:39:54 UTC ---
Dominique mentions that the failure of the array test case seems to be a
regression between Rev. 188654 and 188694. Well, there was only one commit
during that time (Rev. 188692, 2012-06-16): The one for PR 53642 / PR45170:
"Ensure that the RHS string length is evaluated before the deferred-length LHS
is reallocated."

Using my (older) build of Rev. 187316 (2012-05-09), the array test case fails
with the same error as today, but the scalar example of comment 0 works. (The
dump looks fine and identical to today's trunk plus patch of comment 2.)

Thus, the scalar version got broken between 187316 and 188654; the array
version got repaired after 187316 and got broken again before 188694 (i.e. with
188692).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]