public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37829]  New: ICE in resolve_symbol
@ 2008-10-14 20:09 jakub at gcc dot gnu dot org
  2008-11-28 21:25 ` [Bug fortran/37829] " dfranke at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-14 20:09 UTC (permalink / raw)
  To: gcc-bugs

module modx
  use, intrinsic :: iso_c_binding
  common /spaces/ sp
  integer (c_long) :: sp
  bind (c) :: /spaces/
end module modx

block data
  use modx
  double precision sums
  common /cblock/ sums (4)
  data (sums (i), i = 1,4) / 1.0, 2.0, 3.0, 4.0 /
end

ICEs in resolve_symbol:
9102  /* Make sure that the derived type has been resolved and that the
9103     derived type is visible in the symbol's namespace, if it is a
9104     module function and is not PRIVATE.  */
9105  if (sym->ts.type == BT_DERIVED
9106      && sym->ts.derived->attr.use_assoc
9107      && sym->ns->proc_name->attr.flavor == FL_MODULE)

The first 2 conditions are true, but sym->ns->proc_name is NULL.  sym is
c_funloc, with sym->module "__iso_c_binding".


-- 
           Summary: ICE in resolve_symbol
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

end of thread, other threads:[~2010-08-14 16:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-14 20:09 [Bug fortran/37829] New: ICE in resolve_symbol jakub at gcc dot gnu dot org
2008-11-28 21:25 ` [Bug fortran/37829] " dfranke at gcc dot gnu dot org
2008-12-08 21:07 ` mikael at gcc dot gnu dot org
2008-12-09  8:43 ` dominiq at lps dot ens dot fr
2008-12-09 13:54 ` mikael at gcc dot gnu dot org
2008-12-09 17:30 ` burnus at gcc dot gnu dot org
2008-12-15 12:50 ` dominiq at lps dot ens dot fr
2009-10-23 15:02 ` dominiq at lps dot ens dot fr
2009-10-24 22:42 ` mikael at gcc dot gnu dot org
2009-10-25 15:34 ` dominiq at lps dot ens dot fr
2009-12-06 15:40 ` [Bug fortran/37829] ICE Incorrect name mangling with iso_c_binding jvdelisle at gcc dot gnu dot org
2010-07-09  8:39 ` [Bug fortran/37829] " burnus at gcc dot gnu dot org
2010-07-09  8:48 ` burnus at gcc dot gnu dot org
2010-08-05 17:51 ` mikael at gcc dot gnu dot org
2010-08-14  9:31 ` burnus at gcc dot gnu dot org
2010-08-14 16:24 ` burnus 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).