public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/46102] New: ICE: SIGSEGV in dwarf2out_finish (dwarf2out.c:8490) with -feliminate-dwarf2-dups when using precompiled headers
@ 2010-10-20 17:46 zsojka at seznam dot cz
  2010-12-09 10:40 ` [Bug debug/46102] " zsojka at seznam dot cz
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-20 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: SIGSEGV in dwarf2out_finish (dwarf2out.c:8490)
                    with -feliminate-dwarf2-dups when using precompiled
                    headers
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


----- testcase.H -----
/* NOTHING */
----------------------
----- testcase.C -----
#include "testcase.H"
int i;
----------------------

Generate files:
echo "" > testcase.H
echo '#include "testcase.H"' > testcase.C
echo 'int i;' >> testcase.C

Compile:
(testcase.H can be compiled with -feliminate-dwarf2-dups, it still fails)
$ gcc -g testcase.H
$ gcc -g testcase.C -feliminate-dwarf2-dups
testcase.C:2:6: 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:
==21702== Invalid read of size 8
==21702==    at 0x74AB61: dwarf2out_finish (dwarf2out.c:8490)
==21702==    by 0x9C6A15: toplev_main (toplev.c:961)
==21702==    by 0x658ABBC: (below main) (in /lib64/libc-2.11.2.so)
==21702==  Address 0x20 is not stack'd, malloc'd or (recently) free'd
==21702== 
testcase.C:2:6: 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:
r165719 - crash
r158095 - crash
r153685 - crash
4.1.2, 4.2.4, 4.3.5, 4.4.5 - crash


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

end of thread, other threads:[~2021-08-25 19:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 17:46 [Bug debug/46102] New: ICE: SIGSEGV in dwarf2out_finish (dwarf2out.c:8490) with -feliminate-dwarf2-dups when using precompiled headers zsojka at seznam dot cz
2010-12-09 10:40 ` [Bug debug/46102] " zsojka at seznam dot cz
2011-01-03 19:58 ` [Bug debug/46102] [4.3/4.4/4.5/4.6 Regression] " rguenth at gcc dot gnu.org
2011-01-21 11:00 ` jakub at gcc dot gnu.org
2011-02-03  8:39 ` jakub at gcc dot gnu.org
2011-06-27 14:45 ` [Bug debug/46102] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2012-03-13 14:27 ` [Bug debug/46102] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
2012-07-02 11:05 ` rguenth at gcc dot gnu.org
2013-04-12 15:17 ` [Bug debug/46102] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2014-06-12 13:46 ` [Bug debug/46102] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:29 ` [Bug debug/46102] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-02-18 23:35 ` aldyh at gcc dot gnu.org
2015-02-19 15:08 ` aldyh at gcc dot gnu.org
2015-02-19 16:45 ` aldyh at gcc dot gnu.org
2015-02-26 16:34 ` aldyh at gcc dot gnu.org
2015-02-26 16:39 ` aldyh at gcc dot gnu.org
2021-08-25 19:52 ` pinskia 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).