http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46896
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|4.3.6 |4.6.0
Summary|[4.3/4.4/4.5 Regression] |[4.3/4.4/4.5/4.6
|Wrong code with |Regression] Wrong code with
|transpose(a) passed to |transpose(a) passed to
|subroutine |subroutine
--- Comment #14 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-14
09:22:06 UTC ---
Close PR - won't fix for 4.3 to 4.5, FIXED for 4.6.
Reasoning for closing the PR without backporting:
- Not backported so far
- Rather large patch
- Small patch possible, but with significant performance issues
- Old bug (since December 2005) and not reported for real-world code;
I think it is unlikely to be hit in real code as the example
is rather constructed*
* The bug only occurs if a subroutine accesses both a TRANSPOSEd variable,
which is passed as actual argument, and the same variable via host or use
association. In that case a temporary is needed for the actual argument.
Feel free to re-open if you think it really should be backported.