This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/12456] please recognize Fortran STRING(K:K) as single
- From: "arobb at mva dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2003 13:19:34 -0000
- Subject: [Bug fortran/12456] please recognize Fortran STRING(K:K) as single
- References: <20030930084611.12456.arobb@mva.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12456
------- Additional Comments From arobb at mva dot co dot uk 2003-09-30 13:19 -------
Subject: Re: please recognize Fortran STRING(K:K)
as single
Thanks for getting back to me,
This is a performance issue.
Changing a character in a FORTRAN string currently requires a call to
_s_cpy.
(Whereas changing a character in an array does not.)
I am looking for similar compiled code for:
CHARACTER A(6)
DO I=1,6
A(I)=CHAR(I)
ENDDO
and:
CHARACTER A*6
DO I=1,6
A(I:I)=CHAR(I)
ENDDO
Apart from being orders of magnitude slower, this is not a bug.
I tried to log this with the lowest of priorities.
Regards,
Andy Robb.
>>> "bdavis9659 at comcast dot net" <gcc-bugzilla@gcc.gnu.org>
30/09/03 13:46:52 >>>
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12456
------- Additional Comments From bdavis9659 at comcast dot net
2003-09-30 12:46 -------
Is this a performance issue or a "correctness" issue ?
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a
proactive
anti-virus service working around the clock, around the globe,
visit:
http://www.star.net.uk
________________________________________________________________________
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________