public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46060] New: gfortran crash when referencing procedure pointer
@ 2010-10-17 19:58 sjbespa at comcast dot net
  2010-10-18  2:18 ` [Bug fortran/46060] " kargl at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sjbespa at comcast dot net @ 2010-10-17 19:58 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: gfortran crash when referencing procedure pointer
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sjbespa@comcast.net


Created attachment 22072
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22072
module test_1.f90 which is referenced in the bug report

Compiling the module below causes a segmentation fault.

gfortran -c test_1.f90
test_1.f90: In function ‘test_subroutine’:
test_1.f90:20:0: internal compiler error: Segmentation fault

the crash occurs in last week's 4.6 trunk and 4.5.

========

gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin10.3.0/4.5.1/lto-wrapper
Target: x86_64-apple-darwin10.3.0
Configured with: ../gcc-4_5-branch/configure --prefix=/usr/local/gfortran
--enable-languages=c,c++,fortran
--with-gmp=/Users/fx/devel/gcc/ibin45/../irun45 --enable-bootstrap
--with-included-gettext --with-arch=nocona --with-tune=generic
Thread model: posix
gcc version 4.5.1 20100506 (prerelease) (GCC) 

=========

/volumes/dev/gfortran-4.6-trunk/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=/volumes/dev/gfortran-4.6-trunk/bin/gfortran
COLLECT_LTO_WRAPPER=/Volumes/dev/gfortran-4.6-trunk/bin/../libexec/gcc/x86_64-apple-darwin10/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gfortran-4.6-src/configure
--prefix=/volumes/dev/gfortran-4.6-trunk --enable-languages=fortran
--host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10
--target=x86_64-apple-darwin10
Thread model: posix
gcc version 4.6.0 20101013 (experimental) (GCC)


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

end of thread, other threads:[~2010-10-21 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-17 19:58 [Bug fortran/46060] New: gfortran crash when referencing procedure pointer sjbespa at comcast dot net
2010-10-18  2:18 ` [Bug fortran/46060] " kargl at gcc dot gnu.org
2010-10-18  6:43 ` burnus at gcc dot gnu.org
2010-10-18  9:48 ` janus at gcc dot gnu.org
2010-10-18 11:44 ` [Bug fortran/46060] [F03] procedure pointer component referenced without argument list janus at gcc dot gnu.org
2010-10-18 20:48 ` janus at gcc dot gnu.org
2010-10-21 11:32 ` janus at gcc dot gnu.org
2010-10-21 11:35 ` 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).