public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32814]  New: backslash zero no longer writes null in string
@ 2007-07-18 22:43 jhettmer at doprad dot com
  2007-07-19  2:10 ` [Bug fortran/32814] " jvdelisle at gcc dot gnu dot org
  2007-07-19 19:05 ` jhettmer at doprad dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jhettmer at doprad dot com @ 2007-07-18 22:43 UTC (permalink / raw)
  To: gcc-bugs

Related to resolved bug 30278.  The handling of backslash has fundamentally
changed since 3.2.2 and earlier.  Specifically it USED to allow inserting a
null at the end of a string (CRITICAL for communicating with C) and I see now
that there is a list of honored excapes and null (\0) seems not to be one of
them.  The still large Fortran part of our application (55000 lines) contains
nearly a thousand instances of \0 in strings needed by newer C functions and
appending //char(0) everywhere is decidedly ugly as well as expensive.  I
believe this should be considered a bug.


-- 
           Summary: backslash zero no longer writes null in string
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jhettmer at doprad dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32814


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/32814] backslash zero no longer writes null in string
  2007-07-18 22:43 [Bug fortran/32814] New: backslash zero no longer writes null in string jhettmer at doprad dot com
@ 2007-07-19  2:10 ` jvdelisle at gcc dot gnu dot org
  2007-07-19 19:05 ` jhettmer at doprad dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-07-19  2:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jvdelisle at gcc dot gnu dot org  2007-07-19 02:10 -------
This bug has been fixed in 4.3.  This was pr32223.  There are no plans to back
port this at the moment.  Have you tried using binaries for 4.3 from Fortran
wiki?

Or build it youself?

*** This bug has been marked as a duplicate of 32223 ***


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32814


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/32814] backslash zero no longer writes null in string
  2007-07-18 22:43 [Bug fortran/32814] New: backslash zero no longer writes null in string jhettmer at doprad dot com
  2007-07-19  2:10 ` [Bug fortran/32814] " jvdelisle at gcc dot gnu dot org
@ 2007-07-19 19:05 ` jhettmer at doprad dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jhettmer at doprad dot com @ 2007-07-19 19:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jhettmer at doprad dot com  2007-07-19 19:04 -------
Subject: Re:  backslash zero no longer writes null in string

Thanks.  Will do.

jvdelisle at gcc dot gnu dot org wrote:
> ------- Comment #1 from jvdelisle at gcc dot gnu dot org  2007-07-19 02:10 -------
> This bug has been fixed in 4.3.  This was pr32223.  There are no plans to back
> port this at the moment.  Have you tried using binaries for 4.3 from Fortran
> wiki?
>
> Or build it youself?
>
> *** This bug has been marked as a duplicate of 32223 ***
>
>
>   


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32814


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-19 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-18 22:43 [Bug fortran/32814] New: backslash zero no longer writes null in string jhettmer at doprad dot com
2007-07-19  2:10 ` [Bug fortran/32814] " jvdelisle at gcc dot gnu dot org
2007-07-19 19:05 ` jhettmer at doprad dot com

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).