public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30408]  New: [gfortran, 4.3 regression]: ICE on valid with -Wall
@ 2007-01-08 13:08 martin at mpa-garching dot mpg dot de
  2007-01-08 13:27 ` [Bug fortran/30408] " burnus at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2007-01-08 13:08 UTC (permalink / raw)
  To: gcc-bugs

Current mainline gfortran ICEs when compiling the following code with -Wall:

module linebufmod
implicit none

type linebuf
  character(len=80), dimension(:), pointer :: data=>NULL()
end type linebuf

contains

subroutine linebuf_add (buf)
  type(linebuf), intent(inout) :: buf

  buf%data(1) = "blah"
end subroutine linebuf_add

end module linebufmod


~/tmp>gfortran -v -c linebufmod.F90 -Wall
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/martin/gcc/configure
--prefix=/afs/mpa/data/martin/ugcc --enable-languages=c++,fortran
Thread model: posix
gcc version 4.3.0 20070108 (experimental)
 /afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1 -E
-lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v linebufmod.F90
-mtune=generic -Wall -o /tmp/ccEpYWVk.f95
ignoring nonexistent directory
"/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /afs/mpa/data/martin/ugcc/include
 /afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/include
 /usr/include
End of search list.
 /afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951
/tmp/ccEpYWVk.f95 -ffree-form -quiet -dumpbase linebufmod.F90 -mtune=generic
-auxbase linebufmod -Wall -version -fpreprocessed -fintrinsic-modules-path
/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/finclude -o
/tmp/cc0Iohmw.s
GNU F95 version 4.3.0 20070108 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.0 20070108 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
linebufmod.F90:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [gfortran, 4.3 regression]: ICE on valid with -Wall
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2007-01-14 14:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-08 13:08 [Bug fortran/30408] New: [gfortran, 4.3 regression]: ICE on valid with -Wall martin at mpa-garching dot mpg dot de
2007-01-08 13:27 ` [Bug fortran/30408] " burnus at gcc dot gnu dot org
2007-01-08 17:42 ` kargl at gcc dot gnu dot org
2007-01-08 18:55 ` kargl at gcc dot gnu dot org
2007-01-09  6:10 ` jvdelisle at gcc dot gnu dot org
2007-01-10  4:35 ` jvdelisle at gcc dot gnu dot org
2007-01-10  4:37 ` jvdelisle at gcc dot gnu dot org
2007-01-10 19:21 ` pinskia at gcc dot gnu dot org
2007-01-14 14:50 ` pault 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).