public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/46911] New: [4.6 Regression] ICE: SIGSEGV in add_name_and_src_coords_attributes (dwarf2out.c:17792) with -flto -g
@ 2010-12-12 17:16 zsojka at seznam dot cz
  2010-12-16 14:32 ` [Bug lto/46911] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-12 17:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: SIGSEGV in
                    add_name_and_src_coords_attributes (dwarf2out.c:17792)
                    with -flto -g
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


----- testcase.f -----
      common/main1/ eps(2)
      call dalie6s(iqmod6,1,wx,cor6d)
      end
----------------------
reduced from gfortran.dg/lto/20091015-1_2.f

Compiler output:
$ gfortran -O -finline-small-functions -flto -g testcase.f -r -nostdlib
==5279== Invalid read of size 2
==5279==    at 0x5C75BC: add_name_and_src_coords_attributes (dwarf2out.c:17792)
==5279==    by 0x5D8104: gen_variable_die (dwarf2out.c:19400)
==5279==    by 0x5DCF14: gen_decl_die (dwarf2out.c:20981)
==5279==    by 0x5DA34A: decls_for_scope (dwarf2out.c:20555)
==5279==    by 0x5DF38B: gen_block_die (dwarf2out.c:19669)
==5279==    by 0x5DA37D: decls_for_scope (dwarf2out.c:20567)
==5279==    by 0x5DF582: gen_block_die (dwarf2out.c:19701)
==5279==    by 0x5DA37D: decls_for_scope (dwarf2out.c:20567)
==5279==    by 0x5DA8FF: gen_subprogram_die (dwarf2out.c:19277)
==5279==    by 0x5DCDA2: gen_decl_die (dwarf2out.c:20914)
==5279==    by 0x5E00E8: dwarf2out_function_decl (dwarf2out.c:21296)
==5279==    by 0x638FCC: rest_of_handle_final (final.c:4286)
==5279==    by 0x771ADE: execute_one_pass (passes.c:1553)
==5279==    by 0x771DA4: execute_pass_list (passes.c:1608)
==5279==    by 0x771DB6: execute_pass_list (passes.c:1609)
==5279==    by 0x771DB6: execute_pass_list (passes.c:1609)
==5279==    by 0x8B2605: tree_rest_of_compilation (tree-optimize.c:422)
==5279==    by 0xA77EB1: cgraph_expand_function (cgraphunit.c:1508)
==5279==    by 0xA7A489: cgraph_optimize (cgraphunit.c:1567)
==5279==    by 0x4FF78E: lto_main (lto.c:2453)
==5279==    by 0x85BDE7: toplev_main (toplev.c:579)
==5279==    by 0x6369BBC: (below main) (in /lib64/libc-2.11.2.so)
==5279==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==5279== 
In file included from :0:0:
testcase.f: In function 'main':
testcase.f:3: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.
lto-wrapper:
/mnt/svn/gcc-trunk/binary-167643-lto-fortran-checking-yes-rtl-df/bin/gfortran
returned 1 exit status
collect2: lto-wrapper returned 1 exit status

Tested revisions:
r167643 - crash
r165699 - crash
r161659 - OK
4.5 r166509 - OK


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

end of thread, other threads:[~2011-03-01  9:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-12 17:16 [Bug lto/46911] New: [4.6 Regression] ICE: SIGSEGV in add_name_and_src_coords_attributes (dwarf2out.c:17792) with -flto -g zsojka at seznam dot cz
2010-12-16 14:32 ` [Bug lto/46911] " rguenth at gcc dot gnu.org
2011-01-18 18:22 ` jakub at gcc dot gnu.org
2011-01-19 17:22 ` rguenth at gcc dot gnu.org
2011-01-19 17:26 ` jakub at gcc dot gnu.org
2011-01-19 17:38 ` rguenth at gcc dot gnu.org
2011-02-23 12:39 ` rguenth at gcc dot gnu.org
2011-02-23 13:41 ` rguenth at gcc dot gnu.org
2011-02-23 14:50 ` rguenth at gcc dot gnu.org
2011-03-01  9:45 ` rguenth at gcc dot gnu.org
2011-03-01  9:46 ` rguenth 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).