public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
@ 2012-02-24 19:43 markus at trippelsdorf dot de
2012-02-24 19:47 ` [Bug gcov-profile/52376] " markus at trippelsdorf dot de
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-02-24 19:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Bug #: 52376
Summary: [4.7 regression] ICE in lto_input_tree_ref, at
lto-streamer-in.c:266 while linking LTO-PGO libxul
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: markus@trippelsdorf.de
While linking libxul of a LTO-PGO Firefox build, I get this ICE:
...
In member function ‘HandleComment’:
lto1: internal compiler error: in lto_input_tree_ref, at lto-streamer-in.c:266
Please submit a full bug report,
with preprocessed source if appropriate.
Delta reduction points to a single input object file:
/var/tmp/mozilla-central/moz-build-dir/content/xml/document/src/nsXMLContentSink.o
% c++ -fprofile-use -flto -fno-fat-lto-objects -c -o nsXMLContentSink.o
-I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include
/var/tmp/mozilla-central/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API
-D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES
-DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Linux3.3\" -DOSARCH=Linux
-D_IMPL_NS_LAYOUT -I/var/tmp/mozilla-central/content/xml/document/src
-I/var/tmp/mozilla-central/content/xml/document/src/../../../xsl/document/src
-I/var/tmp/mozilla-central/content/xml/document/src/../../../html/document/src
-I/var/tmp/mozilla-central/content/xml/document/src/../../../../layout/style
-I/var/tmp/mozilla-central/content/xml/document/src/../../../base/src
-I/var/tmp/mozilla-central/content/xml/document/src/../../../xul/content/src
-I/var/tmp/mozilla-central/content/xml/document/src/../../../events/src
-I/var/tmp/mozilla-central/content/xml/document/src/../../../../dom/base
-I/var/tmp/mozilla-central/content/xml/document/src/../../../../caps/include
-I/var/tmp/mozilla-central/xpcom/ds
-I/var/tmp/mozilla-central/content/xml/document/src -I.
-I../../../../dist/include -I../../../../dist/include/nsprpub
-I/var/tmp/mozilla-central/moz-build-dir/dist/include/nspr
-I/var/tmp/mozilla-central/moz-build-dir/dist/include/nss -fPIC -fno-rtti
-pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
-Wno-variadic-macros -Werror=return-type -Wno-long-long -march=native
-Wno-delete-non-virtual-dtor -fpermissive -fno-exceptions -fno-strict-aliasing
-std=gnu++0x -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG
-DTRIMMED -O3 -fomit-frame-pointer -DMOZILLA_CLIENT -include
../../../../mozilla-config.h -MD -MF .deps/nsXMLContentSink.pp
/var/tmp/mozilla-central/content/xml/document/src/nsXMLContentSink.cpp
% c++ -flto nsXMLContentSink.o
In member function ‘HandleComment’:
lto1: internal compiler error: in lto_input_tree_ref, at lto-streamer-in.c:266
Please submit a full bug report,
The error above only happens with "-fprofile-use" and "-fno-fat-lto-objects".
With "-fprofile-use -flto" I get:
...
/var/tmp/mozilla-central/content/xml/document/src/nsXMLContentSink.cpp: In
member function ‘nsXMLContentSink::HandleComment(unsigned short const*)’:
/var/tmp/mozilla-central/content/xml/document/src/nsXMLContentSink.cpp:1195:54:
internal compiler error: in emit_move_insn, at expr.c:3435
But I don't know how to reduce the testcase further, because it depends
on nsXMLContentSink.gcda data.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
@ 2012-02-24 19:47 ` markus at trippelsdorf dot de
2012-02-25 8:42 ` markus at trippelsdorf dot de
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-02-24 19:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-02-24 19:42:43 UTC ---
Created attachment 26745
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26745
nsXMLContentSink.o
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
2012-02-24 19:47 ` [Bug gcov-profile/52376] " markus at trippelsdorf dot de
@ 2012-02-25 8:42 ` markus at trippelsdorf dot de
2012-02-25 9:07 ` markus at trippelsdorf dot de
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-02-25 8:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-02-25 08:06:02 UTC ---
Created attachment 26750
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26750
unreduced testcase
% c++ -O2 -fprofile-use -c -fPIC -fno-exceptions -std=gnu++0x
nsXMLContentSink.ii
/var/tmp/mozilla-central/content/xml/document/src/nsXMLContentSink.cpp: In
member function ‘virtual nsresult nsXMLContentSink::HandleComment(const
PRUnichar*)’:
/var/tmp/mozilla-central/content/xml/document/src/nsXMLContentSink.cpp:1195:87:
internal compiler error: in emit_move_insn, at expr.c:3435
Please submit a full bug report,
with preprocessed source if appropriate.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
2012-02-24 19:47 ` [Bug gcov-profile/52376] " markus at trippelsdorf dot de
2012-02-25 8:42 ` markus at trippelsdorf dot de
@ 2012-02-25 9:07 ` markus at trippelsdorf dot de
2012-02-27 8:25 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-02-25 9:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-02-25 08:42:06 UTC ---
Started with:
1a3c6423a47657cd5bd9e5b2c6a2099da37a8dd4 is the first bad commit
commit 1a3c6423a47657cd5bd9e5b2c6a2099da37a8dd4
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Feb 23 14:43:43 2012 +0000
PR tree-optimization/52019
* ipa-split.c (find_return_bb, find_retval, visit_bb): Ignore
CLOBBER stmts.
* gcc.dg/tree-ssa/ipa-split-6.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184508
138bc75d-0d04-0410-961f-82ee72b054a4
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (2 preceding siblings ...)
2012-02-25 9:07 ` markus at trippelsdorf dot de
@ 2012-02-27 8:25 ` jakub at gcc dot gnu.org
2012-02-27 8:47 ` markus at trippelsdorf dot de
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-27 8:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-02-27
Ever Confirmed|0 |1
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-27 08:12:29 UTC ---
Please attach the corresponding *.gcda file.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (3 preceding siblings ...)
2012-02-27 8:25 ` jakub at gcc dot gnu.org
@ 2012-02-27 8:47 ` markus at trippelsdorf dot de
2012-02-27 9:23 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-02-27 8:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-02-27 08:44:56 UTC ---
(In reply to comment #4)
> Please attach the corresponding *.gcda file.
It's part of the "unreduced testcase" tar-ball.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (4 preceding siblings ...)
2012-02-27 8:47 ` markus at trippelsdorf dot de
@ 2012-02-27 9:23 ` rguenth at gcc dot gnu.org
2012-02-27 9:29 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-27 9:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug gcov-profile/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (5 preceding siblings ...)
2012-02-27 9:23 ` rguenth at gcc dot gnu.org
@ 2012-02-27 9:29 ` jakub at gcc dot gnu.org
2012-02-27 9:43 ` [Bug tree-optimization/52376] " jakub at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-27 9:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-27 09:28:11 UTC ---
Mine obviously.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (6 preceding siblings ...)
2012-02-27 9:29 ` jakub at gcc dot gnu.org
@ 2012-02-27 9:43 ` jakub at gcc dot gnu.org
2012-02-27 10:46 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-27 9:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-27 09:40:30 UTC ---
Created attachment 26760
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26760
gcc47-pr52376.patch
Untested fix.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (7 preceding siblings ...)
2012-02-27 9:43 ` [Bug tree-optimization/52376] " jakub at gcc dot gnu.org
@ 2012-02-27 10:46 ` rguenth at gcc dot gnu.org
2012-02-27 15:07 ` jakub at gcc dot gnu.org
2012-02-27 15:29 ` jakub at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-27 10:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-27 10:42:03 UTC ---
Looks good to me.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (8 preceding siblings ...)
2012-02-27 10:46 ` rguenth at gcc dot gnu.org
@ 2012-02-27 15:07 ` jakub at gcc dot gnu.org
2012-02-27 15:29 ` jakub at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-27 15:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-27 15:04:33 UTC ---
Author: jakub
Date: Mon Feb 27 15:04:28 2012
New Revision: 184600
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184600
Log:
PR tree-optimization/52376
* ipa-split.c (split_function): Ignore CLOBBER stmts.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-split.c
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/52376] [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
` (9 preceding siblings ...)
2012-02-27 15:07 ` jakub at gcc dot gnu.org
@ 2012-02-27 15:29 ` jakub at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-27 15:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52376
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-27 15:22:18 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-02-27 15:22 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 19:43 [Bug gcov-profile/52376] New: [4.7 regression] ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul markus at trippelsdorf dot de
2012-02-24 19:47 ` [Bug gcov-profile/52376] " markus at trippelsdorf dot de
2012-02-25 8:42 ` markus at trippelsdorf dot de
2012-02-25 9:07 ` markus at trippelsdorf dot de
2012-02-27 8:25 ` jakub at gcc dot gnu.org
2012-02-27 8:47 ` markus at trippelsdorf dot de
2012-02-27 9:23 ` rguenth at gcc dot gnu.org
2012-02-27 9:29 ` jakub at gcc dot gnu.org
2012-02-27 9:43 ` [Bug tree-optimization/52376] " jakub at gcc dot gnu.org
2012-02-27 10:46 ` rguenth at gcc dot gnu.org
2012-02-27 15:07 ` jakub at gcc dot gnu.org
2012-02-27 15:29 ` jakub 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).