public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "janis at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/42246] New: ICE in init_seqno for 186.crafty with sel-sched Date: Tue, 01 Dec 2009 23:40:00 -0000 [thread overview] Message-ID: <bug-42246-4503@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2262 bytes --] GCC trunk gets an internal compiler error when building SPEC CPU2000 test 186.crafty with "-O2 -fselective-scheduling -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" on powerpc-linux, as demonstrated by this minimized testcase: ----------------------------------------------------------------- typedef enum { empty = 0, pawn = 1, knight = 2, king = 3, bishop = 5, rook = 6, queen = 7 } PIECE; extern int p_values[15]; extern int *last[65]; int Quiesce (int alpha, int beta, int wtm, int ply) { register int initial_alpha, value, delta; register int *goodmv, *movep, moves = 0, *sortv, temp; for (movep = last[ply - 1]; movep < last[ply]; movep++) if (p_values[(((*movep) >> 15) & 7) + 7] + p_values[(((*movep) >> 18) & 7) + 7] >= delta) { register int done; register int *end = last[ply - 1] + moves - 1; do { done = 1; movep = last[ply - 1]; for (; movep < end; movep++, sortv++) if (*sortv < *(sortv + 1)) { *(movep + 1) = temp; done = 0; } } while (!done); } } ----------------------------------------------------------------- elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -O2 -fselective-scheduling -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -c bug.c bug.c: In function Quiesce: bug.c:32:1: internal compiler error: in init_seqno, at sel-sched.c:6722 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. The failure started with this large patch: http://gcc.gnu.org/viewcvs?view=rev&rev=145494 r145494 | rguenth | 2009-04-03 10:24:28 +0000 (Fri, 03 Apr 2009) -- Summary: ICE in init_seqno for 186.crafty with sel-sched Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42246
next reply other threads:[~2009-12-01 23:40 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-01 23:40 janis at gcc dot gnu dot org [this message] 2009-12-04 18:01 ` [Bug rtl-optimization/42246] " amonakov at gcc dot gnu dot org 2009-12-24 8:32 ` abel at gcc dot gnu dot org 2010-01-06 18:48 ` janis at gcc dot gnu dot org 2010-01-06 18:52 ` janis at gcc dot gnu dot org 2010-01-11 14:35 ` abel at gcc dot gnu dot org 2010-01-14 10:41 ` amonakov at gcc dot gnu dot org 2010-01-14 11:22 ` abel at gcc dot gnu dot org 2010-01-14 11:23 ` abel at gcc dot gnu dot org 2010-02-07 3:52 ` hjl dot tools at gmail dot com 2010-08-24 8:59 ` abel at gcc dot gnu dot org 2010-08-24 9:08 ` abel at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-42246-4503@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).