public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "brendanarnold at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/47285] New: G format outputs wrong number of characters when decimal supplied in literal Date: Fri, 14 Jan 2011 00:03:00 -0000 [thread overview] Message-ID: <bug-47285-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47285 Summary: G format outputs wrong number of characters when decimal supplied in literal Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: brendanarnold@gmail.com Try this program, PROGRAM FOO WRITE(*,100) -10000. 100 FORMAT(G5.5E5) STOP END This outputs '-10000.' i.e. is 7 characters when it should be 5 c.f. this program PROGRAM FOO WRITE(*,100) -10000 100 FORMAT(G5.5E5) STOP END Note the decimal point in the literal. This outputs '*****'
next reply other threads:[~2011-01-13 23:40 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-14 0:03 brendanarnold at gmail dot com [this message] 2011-01-14 7:16 ` [Bug libfortran/47285] " jvdelisle at gcc dot gnu.org 2011-01-14 7:22 ` burnus at gcc dot gnu.org 2011-01-14 20:04 ` jvdelisle at gcc dot gnu.org 2011-01-22 14:26 ` jvdelisle at gcc dot gnu.org 2011-01-27 3:22 ` jvdelisle at gcc dot gnu.org 2011-01-27 3:32 ` jvdelisle at gcc dot gnu.org 2011-01-28 23:34 ` jvdelisle at gcc dot gnu.org 2011-02-02 18:04 ` dnovillo at gcc dot gnu.org 2011-02-02 18:21 ` dnovillo at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-47285-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).