public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947
@ 2010-11-08 23:01 marc.glisse at normalesup dot org
2010-11-08 23:14 ` [Bug tree-optimization/46383] [4.6 Regression] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: marc.glisse at normalesup dot org @ 2010-11-08 23:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46383
Summary: ICE: in get_binfo_at_offset, at tree.c:10947
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: marc.glisse@normalesup.org
Created attachment 22338
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22338
testcase
The attached C++ code compiles without optimization or with -O1 but not -O2:
bug.cpp:250:1: internal compiler error: in get_binfo_at_offset, at tree.c:10947
component chosen randomly as usual.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46383] [4.6 Regression] ICE: in get_binfo_at_offset, at tree.c:10947
2010-11-08 23:01 [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947 marc.glisse at normalesup dot org
@ 2010-11-08 23:14 ` pinskia at gcc dot gnu.org
2010-11-09 0:16 ` hjl.tools at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-11-08 23:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46383
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
Summary|ICE: in |[4.6 Regression] ICE: in
|get_binfo_at_offset, at |get_binfo_at_offset, at
|tree.c:10947 |tree.c:10947
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46383] [4.6 Regression] ICE: in get_binfo_at_offset, at tree.c:10947
2010-11-08 23:01 [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947 marc.glisse at normalesup dot org
2010-11-08 23:14 ` [Bug tree-optimization/46383] [4.6 Regression] " pinskia at gcc dot gnu.org
@ 2010-11-09 0:16 ` hjl.tools at gmail dot com
2010-11-11 11:01 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-09 0:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46383
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.11.09 00:16:18
CC| |mjambor at suse dot cz
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-09 00:16:18 UTC ---
It is caused by revision 166192:
http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00078.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46383] [4.6 Regression] ICE: in get_binfo_at_offset, at tree.c:10947
2010-11-08 23:01 [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947 marc.glisse at normalesup dot org
2010-11-08 23:14 ` [Bug tree-optimization/46383] [4.6 Regression] " pinskia at gcc dot gnu.org
2010-11-09 0:16 ` hjl.tools at gmail dot com
@ 2010-11-11 11:01 ` jamborm at gcc dot gnu.org
2010-11-11 12:04 ` jamborm at gcc dot gnu.org
2010-11-11 12:26 ` jamborm at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-11-11 11:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46383
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-11 10:59:55 UTC ---
Patch posted to the mailing list:
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01141.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46383] [4.6 Regression] ICE: in get_binfo_at_offset, at tree.c:10947
2010-11-08 23:01 [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947 marc.glisse at normalesup dot org
` (2 preceding siblings ...)
2010-11-11 11:01 ` jamborm at gcc dot gnu.org
@ 2010-11-11 12:04 ` jamborm at gcc dot gnu.org
2010-11-11 12:26 ` jamborm at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-11-11 12:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46383
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-11 12:04:02 UTC ---
Author: jamborm
Date: Thu Nov 11 12:03:59 2010
New Revision: 166598
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166598
Log:
2010-11-11 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/46383
* ipa-prop.c (compute_complex_assign_jump_func): Ignore negative
offsets.
(compute_complex_ancestor_jump_func): Likewise.
* tree.c (get_binfo_at_offset): Return NULL_TREE if offset is negative.
* testsuite/g++.dg/torture/pr46383.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr46383.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-prop.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46383] [4.6 Regression] ICE: in get_binfo_at_offset, at tree.c:10947
2010-11-08 23:01 [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947 marc.glisse at normalesup dot org
` (3 preceding siblings ...)
2010-11-11 12:04 ` jamborm at gcc dot gnu.org
@ 2010-11-11 12:26 ` jamborm at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-11-11 12:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46383
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC|mjambor at suse dot cz |
Resolution| |FIXED
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-11 12:26:19 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-11 12:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 23:01 [Bug tree-optimization/46383] New: ICE: in get_binfo_at_offset, at tree.c:10947 marc.glisse at normalesup dot org
2010-11-08 23:14 ` [Bug tree-optimization/46383] [4.6 Regression] " pinskia at gcc dot gnu.org
2010-11-09 0:16 ` hjl.tools at gmail dot com
2010-11-11 11:01 ` jamborm at gcc dot gnu.org
2010-11-11 12:04 ` jamborm at gcc dot gnu.org
2010-11-11 12:26 ` jamborm 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).