public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36276]  New: possible issue with opening fortran files?
@ 2008-05-20 10:16 jv244 at cam dot ac dot uk
  2008-05-20 10:17 ` [Bug fortran/36276] " jv244 at cam dot ac dot uk
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-05-20 10:16 UTC (permalink / raw)
  To: gcc-bugs

compiling the testcase file (derived from CP2K) as:

valgrind --tool=memcheck
/data03/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/f951
lapack.f -march=k8 -quiet -dumpbase lapack.F -auxbase lapack -ffree-form
-fpreprocessed -fintrinsic-modules-path
/data03/vondele/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/finclude
-o lapack.s

yields the following error with valgrind:

==1593== Invalid read of size 1
==1593==    at 0xB51CD1: linemap_add (line-map.c:111)
==1593==    by 0xB52040: linemap_line_start (line-map.c:227)
==1593==    by 0x46F0CC: load_file (scanner.c:1872)
==1593==    by 0x46F574: gfc_new_file (scanner.c:1912)
==1593==    by 0x48630F: gfc_init (f95-lang.c:288)
==1593==    by 0x7016E8: toplev_main (toplev.c:2041)
==1593==    by 0x4C7F153: (below main) (in /lib64/libc-2.4.so)
==1593==  Address 0x4F31628 is 0 bytes inside a block of size 47 free'd
==1593==    at 0x4A2066B: free (vg_replace_malloc.c:233)
==1593==    by 0x46ED61: preprocessor_line (scanner.c:1642)
==1593==    by 0x46EE8C: load_file (scanner.c:1800)
==1593==    by 0x46F574: gfc_new_file (scanner.c:1912)
==1593==    by 0x48630F: gfc_init (f95-lang.c:288)
==1593==    by 0x7016E8: toplev_main (toplev.c:2041)
==1593==    by 0x4C7F153: (below main) (in /lib64/libc-2.4.so)


-- 
           Summary: possible issue with opening fortran files?
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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

end of thread, other threads:[~2008-06-21 21:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 10:16 [Bug fortran/36276] New: possible issue with opening fortran files? jv244 at cam dot ac dot uk
2008-05-20 10:17 ` [Bug fortran/36276] " jv244 at cam dot ac dot uk
2008-05-20 15:29 ` jv244 at cam dot ac dot uk
2008-05-22 20:00 ` [Bug fortran/36276] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-05-28 22:10 ` rguenth at gcc dot gnu dot org
2008-05-29 12:41 ` burnus at gcc dot gnu dot org
2008-06-06 15:04 ` rguenth at gcc dot gnu dot org
2008-06-14 16:48 ` burnus at gcc dot gnu dot org
2008-06-14 17:00 ` burnus at gcc dot gnu dot org
2008-06-16 17:55 ` burnus at gcc dot gnu dot org
2008-06-20 13:58 ` lauras at gcc dot gnu dot org
2008-06-21 10:03 ` [Bug fortran/36276] [4.3 " burnus at gcc dot gnu dot org
2008-06-21 15:31 ` lauras at gcc dot gnu dot org
2008-06-21 21:40 ` lauras 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).