public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36322]  New: ICE with PROCEDURE using a complicated interface
@ 2008-05-24 16:15 burnus at gcc dot gnu dot org
  2008-05-28 12:39 ` [Bug fortran/36322] " janus at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-05-24 16:15 UTC (permalink / raw)
  To: gcc-bugs

Found at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/ff7ae6c7a7860bca/60213205751117d4

The full program should be checked after fixing this problem.

==28722== Invalid read of size 4
==28722==    at 0x407597: gfc_is_compile_time_shape (array.c:2184)
==28722==    by 0x46B11B: resolve_symbol (resolve.c:6811)
==28722==    by 0x477326: traverse_ns (symbol.c:3014)
==28722==    by 0x4659DF: resolve_types (resolve.c:9179)


module other_fun
   use ISO_C_BINDING
   implicit none
   character, allocatable, save :: my_message(:)
   abstract interface
      function abstract_fun(x)
         use ISO_C_BINDING
         import my_message
         implicit none
         integer(C_INT) x(:)
         character(size(my_message),C_CHAR) abstract_fun(size(x))
      end function abstract_fun
   end interface
   contains
    subroutine get_funloc(x)
      procedure(abstract_fun):: x
    end subroutine get_funloc
end module other_fun


-- 
           Summary: ICE with PROCEDURE using a complicated interface
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-11-01 13:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-24 16:15 [Bug fortran/36322] New: ICE with PROCEDURE using a complicated interface burnus at gcc dot gnu dot org
2008-05-28 12:39 ` [Bug fortran/36322] " janus at gcc dot gnu dot org
2008-05-31 11:04 ` janus at gcc dot gnu dot org
2008-05-31 11:19 ` janus at gcc dot gnu dot org
2008-05-31 11:45 ` janus at gcc dot gnu dot org
2008-06-04 21:06 ` janus at gcc dot gnu dot org
2008-06-04 21:18 ` janus at gcc dot gnu dot org
2008-06-04 22:45 ` burnus at gcc dot gnu dot org
2008-06-04 22:47 ` burnus at gcc dot gnu dot org
2008-06-04 23:37 ` janus at gcc dot gnu dot org
2008-11-01 13:26 ` janus at gcc dot gnu dot org
2008-11-01 13:34 ` janus at gcc dot gnu dot 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).