public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/43136] New: Excess copy-in/copy-out with character argument
@ 2010-02-22 5:54 pault at gcc dot gnu dot org
2010-02-22 9:02 ` [Bug fortran/43136] " burnus at gcc dot gnu dot org
0 siblings, 1 reply; 4+ messages in thread
From: pault at gcc dot gnu dot org @ 2010-02-22 5:54 UTC (permalink / raw)
To: gcc-bugs
After fixing, 43072 and friends, one excess copy-in and copy-out remains, where
a substring describes the declared string length. The testcase is in
internal_pack_9.f90:
subroutine foo2
implicit none
external foo
character(len=20) :: str(2) = '1234567890'
call foo(str(:)(1:20)) ! This is still not fixed.
end
Paul
--
Summary: Excess copy-in/copy-out with character argument
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pault at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43136
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/43136] Excess copy-in/copy-out with character argument
2010-02-22 5:54 [Bug fortran/43136] New: Excess copy-in/copy-out with character argument pault at gcc dot gnu dot org
@ 2010-02-22 9:02 ` burnus at gcc dot gnu dot org
0 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-02-22 9:02 UTC (permalink / raw)
To: gcc-bugs
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-02-22 09:01:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43136
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/43136] Excess copy-in/copy-out with character argument
[not found] <bug-43136-4@http.gcc.gnu.org/bugzilla/>
2010-12-15 21:30 ` tkoenig at gcc dot gnu.org
@ 2011-01-08 22:59 ` tkoenig at gcc dot gnu.org
1 sibling, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2011-01-08 22:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43136
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-01-08 22:18:31 UTC ---
We have to watch out for aliasing here; if
foo changes the arguments, we have to have a copy.
Compare PR 47065.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/43136] Excess copy-in/copy-out with character argument
[not found] <bug-43136-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-15 21:30 ` tkoenig at gcc dot gnu.org
2011-01-08 22:59 ` tkoenig at gcc dot gnu.org
1 sibling, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2010-12-15 21:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43136
--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2010-12-15 21:30:28 UTC ---
See also PR 31821.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-08 22:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-22 5:54 [Bug fortran/43136] New: Excess copy-in/copy-out with character argument pault at gcc dot gnu dot org
2010-02-22 9:02 ` [Bug fortran/43136] " burnus at gcc dot gnu dot org
[not found] <bug-43136-4@http.gcc.gnu.org/bugzilla/>
2010-12-15 21:30 ` tkoenig at gcc dot gnu.org
2011-01-08 22:59 ` tkoenig at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).