Bug 56642 - ice in backtrace_dwarf_add
Summary: ice in backtrace_dwarf_add
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 17:57 UTC by David Binderman
Modified: 2013-03-18 11:14 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
gzipped C++ source code (347.59 KB, application/octet-stream)
2013-03-17 17:59 UTC, David Binderman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2013-03-17 17:57:59 UTC
I just tried to compile the package qtwebkit-2.3-0.6.rc1.fc19
on gcc-4.9 trunk dated 20130317 on an AMD x86_64 box.

The compiler said

BUILD/webkit-qtwebkit-23/Source/WTF/wtf/PassRefPtr.h:160:47: internal compiler error: Segmentation fault
     template<typename T> inline PassRefPtr<T> adoptRef(T* p)
                                               ^

Running under valgrind gives

==6025==
==6025== Process terminating with default action of signal 11 (SIGSEGV)
==6025==  General Protection Fault
==6025==    at 0x1154DA3: backtrace_dwarf_add (dwarf.c:1438)
==6025==    by 0x114EE70: backtrace_initialize (elf.c:757)
==6025==    by 0x114D5FB: backtrace_pcinfo (fileline.c:144)
==6025==    by 0x114CECF: unwind (backtrace.c:83)

Preprocessed source code attached. No special flags required.
Comment 1 David Binderman 2013-03-17 17:59:19 UTC
Created attachment 29684 [details]
gzipped C++ source code
Comment 2 Jason Merrill 2013-03-17 20:32:24 UTC
Author: jason
Date: Sun Mar 17 20:32:17 2013
New Revision: 196758

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196758
Log:
	PR c++/17232
	PR c++/56642
	* typeck2.c (abstract_virtuals_error_sfinae): Revert complete_type
	change for now.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c
Comment 3 Richard Biener 2013-03-18 11:14:00 UTC
Fixed.