public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nma at 12000 dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45909] New: f951.exe: internal compiler error: Segmentation fault Date: Wed, 06 Oct 2010 10:13:00 -0000 [thread overview] Message-ID: <bug-45909-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2010-10-06 10:13 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-06 10:13 nma at 12000 dot org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-45909-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).