public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31922]  New: Accessing uninitialized variable for print *, trim(blank_string)
@ 2007-05-14 18:25 burnus at gcc dot gnu dot org
  2007-05-14 19:24 ` [Bug fortran/31922] " burnus at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-05-14 18:25 UTC (permalink / raw)
  To: gcc-bugs

program x
  implicit none
  character(20) :: ch
  ch = ' '
  print '(a)', trim(ch)
end program x

valgrind:
==23260== Conditional jump or move depends on uninitialised value(s)
==23260==    at 0x4EBD506: formatted_transfer_scalar (transfer.c:888)
==23260==    by 0x4EBDFCC: formatted_transfer (transfer.c:1362)
==23260==    by 0x4009CE: MAIN__ (in /dev/shm/a.out)
==23260==    by 0x400A1B: main (fmain.c:22)


-- 
           Summary: Accessing uninitialized variable for print *,
                    trim(blank_string)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-05-20 23:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-14 18:25 [Bug fortran/31922] New: Accessing uninitialized variable for print *, trim(blank_string) burnus at gcc dot gnu dot org
2007-05-14 19:24 ` [Bug fortran/31922] " burnus at gcc dot gnu dot org
2007-05-15  2:38 ` jvdelisle at gcc dot gnu dot org
2007-05-15  7:52 ` burnus at gcc dot gnu dot org
2007-05-16  0:38 ` jvdelisle at gcc dot gnu dot org
2007-05-16  0:40 ` [Bug fortran/31922] [4.2 only] " jvdelisle at gcc dot gnu dot org
2007-05-20 23:00 ` jvdelisle at gcc dot gnu dot 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).