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/52012] [4.6/4.7 Regression] Wrong-code with realloc on assignment and RESHAPE w/ ORDER=


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


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