public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/59440] New: [4.9 Regression] ICE in force_decl_die, at dwarf2out.c:20111 with -g
@ 2013-12-09 23:03 anlauf at gmx dot de
  2013-12-10 12:03 ` [Bug fortran/59440] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: anlauf at gmx dot de @ 2013-12-09 23:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59440
           Summary: [4.9 Regression] ICE in force_decl_die, at
                    dwarf2out.c:20111 with -g
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anlauf at gmx dot de

Hi,

with 4.9.0 rev.205822 the following code crashes with:

gfcbug126.f90:2:0: internal compiler error: in force_decl_die, at
dwarf2out.c:20111
   use mo_t_datum, only: qbit_conv
 ^
0x83eae74 force_decl_die
        ../../trunk/gcc/dwarf2out.c:20111
0x83eb3be gen_namelist_decl
        ../../trunk/gcc/dwarf2out.c:20632
0x83e9087 gen_decl_die
        ../../trunk/gcc/dwarf2out.c:20435
0x86d0e80 emit_debug_global_declarations(tree_node**, int)
        ../../trunk/gcc/toplev.c:532
0x858faee write_global_declarations()
        ../../trunk/gcc/langhooks.c:327

% cat mo_t_datum.f90
module mo_t_datum
  implicit none
  integer :: qbit_conv = 0
end module mo_t_datum
% cat gfcbug126.f90
MODULE gfcbug126
  use mo_t_datum, only: qbit_conv
  implicit none
  namelist /OBSERVATIONS/ qbit_conv
end module gfcbug126

Command line:

% /opt/gcc/4.9/bin/gfortran  -c mo_t_datum.f90 gfcbug126.f90 -g

It is important that the code is split into 2 files, otherwise there is
no crash.


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

end of thread, other threads:[~2014-01-17 19:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-09 23:03 [Bug fortran/59440] New: [4.9 Regression] ICE in force_decl_die, at dwarf2out.c:20111 with -g anlauf at gmx dot de
2013-12-10 12:03 ` [Bug fortran/59440] " rguenth at gcc dot gnu.org
2013-12-11 15:05 ` janus at gcc dot gnu.org
2013-12-11 22:29 ` burnus at gcc dot gnu.org
2013-12-11 22:52 ` janus at gcc dot gnu.org
2013-12-12 19:59 ` burnus at gcc dot gnu.org
2013-12-12 22:30 ` anlauf at gmx dot de
2013-12-13  7:26 ` burnus at gcc dot gnu.org
2013-12-18 22:01 ` burnus at gcc dot gnu.org
2013-12-18 22:34 ` burnus at gcc dot gnu.org
2013-12-19 15:40 ` rguenth at gcc dot gnu.org
2014-01-17  9:24 ` jakub at gcc dot gnu.org
2014-01-17 14:43 ` jakub at gcc dot gnu.org
2014-01-17 14:54 ` jakub at gcc dot gnu.org
2014-01-17 19:52 ` jakub 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).