public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46459] New: ICE (segfault): Invalid read in compare_actual_formal [error recovery]
@ 2010-11-12 23:56 burnus at gcc dot gnu.org
  2011-02-18 21:17 ` [Bug fortran/46459] " mikael at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-11-12 23:56 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE (segfault): Invalid read in compare_actual_formal
                    [error recovery]
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org


The following program segfaults after printing the diagnostic:

call sub(1)
        1
Error: Dummy argument 'j' of procedure 'sub' at (1) has an attribute that
requires an explicit interface for this procedure


subroutine sub(j)
  integer, volatile :: j
end subroutine sub

call sub(1)
end


Valgrind shows:

 Invalid read of size 8
    at 0x4E180F: compare_actual_formal (interface.c:2270)
    by 0x4E332D: gfc_procedure_use (interface.c:2678)
    by 0x522834: resolve_global_procedure (resolve.c:2195)
    by 0x52A634: resolve_call (resolve.c:3550)


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

end of thread, other threads:[~2013-06-14 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12 23:56 [Bug fortran/46459] New: ICE (segfault): Invalid read in compare_actual_formal [error recovery] burnus at gcc dot gnu.org
2011-02-18 21:17 ` [Bug fortran/46459] " mikael at gcc dot gnu.org
2011-02-18 21:18 ` mikael at gcc dot gnu.org
2011-03-01 15:53 ` dominiq at lps dot ens.fr
2011-03-04 23:37 ` mikael at gcc dot gnu.org
2013-06-14 20:36 ` mikael 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).