public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59266] New: Segmentation fault in ipa-devirt.c (record_target_from_binfo) for Inkscape
@ 2013-11-23 18:04 marxin.liska at gmail dot com
2013-11-24 22:50 ` [Bug c++/59266] " reichelt at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: marxin.liska at gmail dot com @ 2013-11-23 18:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59266
Bug ID: 59266
Summary: Segmentation fault in ipa-devirt.c
(record_target_from_binfo) for Inkscape
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin.liska at gmail dot com
Hello,
I encountered a bug connected to combining -fprofile-generate and -O2.
Command line:
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fopenmp -I/usr/include/ImageMagick
-I/usr/include/libwpg-0.2 -I/usr/include/libwpd-0.9 -I/usr/include/poppler
-I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm
-DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4
-I/usr/lib64/gdkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0
-I/usr/lib64/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15
-I/usr/include/libdrm -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtkmm-2.4
-I/usr/lib64/gtkmm-2.4/include -I/usr/include/atkmm-1.6
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/libxml2
-I/usr/include/gtkspell-2.0 -I../cxxtest -I./bind/javainc
-I./bind/javainc/linux -Werror=format-security -DG_DISABLE_SINGLE_INCLUDES
-Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter
-g -O2 -fopenmp -MT dom/svgreader.o -MD -MP -MF $depbase.Tpo -c -o
dom/svgreader.o dom/svgreader.cpp &&mv -f $depbase.Tpo $depbase.Po
-fdump-ipa-all --verbose
cc1plus: internal compiler error: in record_target_from_binfo, at
ipa-devirt.c:664
0x7f0ae0 record_target_from_binfo
../../gcc/ipa-devirt.c:664
0x7f09cf record_target_from_binfo
../../gcc/ipa-devirt.c:684
0x7f09cf record_target_from_binfo
../../gcc/ipa-devirt.c:684
0x7f09cf record_target_from_binfo
../../gcc/ipa-devirt.c:684
0x7f0b5e possible_polymorphic_call_targets_1
../../gcc/ipa-devirt.c:708
0x7f0ba6 possible_polymorphic_call_targets_1
../../gcc/ipa-devirt.c:714
0x7f0ba6 possible_polymorphic_call_targets_1
../../gcc/ipa-devirt.c:714
0x7f23f7 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**)
../../gcc/ipa-devirt.c:1295
0x6da626 possible_polymorphic_call_targets
../../gcc/ipa-utils.h:114
0x6da626 walk_polymorphic_call_targets
../../gcc/cgraphunit.c:858
0x6da626 analyze_functions
../../gcc/cgraphunit.c:1031
0x6db2f0 finalize_compilation_unit()
../../gcc/cgraphunit.c:2271
0x58bdd6 cp_write_global_declarations()
../../gcc/cp/decl2.c:4431
I can't create any dumps by adding -fdump-ipa-all. If you advise, I can create
more detail dump.
Thanks,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/59266] Segmentation fault in ipa-devirt.c (record_target_from_binfo) for Inkscape
2013-11-23 18:04 [Bug c++/59266] New: Segmentation fault in ipa-devirt.c (record_target_from_binfo) for Inkscape marxin.liska at gmail dot com
@ 2013-11-24 22:50 ` reichelt at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: reichelt at gcc dot gnu.org @ 2013-11-24 22:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59266
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |reichelt at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Looks like a duplicate of PR59226.
*** This bug has been marked as a duplicate of bug 59226 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-24 22:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23 18:04 [Bug c++/59266] New: Segmentation fault in ipa-devirt.c (record_target_from_binfo) for Inkscape marxin.liska at gmail dot com
2013-11-24 22:50 ` [Bug c++/59266] " reichelt 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).