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/12456] please recognize Fortran STRING(K:K) as single


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
________________________________________________________________________


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