public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/46216] New: ice: SSA corruption @ 2010-10-28 20:13 dcb314 at hotmail dot com 2010-10-28 21:31 ` [Bug tree-optimization/46216] [4.6 Regression] ICE: " hjl.tools at gmail dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: dcb314 at hotmail dot com @ 2010-10-28 20:13 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216 Summary: ice: SSA corruption Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: dcb314@hotmail.com Created attachment 22195 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22195 C source code I just tried to compile package embryo-0.9.9.49898 with the latest 4.6 snapshot 20101023 on a Fedora Linux box. The compiler said Unable to coalesce ssa_names 16 and 188 which are marked as MUST COALESCE. cip_16(ab) and cip_188(ab) embryo_amx.c: In function 'embryo_program_run': embryo_amx.c:1048:1: internal compiler error: SSA corruption Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Source code attached. Flag -O2 required. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46216] [4.6 Regression] ICE: SSA corruption 2010-10-28 20:13 [Bug c/46216] New: ice: SSA corruption dcb314 at hotmail dot com @ 2010-10-28 21:31 ` hjl.tools at gmail dot com 2010-10-29 13:00 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: hjl.tools at gmail dot com @ 2010-10-28 21:31 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.10.28 21:31:02 CC| |rguenth at gcc dot gnu.org Target Milestone|--- |4.6.0 Summary|ice: SSA corruption |[4.6 Regression] ICE: SSA | |corruption Ever Confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-28 21:31:02 UTC --- It is caused by revision 161655: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00006.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46216] [4.6 Regression] ICE: SSA corruption 2010-10-28 20:13 [Bug c/46216] New: ice: SSA corruption dcb314 at hotmail dot com 2010-10-28 21:31 ` [Bug tree-optimization/46216] [4.6 Regression] ICE: " hjl.tools at gmail dot com @ 2010-10-29 13:00 ` rguenth at gcc dot gnu.org 2010-11-02 15:11 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-10-29 13:00 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-29 12:59:55 UTC --- Mine. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46216] [4.6 Regression] ICE: SSA corruption 2010-10-28 20:13 [Bug c/46216] New: ice: SSA corruption dcb314 at hotmail dot com 2010-10-28 21:31 ` [Bug tree-optimization/46216] [4.6 Regression] ICE: " hjl.tools at gmail dot com 2010-10-29 13:00 ` rguenth at gcc dot gnu.org @ 2010-11-02 15:11 ` rguenth at gcc dot gnu.org 2010-11-02 16:59 ` rguenth at gcc dot gnu.org 2010-11-03 9:58 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-11-02 15:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216 --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 15:11:16 UTC --- Reduced testcase: typedef int Embryo_Cell; int embryo_program_run(Embryo_Cell *cip) { unsigned char op; Embryo_Cell offs; static const void *switchtable[256] = { &&SWITCHTABLE_EMBRYO_OP_NONE, &&SWITCHTABLE_EMBRYO_OP_LOAD_PRI }; for (;;) { op = *cip++; while (1) { goto *switchtable[op]; SWITCHTABLE_EMBRYO_OP_LOAD_PRI: offs = *(Embryo_Cell *)cip++; SWITCHTABLE_EMBRYO_OP_NONE: break; }; } return offs; } ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46216] [4.6 Regression] ICE: SSA corruption 2010-10-28 20:13 [Bug c/46216] New: ice: SSA corruption dcb314 at hotmail dot com ` (2 preceding siblings ...) 2010-11-02 15:11 ` rguenth at gcc dot gnu.org @ 2010-11-02 16:59 ` rguenth at gcc dot gnu.org 2010-11-03 9:58 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-11-02 16:59 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216 --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 16:58:47 UTC --- Author: rguenth Date: Tue Nov 2 16:58:40 2010 New Revision: 166203 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166203 Log: 2010-11-02 Richard Guenther <rguenther@suse.de> PR tree-optimization/46216 * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): Check if we can propagate from a POINTER_PLUS_EXPR before doing so. * gcc.dg/torture/pr46216.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr46216.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-forwprop.c ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/46216] [4.6 Regression] ICE: SSA corruption 2010-10-28 20:13 [Bug c/46216] New: ice: SSA corruption dcb314 at hotmail dot com ` (3 preceding siblings ...) 2010-11-02 16:59 ` rguenth at gcc dot gnu.org @ 2010-11-03 9:58 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-11-03 9:58 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 09:58:38 UTC --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-03 9:58 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-10-28 20:13 [Bug c/46216] New: ice: SSA corruption dcb314 at hotmail dot com 2010-10-28 21:31 ` [Bug tree-optimization/46216] [4.6 Regression] ICE: " hjl.tools at gmail dot com 2010-10-29 13:00 ` rguenth at gcc dot gnu.org 2010-11-02 15:11 ` rguenth at gcc dot gnu.org 2010-11-02 16:59 ` rguenth at gcc dot gnu.org 2010-11-03 9:58 ` rguenth 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).