public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/46138] New: ICE: SIGSEGV in htab_hash_string (hashtab.c:847) with -g -fenable-icf-debug for almost any fortran program
@ 2010-10-22 16:40 zsojka at seznam dot cz
  2015-03-16  8:37 ` [Bug debug/46138] " burnus at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-22 16:40 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: SIGSEGV in htab_hash_string (hashtab.c:847) with
                    -g -fenable-icf-debug for almost any fortran program
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


---- testcase.f90 ----
PROGRAM main
CONTAINS
END PROGRAM main
----------------------

Compiler output:
$ gcc -g -fenable-icf-debug testcase.f90         
testcase.f90:1: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.

Related valgrind output:
==18307== Invalid read of size 1
==18307==    at 0x10A1D90: htab_hash_string (hashtab.c:847)
==18307==    by 0x6487CE: lookup_filename (dwarf2out.c:21226)
==18307==    by 0x659BD3: add_src_coords_attributes (dwarf2out.c:17594)
==18307==    by 0x65B36A: add_name_and_src_coords_attributes
(dwarf2out.c:17640)
==18307==    by 0x670FA5: gen_subprogram_die (dwarf2out.c:18838)
==18307==    by 0x665F88: force_decl_die (dwarf2out.c:20493)
==18307==    by 0x66605F: dwarf2out_direct_call (dwarf2out.c:21355)
==18307==    by 0x6CD8CC: final_scan_insn (final.c:2685)
==18307==    by 0x6CDA9D: final (final.c:1719)
==18307==    by 0x6CDED8: rest_of_handle_final (final.c:4231)
==18307==    by 0x7F2B7E: execute_one_pass (passes.c:1560)
==18307==    by 0x7F2E14: execute_pass_list (passes.c:1615)
==18307==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==18307== 
testcase.f90:1: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.

Tested revisions:
r165822 - crash
r158095 - crash
4.5 r165781 - crash


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

* [Bug debug/46138] ICE: SIGSEGV in htab_hash_string (hashtab.c:847) with -g -fenable-icf-debug for almost any fortran program
  2010-10-22 16:40 [Bug debug/46138] New: ICE: SIGSEGV in htab_hash_string (hashtab.c:847) with -g -fenable-icf-debug for almost any fortran program zsojka at seznam dot cz
@ 2015-03-16  8:37 ` burnus at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2015-03-16  8:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46138

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |burnus at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
-fenable-icf-debug has been removed March 2011 in commit r171037.

Thus, I close this bug as WONTFIX; if the issue can be reproduced with still
existing options in the current GCC version, feel free to reopen


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

end of thread, other threads:[~2015-03-16  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22 16:40 [Bug debug/46138] New: ICE: SIGSEGV in htab_hash_string (hashtab.c:847) with -g -fenable-icf-debug for almost any fortran program zsojka at seznam dot cz
2015-03-16  8:37 ` [Bug debug/46138] " burnus 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).