public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45909] New: f951.exe: internal compiler error: Segmentation fault
@ 2010-10-06 10:13 nma at 12000 dot org
  2010-10-06 10:19 ` [Bug fortran/45909] " Joost.VandeVondele at pci dot uzh.ch
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nma at 12000 dot org @ 2010-10-06 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: f951.exe: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: nma@12000.org


Created attachment 21970
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21970
this is the only extra file created when I typed gfortran -save-temps  t.f90

I was playing around with gfortran. This small fortran code generated the seg
fault in the compiler. (it is probably not valid code, do not know).

-----------------------
program main
integer, parameter :: my_number=3
INTEGER, PARAMETER :: MaxNLevels = 100


TYPE LevelSpecsType
  INTEGER :: NLevels
  REAL, DIMENSION(MaxNLevels) :: LevelHeight
END TYPE LevelSpecsType

real :: zerosData(MaxNLevels - my_number ) = 0.0

TYPE(LevelSpecsType), PARAMETER :: PoorInputLevelSpecs = &
& LevelSpecsType(my_number,(/0.,610.,1500.,  zerosData /))

end program
-----------------------
$ gfortran -save-temps  t.f90
f951.exe: 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.

$ uname -a
MINGW32_NT-6.1 ME-PC 1.0.15(0.47/3/2) 2010-07-06 22:04 i686 Msys

$ gfortran --version
GNU Fortran (GCC) 4.5.0


$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure
--enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions
--wi
th-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry
--enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 (GCC)


attached t.s file created

thanks
--Nasser


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

end of thread, other threads:[~2011-03-12 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 10:13 [Bug fortran/45909] New: f951.exe: internal compiler error: Segmentation fault nma at 12000 dot org
2010-10-06 10:19 ` [Bug fortran/45909] " Joost.VandeVondele at pci dot uzh.ch
2010-12-27  0:50 ` [Bug fortran/45909] [4.4/4.5] internal compiler error dfranke at gcc dot gnu.org
2011-03-12 10:15 ` fxcoudert 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).