public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45794] New: internal compiler error: Segmentation fault
@ 2010-09-25 22:10 neil.n.carlson at gmail dot com
  2010-09-25 22:14 ` [Bug fortran/45794] [4.6 Regression] ICE: Segmentation fault in gfc_conv_procedure_call burnus at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: neil.n.carlson at gmail dot com @ 2010-09-25 22:10 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: neil.n.carlson@gmail.com


The following code causes an internal compiler error with the
current trunk:

$ gfortran --version
GNU Fortran (GCC) 4.6.0 20100924 (experimental)

subroutine foo (vector, mask)
  real :: vector(:)
  logical, optional :: mask(:)
  integer :: loc(1)
  if (present(mask)) then
    loc = maxloc(vector, mask)
  end if
end subroutine

$ gfortran -c bug3.f90 
bug3.f90: In function ‘foo’:
bug3.f90:6:0: internal compiler error: Segmentation fault

Note that this bug does not exist in 4.4 (or 4.5 I think).


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

end of thread, other threads:[~2010-11-12 23:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-25 22:10 [Bug fortran/45794] New: internal compiler error: Segmentation fault neil.n.carlson at gmail dot com
2010-09-25 22:14 ` [Bug fortran/45794] [4.6 Regression] ICE: Segmentation fault in gfc_conv_procedure_call burnus at gcc dot gnu.org
2010-09-30 11:18 ` rguenth at gcc dot gnu.org
2010-10-02 11:57 ` janus at gcc dot gnu.org
2010-11-12 20:27 ` jvdelisle at gcc dot gnu.org
2010-11-12 23:19 ` jvdelisle at gcc dot gnu.org
2010-11-12 23:25 ` jvdelisle at gcc dot gnu.org
2010-11-12 23:29 ` jvdelisle 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).