This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52012] [4.6/4.7 Regression] Wrong-code with realloc on assignment and RESHAPE w/ ORDER=
- From: "paul.richard.thomas at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jan 2012 08:23:18 +0000
- Subject: [Bug fortran/52012] [4.6/4.7 Regression] Wrong-code with realloc on assignment and RESHAPE w/ ORDER=
- Auto-submitted: auto-generated
- References: <bug-52012-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52012
--- Comment #7 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> 2012-01-31 08:23:18 UTC ---
Dear Tobias,
> Thanks for fixing the more pressing issue.
>
> (I think the other issue - second item in comment 4 - is not fixed; at least I
> still get the wrong bound of "1 3". Expected: The bounds remain the same w/o
> reallocation - only if realloced, they change to have lbound == 1.)
I am going to check this. When the original patch was written, I did
exactly as you say. However, this caused a number of regressions,
where the bounds were expected to be unity based.
Cheers
Paul