public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46339] New: Internal compiler error
@ 2010-11-07  2:23 david.sagan at gmail dot com
  2010-11-07  8:24 ` [Bug fortran/46339] [4.3/4.4/4.5/4.6 Regression] ICE (segfault) in gfc_trans_pointer_assignment burnus at gcc dot gnu.org
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: david.sagan at gmail dot com @ 2010-11-07  2:23 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Internal compiler error
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: david.sagan@gmail.com


The test program is:


module tao_graph_setup_mod

type coor_struct    
  real :: vec(6)    
end type

type particle_struct
  type (coor_struct) r 
end type

contains

!---------------------------------------------------------

subroutine tao_phase_space_axis (p, axis)

type (particle_struct), optional, target :: p(:)
real, pointer, optional :: axis(:)

axis => p%r%vec(1)

end subroutine tao_phase_space_axis

end module



Running the program gives:

~/bmad/bmad_dist/test> gfortran err.f90
err.f90: In function 'tao_phase_space_axis':
err.f90:15: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.

~/bmad/bmad_dist/test> gfortran --version
GNU Fortran (GCC) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.

~/bmad/bmad_dist/test> uname -a
Darwin David-Sagans-Mac-mini.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr
23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386


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

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

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07  2:23 [Bug fortran/46339] New: Internal compiler error david.sagan at gmail dot com
2010-11-07  8:24 ` [Bug fortran/46339] [4.3/4.4/4.5/4.6 Regression] ICE (segfault) in gfc_trans_pointer_assignment burnus at gcc dot gnu.org
2010-11-13  7:15 ` jvdelisle at gcc dot gnu.org
2010-11-13  9:31 ` jvdelisle at gcc dot gnu.org
2010-11-13 19:10 ` burnus at gcc dot gnu.org
2010-11-14 18:14 ` jvdelisle at gcc dot gnu.org
2010-11-14 18:51 ` burnus at gcc dot gnu.org
2010-11-14 18:57 ` jvdelisle at gcc dot gnu.org
2010-11-15  6:53 ` jvdelisle at gcc dot gnu.org
2010-11-15  6:58 ` jvdelisle at gcc dot gnu.org
2010-11-15  8:37 ` jvdelisle at gcc dot gnu.org
2010-11-15 10:37 ` dominiq at lps dot ens.fr
2010-11-16  3:45 ` jvdelisle at gcc dot gnu.org
2010-11-16  4:59 ` jvdelisle at gcc dot gnu.org
2010-11-16  6:42 ` jvdelisle at gcc dot gnu.org
2010-11-16  7:42 ` jvdelisle at gcc dot gnu.org
2010-11-16  8:18 ` jvdelisle at gcc dot gnu.org
2010-11-16  8:23 ` burnus at gcc dot gnu.org
2010-11-16 15:11 ` paul.richard.thomas at gmail dot com
2010-11-19 18:02 ` jvdelisle at gcc dot gnu.org
2010-11-19 20:49 ` david.sagan at gmail dot com
2010-11-19 20:54 ` kargl at gcc dot gnu.org
2010-11-19 21:24 ` dominiq at lps dot ens.fr
2010-11-19 21:33 ` sgk at troutmask dot apl.washington.edu
2010-11-19 21:33 ` david.sagan at gmail dot com
2010-11-19 22:10 ` dominiq at lps dot ens.fr
2010-11-21  7:52 ` pault at gcc dot gnu.org
2010-11-25 20:16 ` [Bug fortran/46339] " 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).