public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50227] New: ICE on valid with allocatable class component
@ 2011-08-29 16:11 abenson at caltech dot edu
  2011-08-29 16:14 ` [Bug fortran/50227] " abenson at caltech dot edu
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: abenson at caltech dot edu @ 2011-08-29 16:11 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50227
           Summary: ICE on valid with allocatable class component
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: abenson@caltech.edu


Created attachment 25128
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25128
Contains the files which constitute the test cases.

The attached code causes an ICE with gfortran 4.7 r178129. Note that if I 
combine the code in the two files into a single file (as in the attached 
combined.F90), and compile that it works without any problem.

$ gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.7/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.7/libexec/gcc/i686-pc-linux-
gnu/4.7.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.7/configure --prefix=/usr/local/gcc-4.7 --enable-
languages=c,c++,fortran --disable-multilib
Thread model: posix
gcc version 4.7.0 20110827 (experimental) (GCC)

$ gfortran -c module.F90 -o module.o

$ gfortran -c program.F90 -o program.o
program.F90: In function ‘test’:
program.F90:4:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gfortran -c combined.F90  -o combined.o


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

end of thread, other threads:[~2011-09-04 10:50 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 16:11 [Bug fortran/50227] New: ICE on valid with allocatable class component abenson at caltech dot edu
2011-08-29 16:14 ` [Bug fortran/50227] " abenson at caltech dot edu
2011-08-29 16:15 ` abenson at caltech dot edu
2011-08-29 16:15 ` [Bug fortran/50227] [4.7 Regression] " dominiq at lps dot ens.fr
2011-08-29 16:27 ` [Bug fortran/50227] [4.7 Regression] [OOP] " janus at gcc dot gnu.org
2011-08-29 16:36 ` janus at gcc dot gnu.org
2011-08-29 17:34 ` dominiq at lps dot ens.fr
2011-08-29 17:36 ` [Bug fortran/50227] [4.7 Regression] [OOP] ICE-on-valid with allocatable class variable janus at gcc dot gnu.org
2011-08-29 17:39 ` dominiq at lps dot ens.fr
2011-08-29 17:41 ` janus at gcc dot gnu.org
2011-08-29 18:03 ` dominiq at lps dot ens.fr
2011-08-29 18:23 ` dominiq at lps dot ens.fr
2011-08-29 19:29 ` janus at gcc dot gnu.org
2011-08-29 20:37 ` janus at gcc dot gnu.org
2011-08-30 17:49 ` janus at gcc dot gnu.org
2011-08-30 17:54 ` dominiq at lps dot ens.fr
2011-08-31 11:35 ` janus at gcc dot gnu.org
2011-09-04 10:46 ` janus at gcc dot gnu.org
2011-09-04 10:49 ` janus at gcc dot gnu.org
2011-09-04 10:50 ` janus at gcc dot gnu.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).