public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
@ 2011-01-13 9:07 pluto at agmk dot net
2011-01-13 10:57 ` [Bug tree-optimization/47276] [4.6 Regression] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2011-01-13 9:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
Summary: ICE in function_and_variable_visibility, at ipa.c:857
during compiling glibc.
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pluto@agmk.net
/local/devel/toolchain46/x86_64-gnu-linux.host64/bin/x86_64-gnu-linux-gcc \
-c syslog.i -std=gnu99 -fgnu89-inline -O2 -fmerge-all-constants
-fno-strict-aliasing \
-fwrapv -pipe -fPIC -fexceptions -o /dev/null
../sysdeps/unix/sysv/linux/syslog.c:10:0: internal compiler error: in
function_and_variable_visibility, at ipa.c:857
afaics there's no weakref like in PR47190 and PR47193.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
@ 2011-01-13 10:57 ` rguenth at gcc dot gnu.org
2011-01-13 12:49 ` pluto at agmk dot net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-13 10:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011.01.13 10:55:50
Component|other |tree-optimization
Target Milestone|--- |4.6.0
Summary|ICE in |[4.6 Regression] ICE in
|function_and_variable_visib |function_and_variable_visib
|ility, at ipa.c:857 during |ility, at ipa.c:857 during
|compiling glibc. |compiling glibc.
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-13 10:55:50 UTC ---
Please attach preprocessed source.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
2011-01-13 10:57 ` [Bug tree-optimization/47276] [4.6 Regression] " rguenth at gcc dot gnu.org
@ 2011-01-13 12:49 ` pluto at agmk dot net
2011-01-13 12:58 ` pluto at agmk dot net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2011-01-13 12:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
--- Comment #2 from Pawel Sikora <pluto at agmk dot net> 2011-01-13 11:44:10 UTC ---
Created attachment 22958
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22958
testcase.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
2011-01-13 10:57 ` [Bug tree-optimization/47276] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-01-13 12:49 ` pluto at agmk dot net
@ 2011-01-13 12:58 ` pluto at agmk dot net
2011-01-13 13:38 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2011-01-13 12:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
--- Comment #3 from Pawel Sikora <pluto at agmk dot net> 2011-01-13 12:49:29 UTC ---
git bisect identified this commit.
[87ac7f211c08dba84adbd23b1013ef20aa3627f0] PR tree-optmization/46469
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
` (2 preceding siblings ...)
2011-01-13 12:58 ` pluto at agmk dot net
@ 2011-01-13 13:38 ` rguenth at gcc dot gnu.org
2011-01-13 18:08 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-13 13:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
` (3 preceding siblings ...)
2011-01-13 13:38 ` rguenth at gcc dot gnu.org
@ 2011-01-13 18:08 ` hubicka at gcc dot gnu.org
2011-01-15 15:50 ` hubicka at gcc dot gnu.org
2011-01-15 16:00 ` hubicka at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-13 18:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-13 17:16:00 UTC ---
I am testing the following patch. We are overactive on checking aliases of
aliases
Index: ipa.c
===================================================================
--- ipa.c (revision 168753)
+++ ipa.c (working copy)
@@ -847,6 +847,8 @@ function_and_variable_visibility (bool w
if ((node = cgraph_node_for_asm (p->target)) != NULL
&& !DECL_EXTERNAL (node->decl))
{
+ if (!node->analyzed)
+ continue;
/* Weakrefs alias symbols from other compilation unit. In the case
the destination of weakref became available because of LTO, we
must
mark it as needed. */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
` (4 preceding siblings ...)
2011-01-13 18:08 ` hubicka at gcc dot gnu.org
@ 2011-01-15 15:50 ` hubicka at gcc dot gnu.org
2011-01-15 16:00 ` hubicka at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-15 15:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-15 15:45:00 UTC ---
Author: hubicka
Date: Sat Jan 15 15:44:56 2011
New Revision: 168844
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168844
Log:
PR tree-optimization/47276
* ipa.c (function_and_variable_visibility): Do not try to mark alias
declarations as needed.
* gcc.dg/pr47276.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr47276.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/47276] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
` (5 preceding siblings ...)
2011-01-15 15:50 ` hubicka at gcc dot gnu.org
@ 2011-01-15 16:00 ` hubicka at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-15 16:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47276
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-15 15:50:24 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-01-15 15:50 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-13 9:07 [Bug other/47276] New: ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc pluto at agmk dot net
2011-01-13 10:57 ` [Bug tree-optimization/47276] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-01-13 12:49 ` pluto at agmk dot net
2011-01-13 12:58 ` pluto at agmk dot net
2011-01-13 13:38 ` rguenth at gcc dot gnu.org
2011-01-13 18:08 ` hubicka at gcc dot gnu.org
2011-01-15 15:50 ` hubicka at gcc dot gnu.org
2011-01-15 16:00 ` hubicka 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).